External Clock Divide-By-Two (D1); Oscillator Control; Chapter 3. Clock (Continued) - ZiLOG Z8 User Manual

Hide thumbs Also See for Z8:
Table of Contents

Advertisement

Z8 Microcontrollers
Clock
(SCLK control) and/or HALT mode (where TCLK sources
counter/timers and interrupt logic).

3.2.2 External Clock Divide-By-Two (D1)

This bit can eliminate the oscillator divide-by-two circuitry.
When this bit is 0, SCLK (System Clock) and TCLK (Timer
Clock) are equal to the external clock frequency divided by two.
The SCLK/TCLK is equal to the external clock frequency when
this bit is set (D1 = 1). Using this bit, together with D7 of PCON,
further helps lower EMI (D7 (PCON) = 0, D1 (SMR) = 1). The
default setting is 0. Maximum frequency is 4 MHz with D1=1
(Figure 3-3).
D1 (SMR)
D0 (SMR)
External Clock
Figure 3-3. External Clock Circuit
3-2
OSC
÷
2
÷
16

3.3 OSCILLATOR CONTROL

In some cases, the Z8 MCU offers software control of the oscil-
lator to select low EMI drive or standard drive. The selection is
done by programming bit D7 of the Port Configuration (PCON)
register (Figure 3-4). The PCON register is located in Expanded
Register File Bank F, Register 00H.
A 1 in bit D7 configures the oscillator with standard drive, while
a 0 configures the oscillator with Low EMI drive. This only af-
fects the drive capability of the oscillator and does not affect the
relationship of the XTAL clock frequency to the internal system
clock (SCLK).
PCON (FH) 00H
D7 D6 D5 D4 D3 D2 D1 D0
Figure 3-4. Port Configuration Register (PCON)
(Write-Only)
ZiLOG
Low EMI Oscillator
0 Low EMI
1 Standard
UM001601-0803

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z8 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents