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.

DAC60501: SPI communication problem

Part Number: DAC60501

Tool/software:

Hello TI community,

I am having problems with the SPI communication between the DAC60501 and my MCU, I hope someone of you can find my mistake.

The structure I use is [8-bit command][MSB data][LSB data], shift data << 4 because of left agil and 12-bit version. The start voltage is 2.5V because of the mid scale version (DAC60501M).

The first thing I tried was to set the voltage to 1.25V, the start up gain is 2x of the internal reference voltage (2.5V) -> 5V scale, so my suggestion is a DAC value of 1024 would change the 2.5V to 1.25V. A look at the datasheet tells me that the command should be 0x08 for the DAC data register. Here is the output of the SPI:

But the voltage stays at 2.5V...

after hours of trying, I decided to use other commands and to my surprise, with command 0x02, which should be the SYNC register, I got a change to ~1.25V at the output:

Can anyone tell me what is wrong with my SPI communication or what I have missed with the register/command mapping?

Thanks in advance for your assistance.