Using Arduino to Send Data to AD5781 DAC Register

Hello,

 

I am using an Arduino to send data to the AD5781 DAC register (I have the AD5781 evaluation board) -- specifically, in the big picture, I want to send data continuously from the Arduino to the DAC so that I can get a desired smooth waveform output from the DAC. However, I cannot seem to get an output from the DAC, and so I assume that there must be something wrong with the way I am interfacing the Arduino and DAC.

 

In order to help pinpoint the problem, I have drawn a timing diagram (attached) based on what I am trying to do and what I understand should be the proper method to communicate with the DAC register in order to write data to it from the Arduino.

 

Please let me know if you see any flaws in my logic / timing diagram / implementation.

 

For reference, here is a link to the AD5781 datasheet: http://www.analog.com/media/en/techn...ets/AD5781.pdf

 

Thank you for the help!

 

Neal

DAC-ArduinoTimingDiagramSPOT.pdf
Parents
  • Hello again,

    So I've done as you suggested, but I am still not getting an output from the VOUT pin on the AD5781 EVAL board. I'm very stuck and was wondering if you could please take a look at my code below to determine where I might be going wrong? Or if the code looks correct, if I'm missing something else here?

    Thanks,

    Neal

Reply
  • Hello again,

    So I've done as you suggested, but I am still not getting an output from the VOUT pin on the AD5781 EVAL board. I'm very stuck and was wondering if you could please take a look at my code below to determine where I might be going wrong? Or if the code looks correct, if I'm missing something else here?

    Thanks,

    Neal

Children
No Data