AD9837

Hi
I'm trying to interface my Arduino uno with a AD9837 board to produce a sine wave at 200kHz but I can't seem to get it to work.

I'm using the library and the sample code in the library to test it from the following source:

This is supposed to run a frequency sweep at different shapes (square, sine, triangular) but all I get from the board is a sine wave at 500Hz. ( oscilloscope snapshot attached)
(Could it possibly be the fact that I have the chip on a breadboard instead of connections straight to Arduino?)

I have pins connected the following way:
Fsync- pin 2
Sdata- pin 11
Sclk- pin 13
Vin- 3.3V
Gnd- gnd

If anyone could tell me what I'm doing wrong or give any sort of advice that would be much appreciated.

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Also can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks.. Tom.. :slight_smile: