AnsweredAssumed Answered

ad9913 programming

Question asked by brahman2006 on Jun 11, 2011
Latest reply on Jun 14, 2011 by brahman2006

I need for 9913 programming.  I want to see something on out pin.

code is:

 

DDS_CS_ON; // 0 on 28 pin

DDS_RESET_OFF; //0 on 25 pn

IO_UPDATE_0; /0 on 27 pin

SPI_send(0x3); //FTW programming

SPI_send(0xAA); // bits 0-7

SPI_send(0xBB);// bits 8-15

SPI_send(0xD);// bits 16-23

SPI_send(0x0);// bits 24-31

 

IO_UPDATE_1; //1 on 27 pin

DDS_CS_OFF; //1 on 28 pin

 

SPI is sending MSB first.

But its not working. What is wrong ?

Outcomes