Hi,
I am interfacing LTC2631 to my PIC1825K40 MCU. I want to get 0.8V as output of DAC. As per my understanding of the datasheet, I first have to set the DAC to select internal reference mode, and then I have to write 0x051E to the DAC register. However, I do not understand how to set the internal reference mode. I did the following:
Start condition
Send I2C target address + Write bit
0x60 (Command code to set internal reference)
0x00 (I sent this value as MSB and LSB data bytes because I was not sure what must be sent)
Stop condition
To set the voltage value, this is the sequenxe I followed
Start condition
Send I2C target address + Write bit
0x30 (Write and update DAC register command)
0x51E0 (Digital value corresponding to 0.8V)
Stop condition
The issue is that, I am not able to see the voltage output at the DAC. I am getting a voltage ~230mV sometimes, and this does not make sense. It would be a great help if someone could help with this.
Thanks in advance,
Neetha