AnsweredAssumed Answered

how to write command for AD9837

Question asked by pawanvulichi on May 28, 2017
Latest reply on Jul 4, 2017 by bsiegel

hello , i am working on AD9837 & my board is nrf52 dk.At the time of testing I am sending spi commands to AD9837 but it not works well.Can any one help me to resolve the issue.

Here the AD9837 circuit contains 16Mhz crystal oscillator. The command for sine wave generation is

0x0100  (For Reset)

0x2100   (for control register)

0x5A37  (for LSB for 16MHZ crystal i.e.,  (400*2^28)/(16000000)=6711=0x1A37,

                      by set DB15 and DB14 are set to 0 and 1 respectively then it is 5A37)

0x4000  (for MSB)

0xC000  (for phase)

0x2000  (for sine wave generation)

 

I am getting error code "Bad Memory Address" csn any one please tell me what is Bad Memory Address is & how to solve this issue.

Outcomes