ArduinoCore-samd
ArduinoCore-samd copied to clipboard
Timeout on SERCOM I2C functions
We are currently testing a timeout implementation (without timer/interrupts) for the SERCOM I2C functions, because we saw that the SAMD21 can freeze on communication errors or hardware problems. The implementation also fixes the recursion problem in startTransmissionWIRE().
Changes: https://github.com/awatterott/ArduinoCore-samd/commit/64b6fca042eb2d72834af3c8e37ea9bf353ccfc3
Our testings have not shown any issues and everything works as expected. Can I open a PR or should we change anything?