
R01UH0336EJ0102 Rev.1.02
Page 1183 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 21 Clocked Serial Interface G (CSIG)
(2)
CSIGnTIR (Reception Interrupt)
This interrupt is generated in receive-only mode or transmit/receive mode after
data has been received and is available in the reception register.
The following example assumes master mode and a setting of
CSIGnCTL1.CSIGnSIT = 0 (no interrupt delay), CSIGnCTL1.CSIGnCKR = 0,
CSIGnCFG0.CSIGnDAP = 0 (normal clock and data phase), and
CSIGnCFG0.CSIGnDLS[3:0] = 1000
B
(8-bit data length).
Figure 21-13
Generation of CSIGnTIR
(3)
CSIGnTIRE (Reception Error Interrupt)
This interrupt is generated whenever the following errors are detected.
• Parity error
• Data consistency error
• Overrun error
The type of error that caused the generation of CSIGnTIRE is indicated in
register CSIGnSTR0.
For details on the various error types, refer to Section 21.3.11, Error Detection.
(4)
All Interrupts Delay
In master mode, delaying all interrupts from the master by half a cycle of the
transmission clock (CSIGnTSCK) is possible. This function is not available in
slave mode.
Set the CSIGnCTL1.CSIGnSIT bit to 1 to specify this delay.
The following settings are assumed in the figure below showing an example of
using the interrupt delay: CSIGnCTL1.CSIGnSIT = 1 (enabling interrupt delay),
CSIGnCTL1.CSIGnCKR = 0, CSIGnCFG0.CSIGnDAP = 0 (normal clock and
data phases), and CSIGnCFG0.CSIGnDLS[3:0] = 1000
B
(8-bit data length).
CSIGnTSCK
CSIGnRXE
CSIGnTXE
CSIGnTIR
Rx data 1
Rx data 2
Rx data 0
CSIGnTSI
Table 21-7
Data Error Types
Error Type
Communication Status after Error Interrupt
Parity error
Interrupt is generated and communication continues
Data consistency error
Interrupt is generated and communication continues
Overrun error
Interrupt is generated and communication is stopped
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...