Fast Internal Reset After Power-On - Siemens C541U User Manual

8-bit cmos microcontroller
Table of Contents

Advertisement

5.2

Fast Internal Reset after Power-On

The C541U uses the oscillator watchdog unit for a fast internal reset procedure after power-on.
Figure 5-1 shows the power-on sequence under control of the oscillator watchdog.
Normally the devices of the 8051 family do not enter their default reset states 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. 10 ms). During this time period the pins have an
undefined state which could have severe effects especially to actuators connected to port pins.
In the C541U the oscillator watchdog unit avoids this situation. In this case, 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 detected the watchdog
uses the RC oscillator output as clock source for the chip rather than the on-chip oscillator's output.
This allows correct resetting of the part and brings also all ports to the defined state (see figure 5-2).
Under worst case conditions (fast
port condition), the delay between power-on and the correct port reset state is :
18 µs
– Typ.:
34 µs
– Max.:
The RC oscillator will already run at a
V
rise times the delay time will be less than the two values given above.
DD
After the on-chip oscillator has finally started, the oscillator watchdog detects the correct function;
then the watchdog still holds the reset active for a time period of max. 768 cycles of the RC oscillator
clock in order to allow the oscillation of the on-chip oscillator to stabilize (figure 5-2, II).
Subsequently the clock is supplied by the on-chip oscillator and the oscillator watchdog's reset
request is released (figure 5-2, III). However, an externally applied reset still remains active
(figure 5-2, IV) and the device does not start program execution (figure 5-2, V) before the external
reset is also released.
Although the oscillator watchdog provides a fast internal reset it is additionally necessary to apply
the external reset signal when powering up. The reasons are as follows:
Termination of software power down mode
Reset of the status flag OWDS that is set by the oscillator watchdog during the power up
sequence.
Using a crystal or ceramic resonator for clock generation, the external reset signal must be held
active at least until the on-chip oscillator has started and the internal watchdog reset phase is
completed (after phase III in figure 5-2). When an external clock generator is used, phase II is very
short. Therefore, an external reset time of typically 1 ms is sufficent in most applications.
Generally, for reset time generation at power-on an external capacitor can be applied to the RESET
pin.
Semiconductor Group
rise time - e.g. 1 µs, measured from
V
DD
V
below 4.0V (lower specification limit). Therefore, at slower
DD
5-3
Reset / System Clock
C541U
V
= 4.25 V up to stable
DD
1997-10-01

Advertisement

Table of Contents
loading

Table of Contents