EasyManuals Logo

Renesas M32R/ECU Series User Manual

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #711 background imageLoading...
Page #711 background image
17
17-8
RAM BACKUP MODE
32180 Group User's Manual (Rev.1.0)
17.4 Exiting RAM Backup Mode (Wakeup)
17.4 Exiting RAM Backup Mode (Wakeup)
The processing to place the M32R/ECU out of RAM backup mode and return it to normal operation mode is
referred to as wakeup processing. Figure 17.4.1 shows an example of wakeup processing.
Wakeup processing is initiated by applying a reset. The following shows how to execute wakeup processing.
(1) Reset the microcomputer ((a) in Figure 17.4.1).
(2) Set port X for output mode and output a high from the port ((b) in Figure 17.4.1) (Note 1)
(3) Compare the RAM content against the RAM check data created before entering RAM backup mode ((c) in
Figure 17.4.1).
(4) If the comparison in (3) did not match, initialize the RAM ((d) in Figure 17.4.1).
If the comparison in (3) matched, use the retained data in the program.
(5) Initialize each internal circuit ((e) in Figure 17.4.1) before returning to the main routine ((f) in Figure 17.4.1).
Note 1: For wakeup from power outage RAM backup mode, port X settings are unnecessary.
Figure 17.4.1 Wakeup Processing
OK
Error
Compare RAM content
against backup RAM
check data
Initialize the RAM
Example of wakeup processing
Reset
Set the transistor's base
connecting pin (port X)
for high-level output mode
(Note 1)
Initialize each circuit
To the main routine
(a)
(b)
(c)
(d)
(e)
(f)
Note 1: For wakeup from power outa
g
e RAM backup mode
,
port X settin
g
s are unnecessar
y
.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas M32R/ECU Series and is the answer not in the manual?

Renesas M32R/ECU Series Specifications

General IconGeneral
BrandRenesas
ModelM32R/ECU Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals