RL78/G1P
CHAPTER 11 SERIAL ARRAY UNIT
R01UH0895EJ0100 Rev.1.00
457
Nov 29, 2019
Figure 11-118. Flowchart of SNOOZE Mode Operation (Abnormal Operation <2>)
Setting start
Does TSFmn = 0 on all
channels?
No
Yes
Writing 1 to the STmn bit
SEmn = 0
Entered the STOP mode
The operation of all channels is also stopped to switch to the
STOP mode.
f
CLK
supplied to the SAU is stopped.
<1>
<2>
<3>
<4>
<5>
<7>
<6>
Reading receive data to
RxDq (=SDRm1[7:0])
<9>
<8>
Writing 1 to the STm1 bit
The mode switches from SNOOZE to normal operation.
SIRm1 = 0007H
Clear the all error flags
If an error occurs, because the CPU switches to the
STOP status again, the error flag is not set.
Channel 1 is specified for UART reception.
(EOCmn: set to enable error interrupt)
SAU default setting
Setting SSCm register
(SWCm = 1, SSECm = 1)
Writing 1 to the SSmn bit
SEmn = 1
SNOOZE mode setting (error interrupt generation stop)
Communication wait status
Clear interrupt request flag (XXIF), reset interrupt mask (XXMK)
and set interrupt disable (EI = 0).
Setting interrupt
Setting SSCm register
(SWCm = 0, SSECm = 0)
Reset SNOOZE mode setting
Normal processing
To operation stop status (SEm1 = 0)
RxDq edge detected
(Entered the SNOOZE mode)
Clock supply
(UART receive operation)
RxDq edge detected
(Entered the SNOOZE mode)
Clock supply
(UART receive operation)
Transfer end interrupt (INTSRq) generated
Nor
m
al o
per
at
io
n
No
rm
al o
per
at
io
n
ST
O
P
mo
de
S
N
OO
Z
E
m
ode
S
T
O
P
m
ode
S
N
O
O
Z
E
mo
de
Reception error detected
<7>
(
Caution
and
Remarks
are listed on the next page.)