English
Language : 

R01AN1504EJ0100 Datasheet, PDF (8/50 Pages) Renesas Technology Corp – Using the DTC to Perform Continuous Clock
RL78/G14
Using the DTC to Perform Continuous Clock
Synchronous Serial Communication
Figure 4.2 shows transmit and receive timing, and DTC activation. Figure 4.3 shows the operation of DTCD0. Figure
4.4 shows the operation of DTCD1.
Transmit/receive
CSI00 transfer end
(1)
(2)
(3)
(4)
First byte
Second
byte
Third byte
Fourth
byte
Fifth byte Sixth byte
Seventh
byte
Eight byte
DTCCT0
7
6
5
4
3
2
1
0
INTCSI00 interrupt
DTC is activated
Figure 4.2 Timing of Transmission/Reception and DTC Activation
(1) Transmission/reception start
RL78/G14 starts transmission and reception after the DTC is configured.
Transmission is performed by the program writing the first byte of transmit data to the SIO00 register.
(2) DTC activation
After the first byte of data has been transmitted and received, DTC0 is activated. The first byte of receive data is
transferred from the SIO00 register to the transfer destination address.
When transfer of the receive data is completed, DTC1 is activated. The second byte of transmit data from the
transmit source address is transferred to the SIO00 register.
When the transmit data is written to the SIO00 register, the next transmission and reception start. The DTC is
activated every time when the transmission and reception are completed and the same procedure is repeated until the
transmission and reception of the eighth byte data is started. The DTCCT0 register value decrements each time the
DTC transfer is activated.
(3) INTCSI00 interrupt generated by the DTC transfer end
When the DTCCT0 register becomes 0, the INTCSI00 interrupt occurs.
Preparations to complete transmission and reception are performed in the program.
(4) INTCSI00 interrupt generated by transmission/reception end
When the transmission and reception of the eighth byte of data is completed, the INTCSI00 interrupt occurs. The
program reads and copies the eighth byte of receive data.
R01AN1504EJ0100 Rev. 1.00
Feb. 14, 2014
Page 8 of 47