Page 1 of 1
I2C driver - state I2C_LOCKED
Posted: Fri Nov 11, 2016 1:18 pm
by neums
Hi,
what is the functionality of the i2c driver state I2C_LOCKED?
Re: I2C driver - state I2C_LOCKED
Posted: Fri Nov 11, 2016 1:26 pm
by Giovanni
Hi,
That state is reached after a communication failure timeout. It enforces a restart of the driver.
Giovanni
Re: I2C driver - state I2C_LOCKED
Posted: Fri Nov 11, 2016 2:03 pm
by neums
Why is this restart required?
Re: I2C driver - state I2C_LOCKED
Posted: Fri Nov 11, 2016 3:21 pm
by Giovanni
A timeout should never happen, it is a faulty bus condition.
Giovanni