Häufig gestellte Fragen

Häufig gestellte Fragen

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

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,UART
本网站使用cookie作为与网站互动时识别浏览器之用,浏览本网站即表示您同意本网站对cookie的使用及相关隐私权政策