Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
 
CHAPTER  12   SERIAL  ARRAY  UNIT 
R01UH0305EJ0200  Rev.2.00 
 
 
496  
Jul 04, 2013 
Figure 12-71.  Flowchart of SNOOZE Mode Operation (Once Startup) 
 
SCKp edge detected 
(Entered the SNOOZE mode) 
Supplying a clock to CSIp 
(CSIp is receive operation) 
TSFmn = 0 for all channels?
No 
Yes 
Write 1 to STm0 bit   
SAU default setting 
Setting SSCm register 
(SWCm = 1, SSECm = 0)
Entered the STOP mode
Reading receive data from 
SIOp (=SDRmn[7:0]) 
Write 1 to STm0 bit 
Write 1 to SWCm bit 
Write 1 to SSm0 bit 
Setting SNOOZE mode
CPU/peripheral hardware clock f
CLK
 supplied 
to the SAU is stopped. 
<1> 
<2> 
<3> 
<4> 
<5> 
<7> 
<8> 
<9> 
<10>
Reset SNOOZE mode setting 
<6> 
The mode switches from SNOOZE to normal operation. 
Become the communication wait status (SEm0 = 1) 
SNOOZE mode operation
Transfer interrupt (INTCSIp) is 
generated 
(CSIp is receive completion) 
End of SNOOZE mode
Write 1 to SSm0 bit   
<11>
Become the operation STOP status (SEm0 = 0) 
SMRm0, SCRm0:  Communication setting 
SDRm0[15:9]: Setting 
0000000B 
Become the operation STOP status (SEm0 = 0)   
It becomes communication ready state (SEm0 = 1) under 
normal operation 
Clear interrupt request flag (XXIF), reset interrupt mask (XXMK) 
and enable interrupt processing.
 
Enables interrupt 
processing 
No
rm
al op
erat
io
SNO
O
ZE mo
d
e
 
S
T
OP
 m
o
d
e
No
rm
a
l op
er
at
io
n
 
 
Remarks 1.  <1> to <11> in the figure correspond to <1> to <11> in Figure 12-70  Timing Chart of SNOOZE 
Mode Operation (Once Startup).  
 2. 
m = 0;  p = 00 
 
<R>