English
Language : 

R01AN1504EJ0100 Datasheet, PDF (7/50 Pages) Renesas Technology Corp – Using the DTC to Perform Continuous Clock
RL78/G14
Using the DTC to Perform Continuous Clock
Synchronous Serial Communication
4.1 Operation Overview
RL78/G14 transfers the receive data using the DTC control data 0 (DTCD0), and transfers the transmit data using the
DTC control data 1 (DTCD1), and thus successively transmits and receives 8-byte data. Note that the program transfers
the first byte of transmit data and the eighth byte of receive data.
Settings for the peripheral functions are listed below.
SAU
• Use single transfer mode
• Set the data length to 8 bits
• Set the data transfer sequence to MSB first
• Set the data transmit/receive timing to type 1
• Set the baud rate to 9600 bps
• Set the interrupt priority to low
DTCD0
• Set the activation source to CSI00 transfer end
• Enable the chain transfer
• Set the transfer mode to normal mode
• Set the data length to 8 bits
• Set the transfer source to FFF10H (SIO00 register address), fixed
• Set the transfer destination to FE900H, incremented
• Set the number of transfers to seven
• Set the transfer block size to 1 byte
DTCD1
• Set the activation source to DTC0 transfer end
• Disable the chain transfer
• Set the transfer mode to normal mode
• Set the data length to 8 bits
• Set the transfer source to FE911H, incremented
• Set the transfer destination to FFF10H (SIO00 register address), fixed
• Set the transfer block size to 1 byte
R01AN1504EJ0100 Rev. 1.00
Feb. 14, 2014
Page 7 of 47