cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Communication Protocol

dhirrajsharma
Visitor

I am currently working on I2C communication with the STM32G030F6P6 microcontroller and developing a library for slave mode. I encountered an issue where, after the master transmits a command, the slave receives and processes the data, responding accordingly. However, when the command doesn't match the expected input and the master sends a receive request, clock stretching occurs. If anyone has insights on how to handle or resolve this, I would appreciate your suggestions

1 REPLY 1
Imen.D
ST Employee

Hello @dhirrajsharma

Did you check the Errata sheet related to your device?

Try enable the I2C listen mode to handle address match events.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen