© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
41
Philips Semiconductors
UM10139
Volume 1
Chapter 3: System Control Block
3.12 Wakeup timer
The purpose of the wakeup timer is to ensure that the oscillator and other analog
functions required for chip operation are fully functional before the processor is allowed to
execute instructions. This is important at power on, all types of Reset, and whenever any
of the aforementioned functions are turned off for any reason. Since the oscillator and
other functions are turned off during Power-down mode, any wakeup of the processor
from Power-down mode makes use of the Wakeup Timer.
The Wakeup Timer monitors the crystal oscillator as the means of checking whether it is
safe to begin code execution. When power is applied to the chip, or some event caused
the chip to exit Power-down mode, some time is required for the oscillator to produce a
signal of sufficient amplitude to drive the clock logic. The amount of time depends on
many factors, including the rate of V
DD
ramp (in the case of power on), the type of crystal
and its electrical characteristics (if a quartz crystal is used), as well as any other external
circuitry (e.g. capacitors), and the characteristics of the oscillator itself under the existing
ambient conditions.
Once a clock is detected, the Wakeup Timer counts 4096 clocks, then enables the on-chip
circuitry to initialize. When the onboard modules initialization is complete, the processor is
released to execute instructions if the external Reset has been deasserted. In the case
where an external clock source is used in the system (as opposed to a crystal connected
to the oscillator pins), the possibility that there could be little or no delay for oscillator
start-up must be considered. The Wakeup Timer design then ensures that any other
required chip functions will be operational prior to the beginning of program execution.
Table 29:
VPB Divider register (VPBDIV - address 0xE01F C100) bit description
Bit
Symbol Value
Description
Reset
value
1:0
VPBDIV 00
VPB bus clock is one fourth of the processor clock.
00
01
VPB bus clock is the same as the processor clock.
10
VPB bus clock is one half of the processor clock.
11
Reserved. If this value is written to the VPBDIV register, it
has no effect (the previous setting is retained).
7:2
-
-
Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
NA
Fig 11. VPB divider connections
PLL0
Crystal oscillator
or
external clock source
(F
OSC
)
VPB
DIVIDER
Processor clock
(CCLK)
VPB Clock
(PCLK)