Hi,
I am interfacing LTC2631 with 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 -> Send 0x60 (Command code to set internal reference) -> Send 0x0000 (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 sequence 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. I am also not getting the 1.25V at REF pin.
It would be a great help if someone could help with this.
Thanks & Regards,
Neetha