
R01UH0336EJ0102 Rev.1.02
Page 1182 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 21 Clocked Serial Interface G (CSIG)
21.3.8
CSIG Interrupts
CSIG can generate the following interrupts:
• CSIGnTIC
• CSIGnTIR
• CSIGnTIRE
(1)
CSIGnTIC (Communication Interrupt)
This interrupt is normally generated after every data transfer. It can be used to
trigger a DMA for writing new transmission data to register CSIGnTX0W or
CSIGnTX0H.
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),
CSIGnCFG0.CSIGnDLS[3:0] = 1000
B
(8-bit data length), and
CSIGnCTL1.CSIGnSLIT = 0 (normal interrupt timing).
Figure 21-11
Generation of CSIGnTIC after Communication
(CSIGnCTL1.CSIGnSLIT = 0)
However, CSIGnTIC can also be set up to occur when the CSIGnTX0 or
CSIGnTX0H register is free for the next data. This is specified by setting
CSIGnCTL1.CSIGnSLIT = 1.
This mode allows more efficient data transfers.
The effect is illustrated in the figure below.
Figure 21-12
Generation of CSIGnTIC at the Beginning of Communication
Write to CSIGnTX0W/H
CSIGnTIC
CSIGnTIR
D1
D2
D3
CSIGnTSO/CSIGnTSI
Write data 1
Write data 2
Write data 3
Write to CSIGnTX0W/H
CSIGnTIC
CSIGnTIR
D2 D3
CSIGnTSO/CSIGnTSI
D1
Write data 1
Write data 2
Write data 3
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...