st10f272z2 STMicroelectronics, st10f272z2 Datasheet - Page 80

no-image

st10f272z2

Manufacturer Part Number
st10f272z2
Description
16-bit Mcu With 256 Kbyte Flash Memory And 20 Kbyte Ram
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st10f272z2Q3
Manufacturer:
E-CMOS
Quantity:
10 000
Part Number:
st10f272z2Q3
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st10f272z2T3
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st10f272z2T3
Manufacturer:
ST
0
Watchdog timer
19
80/189
Watchdog timer
The Watchdog Timer is a fail-safe mechanism which prevents the microcontroller from
malfunctioning for long periods of time.
The Watchdog Timer is always enabled after a reset of the chip and can only be disabled in
the time interval until the EINIT (end of initialization) instruction has been executed.
Therefore, the chip start-up procedure is always monitored. The software must be designed
to service the watchdog timer before it overflows. If, due to hardware or software related
failures, the software fails to do so, the watchdog timer overflows and generates an internal
hardware reset. It pulls the RSTOUT pin low in order to allow external hardware components
to be reset.
Each of the different reset sources is indicated in the WDTCON register:
The indicated bits are cleared with the EINIT instruction. The source of the reset can be
identified during the initialization phase.
The Watchdog Timer is 16-bit, clocked with the system clock divided by 2 or 128. The high
Byte of the watchdog timer register can be set to a pre-specified reload value (stored in
WDTREL).
Each time it is serviced by the application software, the high byte of the watchdog timer is
reloaded. For security, rewrite WDTCON each time before the watchdog timer is serviced
The
clock respectively.
Table 47.
Table 48.
Reload value in WDTREL
Reload value in WDTREL
Table 47
Watchdog Timer Reset in case of an overflow
Software Reset in case of execution of the SRST instruction
Short, Long and Power-On Reset in case of hardware reset (and depending of reset
pulse duration and RPD pin configuration)
WDTREL reload value (f
WDTREL reload value (f
FFh
FFh
00h
00h
and
Table 48
show the watchdog time range for 40 MHz and 64 MHz CPU
CPU
CPU
2 (WDTIN = ‘0’)
2 (WDTIN = ‘0’)
3.277 ms
2.048 ms
12.8 µs
= 40 MHz)
= 64 MHz)
8 µs
Prescaler for f
Prescaler for f
CPU
CPU
= 40 MHz
= 64 MHz
128 (WDTIN = ‘1’)
128 (WDTIN = ‘1’)
209.7 ms
131.1 ms
819.2 µs
512 µs
ST10F272Z2

Related parts for st10f272z2