
R01UH0336EJ0102 Rev.1.02
Page 1190 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 21 Clocked Serial Interface G (CSIG)
(2)
Parity Check
CSIG can append a parity bit to the last data bit (even if extended data length
is used).
The use and type of parity is specified in CSIGnCFG0.CSIGnPS[1:0].
Parity check is enabled if CSIGnCFG0.CSIGnPS[1] = 1.
The parity bit is checked after reception is complete. If a parity error occurs:
• Interrupt CSIGnTIRE is generated.
• The parity error flag (CSIGnSTR0.CSIGnPE) is set.
The following figure shows an example.
Data length is 8 bits. The data transmitted is 05
H
and 35
H
. Parity type is odd.
Figure 21-22
Parity Check Example
The parity bit for the first of the data to be received is 1. There is no parity error,
because the total number of ones (including the parity bit) is odd.
The parity bit for the subsequently received data is 0. This is detected as a
parity error, because the total number of ones (including the parity bit) is even.
CSIGnTSCK
Receive data
CSIGnTIRE
0x05
Parity bit = 1
0x35
Parity bit = 0
CSIGnST0.CSIGnPE