常见问答

よくある質問

How to generate a 9-bit data frame with the UART function?  日付:2015-02-11

A 9-bit data frame in the UART application includes 8-bit data and parity bit (9th bit), and is normally used in the RS485 application to indicate the address or data byte. Refer to (follow) the table below to control SPE bit, EPE bit, and PBE bit of UA_LCR register for parity bit (9th bit) level first, and then write 8-bit data into the UA_THR register to generate a 9-bit data frame after UART is initiated.

SPE

EPE

PBE

Parity Bit Level

1

1

1

0

1

0

1

1

製品: マイクロコントローラ ,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,UART
本网站使用cookie作为与网站互动时识别浏览器之用,浏览本网站即表示您同意本网站对cookie的使用及相关隐私权政策