st62t62cmae STMicroelectronics, st62t62cmae Datasheet - Page 23

no-image

st62t62cmae

Manufacturer Part Number
st62t62cmae
Description
8-bit Otp/eprom/fastrom Mcus With A/d Converter, Safe Reset, Auto-reload Timer And Eeprom
Manufacturer
STMicroelectronics
Datasheet
RESETS (Cont’d)
3.2.6 MCU Initialization Sequence
When a reset occurs the stack is reset, the PC is
loaded with the address of the Reset Vector (locat-
ed in program ROM starting at address 0FFEh). A
jump to the beginning of the user program must be
coded at this address. Following a Reset, the In-
terrupt flag is automatically set, so that the CPU is
in Non Maskable Interrupt mode; this prevents the
initialisation routine from being interrupted. The in-
itialisation routine should therefore be terminated
by a RETI instruction, in order to revert to normal
mode and enable interrupts. If no pending interrupt
is present at the end of the initialisation routine, the
MCU will continue by processing the instruction
immediately following the RETI instruction. If, how-
ever, a pending interrupt is present, it will be serv-
iced.
Figure 16. Reset Block Diagram
RESET
1) Resistive ESD protection. Value not guaranteed.
WATCHDOG RESET
POWER
LVD RESET
V
DD
ON RESET
R
PU
R
ESD
1)
f
OSC
AND. Wired
Figure 15. Reset and Interrupt Processing
VECTOR
RESET
RESET
INITIALIZATION
ST62T52CM-Auto ST62T62CM-Auto
ROUTINE
RESET
CK
COUNTER
RESET
RETI
JP
JP:2 BYTES/4 CYCLES
RETI: 1 BYTE/2 CYCLES
ST6
INTERNAL
RESET
VR02107A
VA00181
23/72

Related parts for st62t62cmae