SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
Character length is specified using the PRUSS_UART_LINE_CONTROL_REGISTER[1-0] WLS bit field (see Table 30-221).
The number of stop-bits is specified using the PRUSS_UART_LINE_CONTROL_REGISTER[2] STB bit (see Table 30-221).
The parity bit is programmed using the PRUSS_UART_LINE_CONTROL_REGISTER[5-3] PEN, EPS, and SP bits (see Table 30-220).
| ST Bit | EPS Bit | PEN Bit | Parity Option |
|---|---|---|---|
| x | x | 0 | Parity disabled: No PARITY bit is transmitted or checked. |
| 0 | 0 | 1 | Odd parity selected: Odd number of logic 1s. |
| 0 | 1 | 1 | Even parity selected: Even number of logic 1s. |
| 1 | 0 | 1 | Stick parity selected with PARITY bit transmitted and checked as set. |
| 1 | 1 | 1 | Stick parity selected with PARITY bit transmitted and checked as cleared. |
| STB Bit | WLS Bit | Word Length Selected with WLS Bits | Number of STOP Bits Generated | Baud Clock (BCLK) Cycles |
|---|---|---|---|---|
| 0 | x | Any word length | 1 | 16 |
| 1 | 0h | 5 bits | 1.5 | 24 |
| 1 | 1h | 6 bits | 2 | 32 |
| 1 | 2h | 7 bits | 2 | 32 |
| 1 | 3h | 8 bits | 2 | 32 |