常见问答

FAQ

How to generate a 9-bit data frame with the UART function?  Issue Date: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

Products: 마이크로컨트롤러(MCU) ,Arm Cortex-M0 MCUs ,M051 시리즈 ,M0518 시리즈 ,Mini51 시리즈 ,Nano100/102 시리즈 ,Nano110/112 LCD 시리즈 ,Nano120 USB 시리즈 ,Nano130 어드밴스드 시리즈 ,NUC029 시리즈 ,NUC100/200 어드밴스드 시리즈 ,NUC120/122/123/220 USB 시리즈 ,NUC130/230 CAN 시리즈 ,NUC131/NUC1311 CAN 시리즈 ,NUC140/240 연결(Connectivity) 시리즈 ,Arm Cortex-M4 MCUs ,M451 시리즈 ,M451M 시리즈 ,M452 USB 시리즈 ,M453 CAN 시리즈 ,NUC442/472 시리즈 ,NUC505 시리즈
Applications:
Function: Peripherals,Connectivity,UART
本网站使用cookie作为与网站互动时识别浏览器之用,浏览本网站即表示您同意本网站对cookie的使用及相关隐私权政策