Häufig gestellte Fragen

Häufig gestellte Fragen

How to handle I2C bus hang-up in slave mode?  Datum:2015-03-18

The I²C controller provides a 14-bit time-out counter to handle I2C bus hang-up. If the I2C bus is hung up, it causes I2CSTATUS and the flag SI not updated for a period, and the 14-bit time-out counter may overflow and acknowledge CPU the I2C interrupt. Refer to the following figure for the 14-bit time-out counter. User may write 1 to clear TIF to 0 and reset I²C.

FAQ50

For example, if Pclk is 1 MHz, the time-out value is 1us*214= 16384us.

Produkte: Mikrocontroller ,Arm Cortex-M0-MCUs ,M051-Base-Serie ,M0518-Serie ,Mini51-Base-Serie ,Nano100/102-Base-Serie ,Nano110/112-LCD-Serie ,Nano120-USB-Serie ,Nano130-Advanced-Serie ,NUC029-Serie ,NUC100/200-Advanced-Serie ,NUC120/122/123/220-USB-Serie ,NUC130/230-CAN-Serie ,NUC131-NUC1311-CAN-Serie ,NUC140/240-Konnektivität-Serie ,Arm Cortex-M4-MCUs ,M451-Base-Serie ,M451M-Serie ,M452-USB-Serie ,M453-CAN-Serie ,NUC442/472-Serie ,NUC505-Serie
Applikationen:
Funktion: Peripherals,Connectivity,I2C
本网站使用cookie作为与网站互动时识别浏览器之用,浏览本网站即表示您同意本网站对cookie的使用及相关隐私权政策