NEC V850ES/F 3-L Series User Manual page 417

32-bit single-chip microcontroller
Table of Contents

Advertisement

Asynchronous Serial Interface (UARTD)
(1)
(2)
(3)
(4)
The parity bit is used to detect bit errors in the communication data. Normally
the same parity is used on the transmission side and the reception side.
In the case of even parity and odd parity, it is possible to detect odd-count bit
errors. In the case of 0 parity and no parity, errors cannot be detected.
Even parity
• During transmission
The number of bits whose value is "1" among the transmit data, including
the parity bit, is controlled so as to be an even number. The parity bit values
are as follows.
– Odd number of bits whose value is "1" among transmit data:1
– Even number of bits whose value is "1" among transmit data:0
• During reception
The number of bits whose value is "1" among the reception data, including
the parity bit, is counted, and if it is an odd number, a parity error is output.
Odd parity
• During transmission
Opposite to even parity, the number of bits whose value is "1" among the
transmit data, including the parity bit, is controlled so that it is an odd
number. The parity bit values are as follows.
– Odd number of bits whose value is "1" among transmit data: 0
– Even number of bits whose value is "1" among transmit data: 1
• During reception
The number of bits whose value is "1" among the receive data, including the
parity bit, is counted, and if it is an even number, a parity error is output.
0 parity
During transmission, the parity bit is always made 0, regardless of the transmit
data.
During reception, parity bit check is not performed. Therefore, no parity error
occurs, regardless of whether the parity bit is 0 or 1.
No parity
No parity bit is added to the transmit data.
Reception is performed assuming that there is no parity bit. No parity error
occurs since there is no parity bit.
User's Manual U18743EE1V2UM00
Chapter 15
417

Advertisement

Table of Contents
loading

Table of Contents