AnsweredAssumed Answered

I2C slave with no clock stretch

Question asked by Daniel Lengen on Oct 23, 2017
Latest reply on May 17, 2018 by Daniel Lengen

Hello,

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 :-)

regards

Daniel

Outcomes