Warm-Up Counter Mode; Low-Frequency Warm-Up Counter Mode (Normal1 → Normal2 → Slow2 → Slow1) - Philips CEM2100/00 Service Manual

Mini system
Hide thumbs Also See for CEM2100/00:
Table of Contents

Advertisement

10.3.9 Warm-Up Counter Mode

In this mode, the warm-up period time is obtained to assure oscillation stability when the system clocking is
switched between the high-frequency and low-frequency. The timer counter 3 and 4 are cascadable to form a
16-bit TimerCounter. The warm-up counter mode has two types of mode; switching from the high-frequency to
low-frequency, and vice-versa.
Note 1: In the warm-up counter mode, fix TCiCR<TFFi> to 0. If not fixed, the
pulses.
Note 2: In the warm-up counter mode, only upper 8 bits of the timer register TTREG4 and 3 are used for match
detection and lower 8 bits are not used.
Note 3: i = 3, 4
10.3.9.1 Low-Frequency Warm-up Counter Mode
(NORMAL1 → NORMAL2 → SLOW2 → SLOW1)
In this mode, the warm-up period time from a stop of the low-frequency clock fs to oscillation stability
is obtained. Before starting the timer, set SYSCR2<XTEN> to 1 to oscillate the low-frequency clock.
When a match between the up-counter and the timer register (TTREG4, 3) value is detected after the timer
is started by setting TC4CR<TC4S> to 1, the counter is cleared by generating the INTTC4 interrupt
request. After stopping the timer in the INTTC4 interrupt service routine, set SYSCR2<SYSCK> to 1 to
switch the system clock from the high-frequency to low-frequency, and then clear of SYSCR2<XEN> to
0 to stop the high-frequency clock.
Table 10-8 Setting Time of Low-Frequency Warm-Up Counter Mode (fs = 32.768 kHz)
Example :After checking low-frequency clock oscillation stability with TC4 and 3, switching to the SLOW1 mode
PINTTC4:
VINTTC4:
Minimum Time Setting
(TTREG4, 3 = 0100H)
7.81 ms
SET
(SYSCR2).6
LD
(TC3CR), 43H
LD
(TC4CR), 05H
LD
(TTREG3), 8000H
DI
SET
(EIRH). 1
EI
SET
(TC4CR).3
:
:
CLR
(TC4CR).3
SET
(SYSCR2).5
CLR
(SYSCR2).7
RETI
:
:
DW
PINTTC4
Page 117
,
PDOi
PWMi
Maximum Time Setting
(TTREG4, 3 = FF00H)
1.99 s
: SYSCR2<XTEN>
1
: Sets TFF3=0, source clock fs, and 16-bit mode.
: Sets TFF4=0, and warm-up counter mode.
: Sets the warm-up time.
(The warm-up time depends on the oscillator characteristic.)
: IMF
0
: Enables the INTTC4.
: IMF
1
: Starts TC4 and 3.
: Stops TC4 and 3.
: SYSCR2<SYSCK>
1
(Switches the system clock to the low-frequency clock.)
: SYSCR2<XEN>
0 (Stops the high-frequency clock.)
: INTTC4 vector table
T5CL8
and
pins may output
PPGi

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cem2100Cem2100/98

Table of Contents