Skip to main content
Visitor II
May 19, 2021
Solved

If Hang up I2C interface of the LIS2DH

  • May 19, 2021
  • 1 reply
  • 921 views

If Hang up I2C interface of the LIS2DH, How can i reset the device except VDD OFF/ON operation?

I am considering to send 9-clocks to the SCL of the LIS2DH.

    This topic has been closed for replies.
    Best answer by Ozone

    > I am considering to send 9-clocks to the SCL of the LIS2DH.

    Yes, something like this.

    Reconfigure both I2C pins as GPIO, and output clock pulses until the slave releases SDA.

    This might be 9, or less.

    If such hang-ups happen often, you might have an EMI issue.

    1 reply

    OzoneAnswer
    Explorer
    May 19, 2021

    > I am considering to send 9-clocks to the SCL of the LIS2DH.

    Yes, something like this.

    Reconfigure both I2C pins as GPIO, and output clock pulses until the slave releases SDA.

    This might be 9, or less.

    If such hang-ups happen often, you might have an EMI issue.