2021-01-31 10:58 AM
Hi,
I like to implement a I2C slave on a STM32G081 with using stm32cubeide.
Basically, it is working.
Sometimes, the system communication stuck while a transaction on the STM32 I2C slave is active.
How can I implement a clock stretch timeout on slave side. Is there any other special error handling needed?
Is there any example regarding this?
My Code:
https://github.com/MS71/ROSZumo/blob/master/fw/stm32/zumo_tb/Core/Src/i2c.c
Maik
2022-05-24 05:01 AM
Also interested if this is possible.