ArduinoCore-samd icon indicating copy to clipboard operation
ArduinoCore-samd copied to clipboard

Timeout on SERCOM I2C functions

Open awatterott opened this issue 4 years ago • 1 comments

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

awatterott avatar Apr 06 '21 15:04 awatterott

Our testings have not shown any issues and everything works as expected. Can I open a PR or should we change anything?

awatterott avatar Apr 21 '21 13:04 awatterott