English
Language : 

C541U_99 Datasheet, PDF (156/192 Pages) Siemens Semiconductor Group – 8-BIT CMOS MICROCONTROLLER
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 fOSC/12
or fOSC/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.
f OSC / 6
2
16
0
7
WDTL
WDT Reset-Request
WDCON (CO H )
-
-
-
- OWDS WDTS WDT SWDT
Control Logic
External HW Reset
14
8
WDTH
WDTPSEL
76
0
WDTREL
MCB03384
Figure 8-1
Block Diagram of the Programmable Watchdog Timer
Note : WDTH and WDTL cannot be accessed by software.
Semiconductor Group
8-1
1997-10-01