Semiconductor Group
8-6
1997-10-01
Fail Safe Mechanisms
C541U
8.2.1 Functionality of the Oscillator Watchdog Unit
Figure 8-2 shows the block diagram of the oscillator watchdog unit. It consists of an internal RC
oscillator which provides the reference frequency for the comparison with the frequency of the on-
chip oscillator.
Figure 8-2
Functional Block Diagram of the Oscillator Watchdog
The frequency coming from the RC oscillator is divided by 10 and compared to the on-chip
oscillator’s frequency. If the frequency coming from the on-chip oscillator is found lower than the
frequency derived from the RC oscillator the watchdog detects a failure condition (the oscillation at
the on-chip oscillator could stop because of crystal damage etc.). In this case it switches the input
of the internal clock system to the output of the RC oscillator. This means that the part is being
clocked even if the on-chip oscillator has stopped or has not yet started. At the same time the
watchdog activates the internal reset in order to bring the C541U in its defined reset state. The reset
is performed because a clock is available from the RC oscillator. This internal watchdog reset has
the same effects as an externally applied reset signal with the following exceptions: The watchdog
timer status flag WDTS is not reset (the watchdog timer however is stopped) and bit OWDS is set.
This allows the software to examine error conditions detected by the watchdog timer even if
meanwhile an oscillator failure occured.
Int. Clock
XTAL2
XTAL1
OWDS
MCD03385
WDCON (C0 )
H
3 MHz
f
RC
Delay
1
f
2
f
2
f
1
f
<
Activity on
Start /
Stop
Start /
Stop
Mode Activated
Power - Down
Power-Down Mode
Wake - Up Interrupt
Internal Reset
10
P3.2 / INT0
Control
WS
(PCON1.4)
(PCON1.7)
EWPD
>1
Frequency
Comparator
RC
On-Chip
Oscillator
Logic
Oscillator
Logic
Control
USB Bus
Содержание C541U
Страница 1: ... 8 LW 026 0LFURFRQWUROOHU 8VHU V 0DQXDO http www siem ens d Sem iconductor ...
Страница 7: ......
Страница 21: ...Semiconductor Group 2 6 1997 10 01 Fundamental Structure C541U ...
Страница 37: ...Semiconductor Group 4 6 1997 10 01 External Bus Interface C541U ...
Страница 133: ...Semiconductor Group 6 88 1999 04 01 On Chip Peripheral Components C541U ...
Страница 163: ...Semiconductor Group 8 8 1997 10 01 Fail Safe Mechanisms C541U ...
Страница 185: ...Semiconductor Group 10 14 1997 10 01 OTP Memory Operation C541U ...
Страница 192: ...Semiconductor Group 12 7 Index C541U ...