HT46R47
Reset
V
D
D
There are three ways in which a reset can occur:
·
·
·
RES reset during normal operation
RES reset during HALT
R
E
S
WDT time-out reset during normal operation
The WDT time-out during HALT is different
from other chip reset conditions, since it can
perform a ²warm reset² that resets only the PC
and SP, leaving the other circuits in their origi-
nal state. Some registers remain unchanged
during other reset conditions. Most registers
are reset to the ²initial condition² when the re-
set conditions are met. By examining the PD
and TO flags, the program can distinguish be-
tween different ²chip resets².
Reset circuit
H
A
L
T
W
a
r
m
R
e
s
e
t
W
D
T
R
E
S
C
R
o
e
l
s
d
e
t
TO PD
RESET Conditions
RES reset during power-up
RES reset during normal operation
RES wake-up HALT
S
S
T
1
1
0
-
b
i
t
R
i
p
p
l
e
O
S
C
0
u
0
0
u
1
C
o
u
n
t
e
r
S
y
s
t
e
m
R
e
s
e
t
Reset configuration
WDT time-out during normal opera-
tion
1
1
u
1
The functional unit chip reset status are shown
below.
WDT wake-up HALT
PC
000H
Note: ²u² means ²unchanged²
Interrupt
Disable
To guarantee that the system oscillator is
started and stabilized, the SST (System
Start-up Timer) provides an extra-delay of
1024 system clock pulses when the system reset
(power-up, WDT time-out or RES reset) or the
system awakes from the HALT state.
Clear. After master reset,
WDT begins counting
WDT
T i m e r / E v e n t
Counter
Off
I n p u t / o u t p u t
Ports
Input mode
When a system reset occurs, the SST delay is
added during the reset period. Any wake-up
from HALT will enable the SST delay.
Points to the top of the
stack
SP
V
D
D
R
E
S
t
S
S
T
S
S
T
T
i
m
e
-
o
u
t
C
h
i
p
R
e
s
e
t
Reset timing chart
Rev. 1.40
14
July 18, 2001