Question
Detecting when I2C bus becomes IDLE
STM32F302K8 here. According to the manual, there is a flag in the ISR to see if the bus is busy, but it does not generate an interrupt when cleared. Also the STOP condition says it is only generated while you are the master and generate it, or are the previously selected slave. In other words, if another master is talking to another slave on the bus when you want to transmit, you won't get a STOP interrupt when it's done, so how are you supposed to know when the bus is free so you can try to transmit?
