I've tried the I2C_TwoBoard_RestartComIT example in the STM32Cube_FW_L4_V1.9.0. It works fine.
If I disable the clock stretching feature, the slave can still receive messages, but it doesn't transmit back. It confirms the slave address with an acknoledge, but doesn't transmit the messages back.
hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_ENABLE; // disable clock stetching
Is it possible to use I2C in slave mode without clock streetching?
In my current project the I2C master doesn't support clock stretching.
Many thanks in advance :-)