
R01UH0336EJ0102 Rev.1.02
Page 1189 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 21 Clocked Serial Interface G (CSIG)
(1)
Data Consistency Check
The purpose of the data consistency check is to ensure that the data physically
sent to the output pin is identical to the original data that was copied to the shift
register.
The data consistency check can be enabled/disabled by the
CSIGnCTL1.CSIGnDCS bit. It is not active if data transmission is disabled
(CSIGnCTL0.CSIGnTXE = 0).
When data consistency checking is being applied, data transferred from the
CSIGnTX0W or CSIGnTX0H register to the shift register are also copied to a
separate register. In addition, the physical levels on CSIGnTSO are written into
their own shift register.
After completion of the transmission, the transmitted data is compared with the
original transmission data.
A mismatch is considered a data consistency error, in which case the following
steps proceed:
• The CSIGnTIRE interrupt signal is generated.
• The data consistency error flag (CSIGnSTR0.CSIGnDCE) is set.
Caution
For data consistency checking, set the bit in the PIPCn register to which the
CSIGnTSO pin is assigned to 0, and set the relevant bit in the PBDCn register
to 1.
The function is illustrated in the following block diagram.
Figure 21-21
Functional Block Diagram of the Data Consistency Check
Peripheral bus
CSIGnRX0
Shift register
Original data
Compare
Transmitted data
CSIGnTX0W/H
CSIGnSTR0.CSIGnDCE
CSIGnTIRE
CSIGnTSO
Pin output
I/O
port
CSIGnTDCS
Rx
Tx
Transmitted data
Error detected
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...