SPRUJ52C june 2022 – july 2023 AM69 , AM69A , TDA4AH-Q1 , TDA4AP-Q1 , TDA4VH-Q1 , TDA4VP-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 |