I have bought the AD9957 eval board recently.It is a little difficult to learn by myself. Are there any example code?
I don't have any AD9957 example code, but the AD9910 is a very similiar device as far as programming and the register layout. The AD9910 source code for evaluation board software GUI is
on the ADI website. If you want that go to the AD9910 product page and then click the Evaluation Boards & Development Kits to download the source code.
The following is basic protocol for programming the AD9957.
1) Power up the device and apply the REF CLK signal.
2) Issue a master reset. The master reset places the device in a known state. See the register map in the data sheet for default values.
3) If you intend to use the internal REF CLK multiplier (PLL), I would recommend enabling the PLL first. So write to the appropiate register to enable and let settle. Note, after writing to any register, an IO_UPDATE must be sent to make the data active.
4) Write to all other desired registers. You can sent an IO_UPDATE after every register write or wait til the end of all register programming and then send the IO_UPDATE.
Thank you very much! I will make a try based on your advise. I think it is easy to make AD9957 work.But it is maybe a little hard to make full use of all the devices on the eval borad especially the USB device for me.
Retrieving data ...