Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

Clock Stretching and I2C speed


Clock Stretching and I2C speed

Question: How does the I2C clock speed affect the duration of clock stretching introduced by the I2C slave?



Clock stretching is a phenomenon where the I2C slave pulls the SCL line low on the 9th clock of every I2C data transfer (before the ACK stage).  The clock is pulled low when the CPU is processing the I2C interrupt to evaluate either the address or process a data received from Master or to prepare the next data when Master is reading from the slave. 

The time the clock is pull low depends on the time the CPU takes to process the interrupt and hence is dependent on the CPU speed and not the I2C clock speed.


For more information on this, please refer to the article PSoC I2C Block Clock Stretching: Worst Case Duration.

Version history
Revision #:
1 of 1
Last update:
‎Mar 10, 2011 10:23 AM
Updated by: