Android O IOT Preview 7 (4635859)
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
nanohub: i2c: detect and clock through stuck low sda
If the chip is reset in the middle of an i2c read, the
slave will still be waiting for additional pulses of sdc.
This prevents all chips on the stuck i2c bus from being
detected until a power cycle.
Detect that sda is stuck low and attempt to clock through
Test: run accel at a high rate over i2c and reset the stm32.
Confirm all chips on i2c are detected after reset.
Signed-off-by: Ben Fennema <firstname.lastname@example.org>
3 files changed