I2C Clock Stretching | Prodigy Technovations
ฝัง
- เผยแพร่เมื่อ 13 ก.ย. 2024
- The Slave devices can use clock stretching to slow things down during the data transfer or I2C communication.
There may be times where the slave device is unable to comply with the clock rate. The slave device may need extra time to process a command or send data. In such cases, the slave device may try to slow down the communication or data transfer through clock stretching.
PRODUCT LINKS
________________________
Prodigy's I2C Protocol Analyzer: prodigytechno....
Prodigy's I2C Electrical Validation and Protocol Decode Software: prodigytechno....
Prodigy's All Protocol Analyzer: prodigytechno.....
RELATED KEYWORDS
________________________
I2C Clock Stretching
Clock Stretching in I2C
Inter-integrated Circuit
I2C ( Inter-integrated Circuit )
Inter-integrated Circuit Clock Stretching
Watch a Video on I2C Arbitration: th-cam.com/video/HNkUwyACuL0/w-d-xo.html
good detailed video.. would like to learn more
More to come!
Very useful information. Would like to learn more.
Than you for your positive feedback @ShivaKumar
what if there is a no recovery form the clock streaching,
what if the slave is not responsive?
Hi, Thank you for your interest. However, if there is no recovery for clock stretching and the slave device is not responsive, it can lead to communication failures. Clock stretching is often used by slave devices to slow down the data transfer if they are not ready to process the incoming data.
Sadly i can't find many info on I2C failure handling. From what i know if a slave holds SCL down blocking the whole BUS the only solution is to power cycle (cut power) the slave by its reset pin (if any) or by external circuitry. I usually try to avoid devices that clock stretch if i can, so i prefer devices that don't, so that their SCL pins are inputs only!