17
17-4
RAM BACKUP MODE
32180 Group User's Manual (Rev.1.0)
VREFn
SBI#
ADnINi
M32R/ECU
(Note 2)
Backup battery
VCC VDDE
VBB
VREF
Reference voltage for
power outage detection
Power outage
detection signal
Backup power supply
for power outage
Power supply monitor IC
Note 1: Power outage is detected by the DC IN (regulator input) voltage.
Note 2: These pins are used to detect a RAM backup signal.
Note 3: This pin outputs a high when the power is on and outputs a low when the power is down.
Note 4: Determined by the input level on SBI# pin or ADnINi pin.
Note 5: The time needed for processing in (2) is secured by adjusting the capacitance.
VDDE
DC IN
Input
Output
Regulator
AVCCn VCC-BUS OSC-VCC
OUT
(Note 3)
VCCE
(Note 1)
(Note 4)
C
"L"
0V
0V
0V
0V
0V
(Note 5)
3.0–5.5V
Example of RAM backup processing
Power goes down
(Note 4)
Create data for
backup RAM check
(a)
(b)
(c)
RAM backup mode
17.2 Example of RAM Backup when Power is Down
17.2.2 RAM Backup State
Figure 17.2.3 shows the power outage RAM backup state of the M32R/ECU. When the power supply goes
down, the power supply monitor IC starts feeding current from the backup battery to the M32R/ECU. Also, the
power supply monitor IC’s power outage detection pin outputs a low, causing the SBI# pin or ADnINi pin to go
low, which generates a RAM backup signal ((a) in Figure 17.2.3). Determination of whether the power is down
must be made with respect to the DC IN (regulator input) voltage in order to allow for a software processing time
at power outage.
To enable RAM backup mode, make the following setting:
(1) Create data for RAM check to verify after returning from RAM backup mode to normal mode whether the
RAM data has been retained normally ((b) in Figure 17.2.3).
If the power supply to VCC goes down after setting is made in (1), the VDDE pin voltage goes to 3.0–5.5 V and all
other pin voltages drop to 0 V, and the M32R/ECU is thereby placed in RAM backup mode ((c) in Figure 17.2.3).
Figure 17.2.3 Power Outage RAM Backup State
Summary of Contents for M32R/ECU Series
Page 17: ...12 This page is blank for reasons of layout...
Page 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Page 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Page 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Page 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Page 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...