SPRUJ28E November 2021 – September 2024 AM68 , AM68A , TDA4AL-Q1 , TDA4VE-Q1 , TDA4VL-Q1
When autobauding is not used, frame format attributes must be defined in the UART_LCR register.
Character length is specified using the UART_LCR[1-0] CHAR_LENGTH bit field.
The number of stop-bits is specified using the UART_LCR[2] NB_STOP bit.
The parity bit is programmed using the UART_LCR[5-3] PARITY_EN, UART_LCR[5-3] PARITY_TYPE_1, and UART_LCR[5-3] PARITY_TYPE_2 bit fields (see Table 12-88).
PARITY_EN | PARITY_TYPE_1 | PARITY_TYPE_2 | Parity |
---|---|---|---|
0 | N/A | N/A | No parity |
1 | 0 | 0 | Odd parity |
1 | 1 | 0 | Even parity |
1 | 0 | 1 | Forced 1 |
1 | 1 | 1 | Forced 0 |