2.0 Device Architecture and Configuration (Continued)
33
www.national.com
2.3
THE CLOCK MULTIPLIER
The source of all internal clocks in the chip is either an external 48 MHz clock on the CLKIN pin, or the on-chip clock multi-
plier. The clock multiplier is fed by applying a clock source at one of two frequencies on the CLKIN pin: 32.768 KHz or
14.31818 MHz. The clock multiplier generates two internal clocks, 24 MHz and 48 MHz. These clocks are needed for all the
modules in the PC8739x with the exception of the X-Bus module. After power-up or reset, the clock (clock multiplier or ex-
ternal clock) is disabled.
2.3.1
Functionality
The on-chip clock multiplier starts working when it is enabled by bit 2 of the SIOCF9 register, index 29h, i.e., when its value
changes from 0 to 1 (only for source clocks 32.768 KHz or 14.31818 MHz). This bit can also disable the clock multiplier and
its output clock after the multiplier is enabled. Once enabled, the output clock is frozen to a steady logic level until the mul-
tiplier provides a stable output clock that meets all requirements. Then the clock starts toggling.
On power-up when VDD is applied, the chip wakes up with the on-chip clock multiplier disabled. The input and output clocks
of the clock multiplier may toggle regardless of the state of the Master Reset (MR) pin. The clock multiplier waits for a toggling
input clock.
Bit 3 of the SIOCF9 register, a read only bit, is the Valid Clock Multiplier status bit. While stabilizing, the output clock is frozen
to a steady logic level, and the status bit is cleared to 0 to indicate a frozen clock. When the clock multiplier is stable, the
output clock starts toggling and the status bit is set to 1. It tells the software when the clock multiplier is ready. The software
should poll this status bit until it is set (1), and only then activate (enable) the FDC, Parallel Port, UARTs and infrared inter-
face. When the multiplier is enabled for the first time after power-up, more time is required until this status bit is set to 1.
The clock multiplier and its output clock do not consume power when they are disabled.
2.3.2
Chip Power-Up
To ensure proper operation, proceed as follows after power-up:
1. Set bits 2, 1 and 0 of the Clock Control Configuration register (SIOCF9) at index 29h according to the clock source used
(even if the external clock is the default frequency setting). See Table
13. Bits 2, 1 and 0 may be written in a single write
cycle. From this point on, bits 1 and 0 of the SIOCF9 register are read only. The value of the clock source cannot be
changed, except by a total power-down and power-up cycle. However, the clock can be disabled at any time.
Table 13. Clock Multiplier Encoding Options
2.
Enable the clock.
If the clock source is 32.768 kHz or 14.31818 MHz:
— Poll bit 3 of the SIOCF9 register while the clock multiplier is stabilizing.
— When bit 3 of SIOCF9 is set to 1, go to step
3. 3. Enable any module in the chip, as needed.
2.3.3
Disabling the Clock
Before disabling the clock multiplier (by clearing bit 2 of SIOCF9 Register) or the external clock (for 48 MHz), make sure that
all PC8739x modules are disabled. This is done by polling bit 4 of the SIOCF9 register (Module Enable Status) for 0.
2.3.4
Specifications
Wake-up time is 33 msec (maximum). This is measured from valid VDD toggling of the input clock and multiplier enabled
until the clock is stable. Tolerance (long term deviation) of the multiplier output clock, relative to the input clock, is
±110 ppm.
Total tolerance is therefore
± (input clock tolerance + 110 ppm). Cycle by cycle variance is 0.4 nsec (maximum).
External Source on CLKIN Pin
SIOCF9 Register (Index 29h)
Valid Clock
Multiplier
Status
Clock Enable
Chip Clock
Source
Bit 3
Bit 2
Bit 1 Bit 0
External 48 MHz clock
Always 1
1
0
32.768 KHz clock multiplier
0 = Frozen
1 = Stable
10
1
14.31818 MHz clock multiplier
1
0
No clock
0
10, 01, 00