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.

DAC43608: I2C time out function for abnormal communication.

Part Number: DAC43608
Other Parts Discussed in Thread: LM73,

Hi Expert

My customer need to consider about restart method when I2C communication error.

For example, LM73(Temp sensor) has timeout function for I2C. So, customer plan to use this function.

Do you have any good ideas for the restart method with DAC43608 when I2C communication error?

Software Reset is a reset method that assumes I2C communication is possible. they cannot use this.

Thanks

Muk

  • Hi Mukuno-san,

    The DAC43608 does not feature a RESET pin or this timeout functionality.  If there is a fault on the I2C line, writing a single byte over I2C while keeping SDA high will reset the DAC43608 I2C interface, if you are concerned about only the interface being held in a fault state.  Otherwise, we also have a clear pin (CLR) which will set the DAC to zero code when the pin asserted low.  While this is not a full reset, it would at least bring the analog side into a known state.  

    Thanks,

    Paul

  • Hi Paul-san,

    Customer understanding is, the interface can be reset if SDA is held high for 8 clocks. Is it correct?
    Is there a way to tell if the interface has been reset?

    Thanks

    Muk

  • HI Mukuno-san,

    I do not believe there is a way to know if the interface was reset (as in a flag or status register).  But the purpose of this command is to reset the I2C interface if there is a fault in the master that leaves the DAC in a condition where it is trying to pull-down the SDA line.  For example, consider a case where the master is reading a byte from the DAC slave but the master stops SCL after only 4 bits.  This would leave the slave waiting for the remaining SCL pulses while holding SDA. 

    This condition would prevent the master from communicating with any other devices on the bus after it recovers.  The reset interface command is useful in this case.

    Thanks,

    Paul