bitcraze / lps-node-firmware

GNU Lesser General Public License v3.0
82 stars 79 forks source link

I2C lock-up when reseting #3

Closed ataffanel closed 8 years ago

ataffanel commented 8 years ago

Sometime when reseting the node the I2C bus will lock and the node will fail the power-on-self-test. This is most likely due to an unfinished I2C transaction that is holding the bus.

The solution used in Crazyflie is to manually clock the bus before initializing the I2C bus which finishes the ongoing transaction and unlock the bus. This solution might apply there as well.