Visible to Intel only — GUID: vui1661851445402
Ixiasoft
Visible to Intel only — GUID: vui1661851445402
Ixiasoft
57.4.4. Data Bits, Stop Bits, Parity
Setting | Legal Values | Description |
---|---|---|
Data Bits | 7, 8, 9 | This setting determines the widths of the txdata, rxdata, and endofpacket registers. |
Stop Bits | 1, 2 | This setting determines whether the core transmits 1 or 2 stop bits with every character. The core always terminates a receive transaction at the first stop bit, and ignores all subsequent stop bits, regardless of this setting. |
Parity | None, Even, Odd | This setting determines whether the Lightweight UART core transmits characters with parity checking, and whether it expects received characters to have parity checking. When Parity is set to None, the transmit logic sends data without including a parity bit, and the receive logic presumes the incoming data does not include a parity bit. The PE bit in the status register is not implemented; it always reads 0. When Parity is set to Odd or Even, the transmit logic computes and inserts the required parity bit into the outgoing TXD bitstream, and the receive logic checks the parity bit in the incoming RXD bitstream. If the receiver finds data with incorrect parity, the PE bit in the status register is set to 1. When Parity is Even, the parity bit is 0, if the character has an even number of 1 bit; otherwise, the parity bit is 1. Similarly, when parity is Odd, the parity bit is 0, if the character has an odd number of 1 bit; otherwise, the parity bit is 1. |