9 years, 1 month ago.

STM32 in I2C slave mode is not releasing the bus correctly

hello, I'd like to know if someone has successfully used the I2Cslave mode for STM32 chips like the L152 or F401 ?

when I try to use the simple example, the I2C bus hangs and I can't do any read or write after the first read or write, nor reinit the bus. it's just like if the i2c_slave-bus.receive() function doesn't initialize the I2C state machine/ registers to perform a new read/write

I'm going really mad after several days of digging everywhere :-/

thank you in advance for any hints Rico

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32L152RET6 microcontroller.
Be the first to answer this question.