
R01UH0336EJ0102 Rev.1.02
Page 1208 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 21 Clocked Serial Interface G (CSIG)
Procedure:
1. Configure each function in the CSIGnCTL1 register, communication speed
in the CSIGnCTL2 register, and communication protocol in the
CSIGnCFG0 register, respectively.
2. In the CSIGnCTL0 register, set bits CSIGnPWR = 1 (enabling the clock),
CSIGnTXE = 1 (enabling transmission), and CSIGnRXE = 1 (enabling
reception). The data output pin CSIGnTSO is now enabled.
3. Write the first packet of data to be sent to the transmission register
(CSIGnTX0W or CSIGnTX0H). Transmission starts automatically.
4. After every packet that has been transmitted, the interrupts CSIGnTIC and
CSIGnTIR are generated. CSIGnTIC indicates that the next packet can be
written to CSIGnTX0W or CSIGnTX0H. CSIGnTIR indicates that the
reception register CSIGnRX0 must be read.
In this example, CPU write and DMA write are equivalent.
5. Write the next data to CSIGnTX0W or CSIGnTX0H.
6. No more write action is required after completion of packet 9.
7. To finally disable the transmit/receive operation, clear
CSIGnCTL0.CSIGnTXE and CSIGnCTL0.CSIGnRXE.
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...