This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
DAC60004: Issue with DAC output
Part Number: DAC60004
my problem is, i can't connect my DAC4006 with a Arduino Micro over SPI. I have tried to change the output voltage with the code i found here .
In the picture below you can see my measurements of the clock(yellow), MOSI(blue) and MISO(purple). In this picture i was trying to read out the status register of the DAC60004. Since the Arduino can only send 1 byte SPI information, i am sending 4 bytes one after another, thats why you can see the pauses between the clock-cycles. I was sending the 4 bytes/32 bit (0x1D,0x00,0x00,0x00) to be able to read the status register, followed by 4 dummy bytes to read in the answer of the chip. (In the picture you can only see the first 5 bytes). Note that the MISO line looks very sketchy and is at only about 2 Volts instead of 5V.
Does this chip need a continuous clock signal for the whole 4 bytes?
Should MISO look like this?
Is my schematic wrong?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Uttam Sahu:
In reply to Samuel Harder:
no 8-byte was not a typo, i was sending the 4 byte register followed by 4 dummy bytes to read out the answer, without toggling CS in between. Here are two scope shots. In the left one i was monitoring a 1-byte sequence of the first byte,which was 0x03. On the right side is the transition between the first and the second byte.
Yellow - SCLKPurple - MOSILight Blue - MISO (2V/Division)Blue - CS (2V/Division)
As you can see there is a lot of noise on the CS line, whenever the clock is active. I can also measure this noise between the GND of my Arduino and the GND of my own PCB.
Yes SDO is shared with an ADC. The ADC is powered up, however the CS line of the ADC is tied high.
I reduced the frequency of the SPI signal to 125kHz to get rid of the noise and to get a much cleaner continuous signal.
Sadly I am still not getting anything on my outputs.
I am sending 0x03,0x07,0xD0,0x00, to set a output voltage on channel A.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.