Post Go back to editing

ltc2631 unable to get output

Category: Datasheet/Specs
Product Number: LTC2631

Hi,

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

  • Hi  ,

     will be taking a look at this query. I see that there are other some opened threads with the same query, to avoid confusion, I'll be closing those and focus on this one. Thanks!

    Br,

    Den

  • Hi  

    First, what exact model of the LTC2631 are you using? models would affect the number of bits and internal reference value

    2nd. In your I2C transacttions, are you getting ACK signal from the device?

    For this case I'm assuming you are LTC2631-L due to 1.25V you're seeing at REF pin, and a 12-bit model too. Then you need to write 0x51E0 to the DAC. This consists of 12-bit data + 4bits of don't care at the end. If you look at Figure 3 from the datasheet, that's the proper way of writing the bits to the DAC. This would differ if you use 10- or 8-bit models. 

    Let me know if this solve the issue you are having. 

    Best regards,

    Ian