English
Language : 

C515A Datasheet, PDF (37/58 Pages) Siemens Semiconductor Group – 8-Bit CMOS Microcontroller
C515A
Fail Save Mechanisms
The C515A 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 512 µs up to
approx. 1.1 s at 12 MHz (256 µs up to approx. 0.65 s at 24 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.
The watchdog timer in the C515A is a 15-bit timer, which is incremented by a count rate of fOSC/24
up to fOSC/384. The system clock of the C515A is divided by two prescalers, a divide-by-two and a
divide-by-16 prescaler. For programming of the watchdog timer overflow rate, the upper 7 bit of the
watchdog timer can be written. Figure 15 shows the block diagram of the watchdog timer unit.
f OSC /12
2
16
0
7
WDTL
14
8
- WDTS -
WDT Reset-Request
IP0 (A9 H )
-----
WDTPSEL
WDTH
External HW Reset
External HW Power-Down
PE/SWD
76
0
Control Logic
WDTREL (86 H )
- WDT -
-
-
-
-
- IEN0 (A8 )H
- SWDT -
-
-
-
-
- IEN1 (B8 )H
MCB03250
Figure 17
Block Diagram of the Watchdog Timer
The watchdog timer can be started by software (bit SWDT) or by hardware through pin PE/SWD,
but it cannot be stopped during active mode of the C515A. If the software fails to refresh the running
watchdog timer an internal reset will be initiated on watchdog timer overflow. For refreshing of the
watchdog timer the content of the SFR WDTREL is transferred to the upper 7-bit of the watchdog
timer. The refresh sequence consists of two consecutive instructions which set the bits WDT and
SWDT each. The reset cause (external reset or reset caused by the watchdog) can be examined
by software (flag WDTS). It must be noted, however, that the watchdog timer is halted during the
idle mode and power down mode of the processor.
Semiconductor Group
37
1997-10-01