Semiconductor Group
8-1
1997-10-01
Fail Safe Mechanisms
C541U
8
Fail Safe Mechanisms
The C541U offers enhanced fail safe mechanisms, which allow an automatic recovery from
software upset or hardware failure :
– a programmable watchdog timer (WDT), with variable time-out period from 256
µ
s up to
approx. 0.55
µ
s at 12 MHz.
– an oscillator watchdog (OWD) which monitors the on-chip oscillator and forces the
microcontroller into reset state in case the on-chip oscillator fails; it also provides the clock for
a fast internal reset after power-on.
8.1
Programmable Watchdog Timer
To protect the system against software upset, the user’s program has to clear this watchdog within
a previously programmed time period. lf the software fails to do this periodical refresh of the
watchdog timer, an internal hardware reset will be initiated. The software can be designed so that
the watchdog times out if the program does not work properly. lt also times out if a software error is
based on hardware-related problems.
The watchdog timer in the C541U is a 15-bit timer, which is incremented by a count rate of
f
OSC
/12
or
f
OSC
/192. The system clock of the C541U is divided by two prescalers, a divide-by-two and a
divide-by-16 prescaler which are selected by bit WDTPSEL (WDTREL.7). For programming of the
watchdog timer overflow rate, the upper 7 bit of the watchdog timer can be written. Figure 8-1
shows the block diagram of the watchdog timer unit.
Figure 8-1
Block Diagram of the Programmable Watchdog Timer
Note : WDTH and WDTL cannot be accessed by software.
MCB03384
WDCON (CO )
H
OSC
f
-
-
-
-
OWDS WDTS
WDT
SWDT
2
16
14
0
7
8
WDTL
WDTH
/ 6
External HW Reset
Control Logic
6
7
0
WDT Reset-Request
WDTPSEL
WDTREL
Содержание C541U
Страница 1: ... 8 LW 026 0LFURFRQWUROOHU 8VHU V 0DQXDO http www siem ens d Sem iconductor ...
Страница 7: ......
Страница 21: ...Semiconductor Group 2 6 1997 10 01 Fundamental Structure C541U ...
Страница 37: ...Semiconductor Group 4 6 1997 10 01 External Bus Interface C541U ...
Страница 133: ...Semiconductor Group 6 88 1999 04 01 On Chip Peripheral Components C541U ...
Страница 163: ...Semiconductor Group 8 8 1997 10 01 Fail Safe Mechanisms C541U ...
Страница 185: ...Semiconductor Group 10 14 1997 10 01 OTP Memory Operation C541U ...
Страница 192: ...Semiconductor Group 12 7 Index C541U ...