BAT32G1x9 user manual | Chapter 29 Reset function
1079 / 1149
Rev.1.02
Chapter 29 Reset function
The following 7 methods generate a reset signal.
(1) Input external reset via the RESETB pin.
(2) An internal reset is generated by the program runaway detection of the watchdog timer.
(3) An internal reset is generated by comparing the supply voltage and the sense voltage of the power-on reset (POR)
circuit.
(4) An internal reset is generated by comparing the supply voltage and the sense voltage of the voltage detection
circuit (LVD).
(5) Due to system reset requests register bit (AIRCR. SYSRESETREQ) is set to 1 to produce an internal reset.
(6) Internal reset due to RAM parity error.
(7) Internal reset due to access to illegal memory.
(8) The stop detection function selects a reset mode and detects the stop to produce an internal reset.
Internal reset is the same as external reset, and after generating a reset signal, the program is executed
starting from the user-defined program start address.
When the RESETB pin is given a low input level, or the watchdog timer detects that the program is out of
control, or the voltage of the POR circuit and the LVD circuit is detected, or the system reset request bit is set, or
the RAM parity test error occurs, or the illegal memory is accessed. Alternatively, when a damping is detected,
a reset is generated, and each hardware becomes in a state shown in Table 28-1.
Note 1
When performing an external reset, a
low of
10us
must be input to the
RESETB
pin. If an external reset is
performed while the supply voltage rises, the power must be switched on
after inputting a low level to the
RESETB
pin and maintaining at least
10us
of operating voltage as shown
in
the AC
characteristics
of
the datasheet
low
level, and then enter high level.
2. Stop oscillating of
X1
clock,
XT1
clock, high-speed internal oscillator clock, and low-speed internal oscillator clock
during the reset signal. The inputs to the external master system clock and the external subsystem clock are
invalid.
3. If a reset occurs, each
SFR
is initialized so that the port pins become the following:
• P40: High impedance during external reset or
POR
reset. High during other resets and after receiving the reset
(pull-up resistance inside the connection).
•P130: Outputs low during reset and after receiving reset.
•Ports other than
P40, P130: High impedance during reset and after receiving reset.