Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
 
CHAPTER  12   SERIAL  ARRAY  UNIT 
R01UH0305EJ0200  Rev.2.00 
 
 
498  
Jul 04, 2013 
Figure 12-73.  Flowchart of SNOOZE Mode Operation (Continuous 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   
Setting SSCm register 
(SWCm = 1, SSECm = 0)
Entered the STOP mode
Reading receive data from 
SIOp (=SDRmn[7:0])
 
Write 1 to STm0 bit
Clear SWCm bit to 0
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) 
Become the operation STOP status (SEm0 = 0) 
SAU default setting 
SMRm0, SCRm0:  Communication setting 
SDRm0[15:9]: Setting 
0000000B
 
Enables interrupt 
processing 
Clear interrupt request flag (XXIF), reset interrupt mask (XXMK) 
and enable interrupt processing.
 
N
o
rm
al
 o
pe
rat
io
S
N
OO
Z
E
 m
ode
STOP m
od
e
No
rm
al o
per
atio
n
 
 
Remarks 1.  <1> to <10> in the figure correspond to <1> to <10> in Figure 12-72  Timing Chart of SNOOZE 
Mode Operation (Continuous Startup).  
 2. 
m = 0;  p = 00 
<R>