Renesas RA Family Getting Started with Low Power Applications for RA6 and
RA4 Groups
R11AN0471EU0104 Rev.1.04 Page 31 of 40
Oct.1.21
7.5.2 LPM Transition
In the LPM application, the user switch has two functions based on how long you pressed, held, and
released it. If the MCU is in the LPM modes (Sleep or Deep Software Standby) and the user button is
pressed, held, and released, MCU exits the LPM mode and enters the Normal mode whether it was a short
press or long press. The behavior is different when the MCU is in Normal mode.
When the MCU is in Normal mode, if the user button is pressed, held, and released for 1-2 seconds, the
MCU exits the Normal mode and enters Sleep or Software Standby or Snooze or Deep Software Standby
modes depending on the previous transition states.
If the switch is pressed, held, and released for 3-6 seconds, the MCU exits the LPM transition setting mode
and enters the Clock setting mode. The user switch has no effect during the LPM modes (Software Standby
or Snooze).
Timer events cancel the Software Standby and Snooze modes and put the MCU back to normal mode.
The details of the switch events and timer events are shown in Table 9.
Table 9. LPM Transition Table
User Button ā Long
Press
User Button ā
Short Press
State Machine and
enters the Clock Mode
mode
and enters the Normal
mode
mode and enters
the Normal mode
(From Sleep)
State Machine and
enters the Clock Mode
mode and enters
the Software
Exits the Software Standby mode
and Enters the Normal mode
(From Software
Standby)
State Machine and
enters the Clock Mode
State Machine
mode and enters
the Snooze with
Software Standby
Standby
Exits the Snooze with Software
Standby mode and Enters the
Normal mode
(From Snooze)
State Machine and
enters the Clock Mode
mode and enters
the Deep Software
Standby
Software Standby
mode and resets the
MCU
Software Standby
mode and resets
the MCU