常见问答
- M051 系列(95)
- M0518 系列(97)
- M0519 系列(43)
- M0564 系列(1)
- Mini51 系列(90)
- Nano100 / 102 系列(101)
- Nano103 Base 系列(10)
- Nano110 / 112 LCD 系列(100)
- Nano120 USB 系列(111)
- Nano130 USB+LCD 系列(110)
- NUC029 系列(94)
- NUC100 / 200 系列(102)
- NUC120 / 122 / 123 / 220 USB 系列(116)
- NUC121/125 系列(1)
- NUC126 USB 系列(2)
- NUC130 / 230 CAN 系列(103)
- NUC131/NUC1311 CAN 系列(98)
- NUC140 / 240 USB+CAN 系列(114)
FAQ
Why does I2C_SCL have a clock stretching when a microcontroller (MCU) is used as I2C slave while receiving data continuously? Issue Date:2017-04-26
According to the definition of I2C BUS, when the slave is in a busy state, I2C_SCL can be pulled low, forcing transmission to be stretched.
When I2C interrupt occurs, I2C_SCL will be pulled low to stop I2C communication for a while. I2C_SCL will not be pulled high until the program triggers I2C to continue to accept the next data, resuming the transmission.
Therefore, user can get the I2C interrupt operating time through the I2C_SCL stretched time.
| Products: | Microcontrollers ,8bit 8051 MCUs ,Arm Cortex-M0 MCUs ,Arm Cortex-M4 MCUs |
|---|---|
| Applications: | |
| Function: | Peripherals,Connectivity,I2C |