English
Language : 

C515C_9711 Datasheet, PDF (215/268 Pages) Siemens Semiconductor Group – 8-Bit CMOS Microcontroller
Fail Save Mechanisms
C515C
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.
Fast Internal Reset after Power-On
The C515C can use the oscillator watchdog unit for a fast internal reset procedure after power-on.
Normally the members of the 8051 family (e. g. SAB 80C52) enter their default reset state not before
the on-chip oscillator starts. The reason is that the external reset signal must be internally
synchronized and processed in order to bring the device into the correct reset state. Especially if a
crystal is used the start up time of the oscillator is relatively long (typ. 1 ms). During this time period
the pins have an undefined state which could have severe effects e.g. to actuators connected to
port pins.
In the C515C the oscillator watchdog unit avoids this situation. After power-on the oscillator
watchdog's RC oscillator starts working within a very short start-up time (typ. less than
2 microseconds). In the following the watchdog circuitry detects a failure condition for the on-chip
oscillator because this has not yet started (a failure is always recognized if the watchdog's RC
oscillator runs faster than the on-chip oscillator). As long as this condition is valid the watchdog uses
the RC oscillator output as clock source for the chip. This allows correct resetting of the part and
brings all ports to the defined state (see also chapter 5 of this manual).
Semiconductor Group
8-8
1997-11-01