Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by napzap

  1. N

    Using Arduino to Send Data to AD5781 DAC Register

    Yes, I know about the evaluation software, and in fact also have the SDP-B board which is used to operate the evaluation software and control the DAC. However, I did not find it useful for what I'm working on, and therefore went with the more versatile approach of using an Arduino to send data...
  2. N

    Using Arduino to Send Data to AD5781 DAC Register

    As an update, I just tested the code I most recently posted here, and I am still not getting any output from the VOUT pin on the AD5781 EVAL board. I've double checked with the datasheet and I'm pretty sure now that I'm initializing the DAC and writing to the DAC register correctly. I've also...
  3. N

    Using Arduino to Send Data to AD5781 DAC Register

    Yes, sorry about that - I assumed that it was clear from my comments on the code that pin 7 on the Arduino UNO board is connected to the LDAC pin on the AD5781 EVAL, and so on for the other pins. Is there something I'm missing here? What schematic are you referring to, otherwise?
  4. N

    Using Arduino to Send Data to AD5781 DAC Register

    Thank you for catching that! I have updated the code (below) to include the enablement of the AD5781 by writing to the control register. Can you please review the code and let me know if I have done this correctly? Thanks. #include <SPI.h> // SYNC is called SS here, according to SPI library...
  5. N

    Using Arduino to Send Data to AD5781 DAC Register

    Hello, Thanks for your reply. I am using the Arduino Uno board. Would my chosen pinout be incorrect in this case? I'm not sure I understand. Also, for reference, I am using the AD5781 evaluation board which has pins that allow for SPI communication. Neal
  6. N

    Using Arduino to Send Data to AD5781 DAC Register

    Hello, Just checking in again -- can you see any errors in my code above, based on what I am trying to do here, as described in the former posts in this thread? Thanks, Neal
  7. N

    Using Arduino to Send Data to AD5781 DAC Register

    Thanks, and okay I am copying my code below: #include <SPI.h> // SYNC is called SS here, according to SPI library terminology const int LDAC = 7; // pin 7 const int CLR = 6; // pin 6 const int RESET = 8; // pin 8 void setup() { pinMode(SS,OUTPUT); pinMode(LDAC, OUTPUT); pinMode(CLR...
  8. N

    Using Arduino to Send Data to AD5781 DAC Register

    Thanks for catching that! However, it looks like I just made that error in the timing diagram I drew; it is correct in the Arduino code. Are you able to recognize any other mistakes here with my logic? Am I not properly updating the output of the DAC based on the data sent to the DAC register...
  9. N

    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...
  10. N

    How to Program AD 5781 DAC?

    I would like to generate an arbitrary waveform, say a square wave or sine wave, using the AD 5781 DAC. How can I program the DAC in order to do this? I'm not sure where to start... Thank you for the help.

Part and Inventory Search

Back
Top