vedderb / bldc

The VESC motor control firmware
2.14k stars 1.34k forks source link

Backport ChibiOS hw i2c fixes. #498

Closed avlasic closed 2 years ago

avlasic commented 2 years ago

There are several hw i2c bugs that were fixed in newer versions of chibios that can cause interrupt stroms and make foc loop to either execute too late or cause watchdog to reset. This happens mainly when there is noise present on i2c lines.

Relevent discussions about that on chibios forums: http://forum.chibios.org/viewtopic.php?t=5198 http://forum.chibios.org/viewtopic.php?f=35&t=5298 ChibiOS bugs in this backport: #781, #1045, #1048, #1064, #1120