Skip to main content
Visitor II
July 17, 2013
Question

I2C Clock Stretching issues

  • July 17, 2013
  • 1 reply
  • 946 views
Posted on July 17, 2013 at 14:30

Hello, I am using STM8S105 as an I2C slave.

A strange thing happens when I disable I2C_StretchClockCmd(DISBALE).

When the master asks for data, the first byte is always its slave address, followed by the TX buffer. When I enable clock stretching, then the data is written correctly (without Slave address)

#clock-stretch-i2c #i2c
    This topic has been closed for replies.

    1 reply

    Visitor II
    July 22, 2014
    Posted on July 22, 2014 at 09:50

    May I ask in detail, what happen when you disable clock stretching?