English
Language : 

C515A_9708 Datasheet, PDF (146/182 Pages) Siemens Semiconductor Group – 8-Bit CMOS Microcontroller
Fail Safe Mechanisms
C515A
software to examine error conditions detected by the Watchdog Timer even if meanwhile an
oscillator failure occured.
The oscillator watchdog is able to detect a recovery of the on-chip oscillator after a failure. If the
frequency derived from the on-chip oscillator is again higher than the reference the watchdog starts
a final reset sequence which takes typ. 1 ms. Within that time the clock is still supplied by the RC
oscillator and the part is held in reset. This allows a reliable stabilization of the on chip oscillator.
After that, the watchdog toggles the clock supply back to the on-chip oscillator and releases the
reset request. If no reset is applied in this moment the part will start program execution. If an
external reset is active, however, the device will keep the reset state until also the external reset
request disappears.
Furthermore, the status flag OWDS is set if the oscillator watchdog was active. The status flag can
be evaluated by software to detect that a reset was caused by the oscillator watchdog. The flag
OWDS can be set or cleared by software. An external reset request, however, also resets OWDS
(and WDTS).
If software power-down mode is activated the RC oscillator and the on-chip oscillator is stopped.
Both oscillators are again started in power-down mode when a low level is detected at the P3.2/
INT0 input pin and when bit EWPD in SFR PCON1 is set (wake-up from power-down mode
enabled). After the start-up phase of the watchdog circuitry in power-down mode, a power-down
mode wake-up interrupt is generated (instead of an internal reset). Detailed description of the wake-
up from software power-down mode is given in section 9.4.2.
Special Function Register IP0 (Address A9H)
Reset Value : 00H
MSB
LSB
Bit No. 7
6
5
4
3
2
1
0
A9H OWDS WDTS IP0.5 IP0.4 IP0.3 IP0.2 IP0.1 IP0.0 IP0
The shaded bits are not used for fail save control.
Bit
OWDS
Function
Oscillator Watchdog Timer Status Flag.
Set by hardware when an oscillator watchdog reset occured. Can be
set and cleared by software.
Semiconductor Group
8-8
1997-08-01