MB91307B
16
Precautions for use of stop mode
The built-in regulator in this device stops operating when the device is in stop mode. In such cases as when
increased leak current (I
CCH
) in stop mode, or abnormal operation or power fluctuation due to noise while in
operating mode cause the regulator to stop, the internal 2.5 V power supply can ball below the voltage at which
operation is assured. Therefore it is necessary when using the internal regulator and stop mode to assure that
the external power supply does not fall below 3.3 V. And even if this should occur, the internal regulator can be
set to restart when a reset is applied. (In this case the oscillator stabilization wait period should also be set to L
level.)
Sample use of Stop Mode with 3.3 V power supply
Low-power consumption modes
To enter the standby mode, use the synchronous standby mode (set with the SYNCS bit as bit 8 in the
TBCR, or time-base counter control register) and be sure to use the following sequence:
(LDI
#value_of_standby, R0)
(LDI
#_STCR, R12)
STB
R0, @R12
; Write to standby control register (STCR)
LDUB
@R12, R0
; Read STCR for synchronous standby
LDUB
@R12, R0
; Read STCR again for dummy read
NOP
; NOP x 5 for timing adjustment
NOP
NOP
NOP
NOP
Set the I-flag and the ILM and ICR registers to branch to an interrupt handler when the interrupt handler
triggers the microcontroller to return from the standby mode.
If you use the monitor debugger, follow the precautions below:
Do not set a breakpoint within the above array of instructions.
Do not single-step the above array of instructions.
Executing instructions on RAM
If instruction codes are placed in RAM, they should not be placed in the last 8 address bytes 0005_FFFF8
H
to
0005_FFFF
H
. (Instruction code prohibited area)
0.1
μ
F
C
V
CC
3.3 V
2.4 k
7.6 k
GND
V
SS