Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
 
CHAPTER  12   SERIAL  ARRAY  UNIT 
R01UH0305EJ0200  Rev.2.00 
 
 
434  
Jul 04, 2013 
12.5  Operation of 3-Wire Serial I/O (CSI00, CSI01, CSI10, CSI11, CSI20, CSI21) Communication 
 
This is a clocked communication function that uses three lines: serial clock (SCK) and serial data (SI and SO) lines. 
[Data transmission/reception] 
•  Data length of 7 or 8 bits 
•  Phase control of transmit/receive data 
•  MSB/LSB first selectable 
[Clock control] 
•  Master/slave selection 
•  Phase control of I/O clock 
•  Setting of transfer period by prescaler and internal counter of each channel 
•  Maximum transfer rate
Note
 
During master communication: Max. f
CLK
/2 (CSI00 only) 
 Max. 
f
CLK
/4 
During slave communication:   Max. f
MCK
/6 
[Interrupt function] 
•  Transfer end interrupt/buffer empty interrupt 
[Error detection flag] 
•  Overrun error 
 
In addition, CSI00 of following channels supports the SNOOZE mode.  When SCK input is detected while in the STOP 
mode, the SNOOZE mode makes data reception that does not require the CPU possible.  
 
Note  Use the clocks within a range satisfying the SCK cycle time (t
KCY
) characteristics.  For details, see CHAPTER 29  
ELECTRICAL SPECIFICATIONS (T
A
 = 
40 to +85°C)CHAPTER 30  ELECTRICAL SPECIFICATIONS (G: 
INDUSTRIAL APPLICATIONS T
40 to +105°C)
 
<R> 
<R> 
<R>