rogerclarkmelbourne / Arduino_STM32

Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
Other
2.53k stars 1.26k forks source link

Fix STOP condition on I2C Master for Bus Error and Timeout #804

Closed dewhisna closed 3 years ago

dewhisna commented 4 years ago

I'm not 100% certain that this fixes #799 or not (since my lab is still in shambles) but these are definitely two cases missing a necessary STOP condition on a bus master.

Please test with your setup for #799. If it doesn't fix it, you can reopen the issue and I will continue my probing to try and resolve it.

stevstrong commented 3 years ago

I didn't know that we are supporting multi-master configuration...

dewhisna commented 3 years ago

Why not support it? If this code is written correctly, it just works.