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
  • Hi,

    There should be no SDIN transitions during falling edge of SCLK as this is the time when the data is sampled.

    To add, please do configure the DAC properly using the steps in page 24 of the datasheet. Thanks!

    Cheers,

    Ivan

Reply
  • Hi,

    There should be no SDIN transitions during falling edge of SCLK as this is the time when the data is sampled.

    To add, please do configure the DAC properly using the steps in page 24 of the datasheet. Thanks!

    Cheers,

    Ivan

Children
No Data