20.4.2.1.3 Parity Support
Parity is a simple method of single-bit error detection. The data bits are
summed and compared to the parity value indicating a bit error. Parity selection can either
be even or odd and is represented by the ninth data bit. To calculate parity, the number of
data bits that are a ‘1
’ are counted.
- Even parity is defined as an odd number of data bits whose values are
‘
1
’ - Odd parity is defined as an even number of data bits whose values are
‘
1
’
The parity bit itself is then added to the count, hence the ‘even’ or
‘odd’ designation. Parity calculation and checking are enabled by selecting one of the two
8-Bit Asynchronous Parity modes (MODE[3:0] = 0b001x
).