Hello,
I'm having issues with programming the AD9837 signal generator. It doesn't seem like the device is reacting to my commands at all. Sometimes it manages to output a 516KHz sine wave, sometimes nothing - like in this case.
I've been stuck for quite a while, so any suggestions or ideas are welcome.
Thank you in advance.
---
For testing purposes, I'm trying to generate a 100MHz sine wave.
CH1 = FSYNC
CH2 = SDATA
CH3 = SCLK
CH4 = VOUT
Here's the commands I use:
0x2100 - Load 28 bits and reset mode on
0x468D - Set FREQ0 to 100Hz. I'm using the 16MHz clock on the dev board (verified with oscilloscope). 100Hz * pow(2,28)/16 000 000 = 0x468D
0x4000 - Remaining bits to 0
0xC000 - Phase register 0
0x2000 - Exit reset