常见问答

よくある質問

How to handle I2C bus hang-up in slave mode?  日付: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.

製品: マイクロコントローラ ,Arm Cortex-M0 MCU ,M051 ベースシリーズ ,M0518シリーズ ,ミニ 51 ベースシリーズ ,ナノ 100/102 ベースシリーズ ,ナノ 110/112 LCD シリーズ ,ナノ 120 USB シリーズ ,ナノ 130 アドバンストシリーズ ,NUC029 シリーズ ,NUC100/200 アドバンストシリーズ ,NUC120/122/123/220 USB シリーズ ,NUC130/230 CAN シリーズ ,NUC131/NUC1311 CAN シリーズ ,NUC140/240 コネクティビティシリーズ ,Arm Cortex-M4 MCU ,M451 ベースシリーズ ,M451M シリーズ ,M452 USB シリーズ ,M453 CAN シリーズ ,NUC442/472 シリーズ ,NUC505 シリーズ
アプリケーション:
機能: Peripherals,Connectivity,I2C
本网站使用cookie作为与网站互动时识别浏览器之用,浏览本网站即表示您同意本网站对cookie的使用及相关隐私权政策