cancel
Showing results for 
Search instead for 
Did you mean: 

If Hang up I2C interface of the LIS2DH

BBQ
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Ozone
Lead

> 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.

View solution in original post

1 REPLY 1
Ozone
Lead

> 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.