04 - Clock Generator 8284A
04 - Clock Generator 8284A
Objectives
1. Discuss the pin configurations and operations of the 8284A clock generator.
2. Start the first phase of designing a single-board 8086-based microcomputer system.
This phase involves making the basic connections of the 8086 microprocessor in mi-
nimum mode and interfacing the 8284A clock generator.
4.1 Background
The 8284A is an integrated circuit designed specifically for use with the 8086/8088 micro-
processors. This circuit provides the following basic functions or signals : clock generation,
RESET synchronization, and READY synchronization.
CYNC 1 18 VCC
PCLK 2 17 X1
AEN1 3 16 X2
RDY1 4 15 ASYNC
RDY2 6 13 F/C
AEN2 7 12 OSC
CLK 8 11 RES
GND 9 10 RESET
ASYNC
Ready Synchronization Select (ASY N C) is an active LOW input which defines the synchro-
nization mode of the READY logic. When ASY N C is LOW, two stages of READY syn-
chronization are provided. When ASY N C is left open or HIGH, a single stage of READY
synchronization is provided.
READY
READY is an active HIGH output signal which is the synchronized RDY signal input.
READY is cleared after the guaranteed hold time to the processor has been met.
X1 and X2
Crystal Inputs (X1 and X2) are the pins to which a crystal is attached. The crystal frequency
is 3 times the desired processor clock frequency. Note that if the crystal inputs are not used
X1 must be tied to V CC or GN D and X2 should be left open.
F/C
Frequency/Crystal Select (F/C) is an input used as a strapping option. When strapped
LOW, F/C permits the processor’s clock to be generated by the crystal. When F/C is
strapped HIGH, CLK is generated for the EF I input.
EFI
External Frequency Input (EF I) is strapped HIGH, CLK is generated from the input
frequency appearing on this pin. The input signal is a square wave 3 times the frequency
of the desired CLK output.Frequency/Crystal Select (F/C) is an input used as a strapping
option. When strapped LOW, F/C permits the processor’s clock to be generated by the
crystal. When F/C is strapped HIGH, CLK is generated for the EF I input.
4.1 Background 31
CLK
Processor Clock (CLK) is the clock output used by the processor and all devices which
directly connect to the processor’s local bus. CLK has an output frequency which is 1/3 of
the crystal or EF I input frequency and a 1/3 duty cycle.
PCLK
Peripheral Clock (P CLK) is a peripheral clock signal whose output frequency is 1/2 that
of CLK and has a 50% duty cycle.
OSC
Oscilloscope Clock (OSC) is the output of the internal oscillator circuitry. Its frequency is
equal to that of the crystal.
RES
Reset Input (RES) is an active LOW input signal which is used to generate RESET . The
82C84A provides a schmitt trigger input so that an RC connection can be used to establish
the power-up reset of proper duration.
RESET
RESET is an active HIGH output signal which is used to reset the 80x86 family processors.
Its timing characteristics are determined by RES.
CSYNC
Clock Synchronization (CSY N C) is an active HIGH input signal which allows multiple
8284A chips to be synchronized to provide clocks that are in phase. When CSY N C is
HIGH the internal counters are reset. When CSY N C goes LOW the internal counters are
allowed to resume counting. CSY N C needs to be externally synchronized to EF I. When
using the internal oscillator CSY N C should be hardwired to ground.
Clock Generator
The 8284A can derive its basic operating frequency from one of two sources : (1) an external
frequency source connected to the EF I pin, and (2) a quartz crystal connected to X1 and
X2. The control input F/C is used to select one of these sources. The crystal frequency
should be selected at three times the required CPU clock. The 8284A generates three clock
signals : OSC, CLK and P CLK. The OSC has the same frequency as the crystal (or the
external frequency) and can be used to test the clock generator or as and external frequency
32 Clock Generator 8284A
input to other 8284A chips. The CLK is 1/3 the frequency of the crystal (or the external
frequency) with a 33% duty cycle designed to drive the 8086 processor directly. The P CLK
is a peripheral clock signal whose output frequency is 1/2 that of the CLK with 50% duty
cycle.
RESET Logic
The 8284A generates an active HIGH signal (RESET ) which is used to reset the 8086
microprocessor. This signal must be held high for at least 50μs in order to guarantee a
correct reset of the microprocessor. This requirement can be achieved using a simple RC
circuit as will be explained later in this experiment.
READY Synchronization
The READY signal is used by slow devices (memory or I/O peripherals) to request the
processor to extend the bus cycle to allow these device to finish reading/writing from/to
the bus. The 8284A generates a READY signal that is synchronized with the CPU clock.
For this project, READY synchronization is not required.
Figure 4.5 – Adding CLK and RESET terminals to the 8284A schematic.
4.4 Testing the Design 35
Vc = Vs (1 − exp−t/RC ) (4.1)
Where,
— Vc is the voltage across the capacitor,
— Vs is the supply voltage,
— t is the elapsed time since the application Vs, and
— RC is the time constant of the RC charging circuit .
Exercise 4.1 Using the RC charging formula, calculate the duration of the reset signal assuming that
the minimum high voltage of the 8284A is 2.5V (i.e. Vc = 2.5V ) .
To complete the analog analysis click on the "Simulate Graph" button as shown in
Figure 4.10. The analog analysis simulation shows that the capacitor charge will reach 2.5V
after 69.5ms as illustrated in the figure.
Exercise 4.2 Compare the minimum reset time calculated in Exercise 4.1 with the minimum reset time
measured using analog analysis.
38 Clock Generator 8284A