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.

LP5018: I2C communication

Part Number: LP5018

Hi,

I2C process is as following

<SDA communication flow> 

1) Start bit + chip address transmission from MCU to LP5018

2) Send ACK to the MCU from LP5018

3) Register address transmission from MCU to LP5018

4) LP5018 sends ACK to MCU

5) Data transmission from MCU to LP5018

6) LP5018 sends ACK to MCU

7) Send STOP bit from MCU to LP5018

Question 1)

Basically, if the MCU cannot receive 2), 4) and 6) normally, our customer are considering to reset EN of LP5018 to Lo at thire system.

However if the ACK of 4) or 6) cannot be received at MCU, is LP5018 possible to communicate normally if the MCU continues to transmit data and addresses from 1) without resetting EN of LP5018?

Question 2)

If LP5018 is affected by noise, what kind of behavior is it expected?

Best Regards,

Koji Hamamoto

  • Hi Koji,

    1. If the device do not answer the 2nd or 3rd ACK and MCU continue transmit data from beginning, LP50 would mistake the following data as register address and have mistakes.
    I think you could add a STOP bit when no 2nd or 3rd ACK received, then transmit data from 1).

    2. Where is noise you mean? Place capacitor as close to VCC and VCAP as possible can help.