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.

LP8501: I2C Reset / Recover for stuck bus condition

Genius 17165 points
Part Number: LP8501

Hi all

My customer is using the LP8501 and they want to verify what measure they can take in case the I2C-bus gets stuck.

Is toggling the EN-pin a way to reset the bus ?

Morover my customer wants us to test and document any suggested measure.

Thank you for working on this request.

Best regards

Ueli

  • Hi Ueli,

    Toggling EN pin can make IC into STANDBY state. All functional block would disabled. Difference with RESET is that registers would not be reset. I think if this stuck issue was caused by I2C interface, toggling EN pin should help. 

    Can customer advice an example of I2C stuck issue? Since it cannot be duplicated on EVM board, I am not sure what kind of test customer want. 

  • Hi Hardy

    Thank you for the quick reply.

    I pointed the customer to this forum post and he might come back to provide more detailed information in the forum.

    Best regards

    Ueli

  • Hi Hardy,

    sorry for the late reply.

    I'm trying to gather more information from firmware engineers on situations where the I2C was reported to be stuck when communicating with the LP8501.

    But not sure if the firmware engineers have a lot of details to share and when they will be able to dig into this.

    I imagine the I2C bus could get stuck in case of a missing clock (as in the example here) or if the master is reset during a transaction (the slave will be stuck waiting for the next clock event to send or receive a bit, not listening to any start condition).

    Do you think any of the two example above could lead the I2C of the LP8501 to get stuck? If yes, would it be possible to duplicate this on an EVM board to confirm that toggling the EN pin will unblock the I2C bus?

    Best Regards

    Fabiano

  • Hi Fabiano,

    I think in these cases that MCU sent a wrong format I2C command to device so the device cannot response. The should not be a stuck issue. For such data transaction fault issues, toggling EN pin or re-power VCC could both help to reset data in interface block and solve the problem.