Häufig gestellte Fragen

よくある質問

When the RLS (Receive Line Status) interrupt occurs during UART data transmission, how to handle PEF, FEF and BIF flags that may cause interrupt?  日付:2016-07-01

Since the three flags are saved with UART data in the FIFO, these flags must be cleared by writing 1 to them before the data is read out. This can avoid FIFO level changes, causing the PEF, FEF and BIF saved in the upper layer of FIFO unable to be cleared.
If the data has been read out but the three flags are not cleared, these flags will remain in the FIFO. The next time the same level FIFO data is read out, the RLS interrupt may inadvertently occur due to these old flags.

製品: マイクロコントローラ ,Arm Cortex-M0 MCU ,M051 ベースシリーズ ,M0518シリーズ ,M0519シリーズ ,ミニ 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 Base シリーズ ,M451M シリーズ ,M452 USB シリーズ ,M453 CAN シリーズ ,M4TK タッチキーシリーズ ,NUC442/472 シリーズ ,NUC505 シリーズ
アプリケーション:
機能: Peripherals,Connectivity,UART
This website uses cookies to ensure you get the best experience on our website. Learn more
OK