RL78/F13, F14 CHAPTER 17 LIN/UART MODULE (RLIN3)
R01UH0368EJ0210 Rev.2.10 1238
Dec 10, 2015
Figure 17-35. Flowchart of SNOOZE Mode Operation
(returning to normal operation upon comparison result agreement of data received; UWC = 1, URDCC = 1)
Setting start
Cancels LIN reset mode.
No
Y
es
(7)
Cause transition to SNOOZE mode.
Supplies clock to start UART reception.
(6)
Clock request signal level goes high to request
clock generator to supply f
CLK
(high-speed on-chip oscillator clock);
clock supply to LIN/UART module is started
after oscillation precision stabilization time.
(5)
Cause transition to STOP mode
(4)
Enables reception.
(3)
Turns on SNOOZE mode.
(2)
Makes transition to LIN reset mode.
(1)
(10)
Read LESTn register.
Makes transition to LIN reset mode.
n = 0, 1
(11)
Write 0 to UWC bit.
Clock request signal level goes low.
(8)
Yes
Successful reception interrupt occurrence
indicated by INTLINnRVC?
No
Error interrupt occurrence
indicated by INTLINnSTA?
No
Yes
LRXDn edge detected?
Set LIDBn register.
Sets data to be compared with the data received.
Error processing
LIN/UART module (UART mode)
starts normal operation
Normal processing
LIN/UART module (UART mode)
starts normal operation.
Write 0 to OM0 bit.
OMM0 = 0
Set LUSCn register.
UWC = 1, USEC = 0, URDCC = 1
OMM0 = 1
Write 1 to OM0 bit.
Write 1 to UROE bit.
UROE = 1
Write 0 to UROE bit.
UROE = 0
OMM0 = 0
Write 0 to OM0 bit.
Stops f
CLK
supply to LIN/UART module.
LBFCn, LUORn1: Set communication.
LWBRn, LBRPn: Set transfer rate.
(9)
Read LURDRn register.
Returns from SNOOZE mode to normal operation.