st52f513 STMicroelectronics, st52f513 Datasheet - Page 47

no-image

st52f513

Manufacturer Part Number
st52f513
Description
8-bit Microcontrollers
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st52f5136G3M6
Manufacturer:
ST
0
Part Number:
st52f513F3M6TR
Manufacturer:
ON
Quantity:
2 835
Part Number:
st52f513G3M6
Manufacturer:
ST
0
Part Number:
st52f513G3M6
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513G3M6TR
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513GM6
Manufacturer:
ST
0
Part Number:
st52f513Y3M6
Manufacturer:
ST
0
6.2 Reset
Four Reset sources are available:
When a Reset event occurs, the user program
restarts from the beginning.
6.2.1 External Reset. Reset is an input pin. An
internal reset does not affect this pin. A Reset
signal
recognized immediately. The RESET pin may be
used to ensure Vdd has risen to a point where the
ICU can operate correctly before the user program
is run. Reset must be set to Vdd in working mode.
An internal Pull up resistor guarantees that the
RESET pin is at level “1” when no HALT or Power-
On events occur.
for more details.
6.2.2 Reset Procedures. After the Reset pin is
set to Vdd or following a Power-On Reset event,
the device is not started until the external supply
voltage has reached a threshold level (typical
value Vdd=2.6 V, see electrical characteristics).
Figure 6.2 Reset Block Diagram
RESET
RESET pin (external source)
WATCHDOG (internal source)
POWER ON Reset (Internal source)
PLVD Reset (Internal source)
Vdd
originated
POWER-ON
RESET
See Table 16.9
by
external
4096 x TCLK
and
TCLK = Internal Clock period (100 ns)
CKMOD1:0 = see Option Byte 0 (OSC_CR)
W AKEUP = see Option Byte 7 (W AKEUP)
W ATCHDOG
sources
Table 16.15
PLVD
CKMOD1:0
is
PROGRAMMABLE LOW VOLTAGE DETECTOR RESET
INTERNAL CLOCK SOURCES
EXTERNAL CLOCK
After this level has been reached, the internal
oscillator (10 MHZ) is started and a delay period of
4096 clock cycles is initiated, in order to allow the
oscillator to stabilize and to ensure that recovery
has taken place from the Reset state.
If the device has been configured to work with the
internal clock, the user program starts, otherwise
the Option Byte 7 (WAKEUP) is read and another
count starts before running the user program. The
duration of the count depends on the contents of
the Option Byte 7 (WAKEUP), that works as a
prescaler, according to the following formula:
This delay has been introduced in order to ensure
that the oscillator has become stable after its
restart.
If the Reset is generated by the PLVD or the
Watchdog, the oscillator is not turned off; for this
reason the CPU is then restarted immediately,
without the delay.
After a RESET procedure is completed, the core
reads the instruction stored in the first 3 bytes of
the Program/Data Memory, which contains a
JUMP instruction to the first instruction of the user
program.
generates this Jump instruction with the first
instruction address.
Delay
(W AKEUP+1) x
4096 x TCLK
=
The
WATCHDOG RESET
4096
Assembler
WAKEUP
ST52510xx ST52513xx
tool
+
1
automatically
INTERNAL RESET
Tclk
47/136

Related parts for st52f513