EasyManua.ls Logo

Intel 8253 - Page 700

Intel 8253
773 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Philips Semiconductors Linear Products Product specification
ADC0803/4-1CMOS 8-bit A/D converters
August 31, 1994
560
differential mode of the converter. Any offset adjustment should be
done prior to full scale adjustment.
Full Scale Adjustment
Full scale gain is adjusted by applying any desired offset voltage to
V
IN
(-), then applying the V
IN
(+) a voltage that is 1-1/2 LSB less than
the desired analog full-scale voltage range and then adjusting the
magnitude of V
REF
/2 input voltage (or the V
CC
supply if there is no
V
REF
/2 input connection) for a digital output code which just
changes from 1111 1110 to 1111 1111. The ideal V
IN
(+) voltage for
this full-scale adjustment is given by:
V
IN
() ) + V
IN
(*) * 1.5 x
V
MAX
* V
MIN
255
where:
V
MAX
=high end of analog input range (ground referenced)
V
MIN
=low end (zero offset) of analog input (ground referenced)
CLOCKING OPTION
The clock signal for these A/Ds can be derived from external
sources, such as a system clock, or self-clocking can be
accomplished by adding an external resistor and capacitor, as
shown in Figure 6.
Heavy capacitive or DC loading of the CLK R pin should be avoided
as this will disturb normal converter operation. Loads less than 50pF
are allowed. This permits driving up to seven A/D converter CLK IN
pins of this family from a single CLK R pin of one converter. For
larger loading of the clock line, a CMOS or low power TTL buffer or
PNP input logic should be used to minimize the loading on the CLK
R pin.
Restart During a Conversion
A conversion in process can be halted and a new conversion began
by bringing the CS
and WR inputs low and allowing at least one of
them to go high again. The output data latch is not updated if the
conversion in progress is not completed; the data from the
previously completed conversion will remain in the output data
latches until a subsequent conversion is completed.
Continuous Conversion
To provide continuous conversion of input data, the CS and RD
inputs are grounded and INTR output is tied to the WR input. This
INTR
/WR connection should be momentarily forced to a logic low
upon power-up to insure circuit operation. See Figure 5 for one way
to accomplish this.
DRIVING THE DATA BUS
This CMOS A/D converter, like MOS microprocessors and
memories, will require a bus driver when the total capacitance of the
data bus gets large. Other circuitry tied to the data bus will add to
the total capacitive loading, even in the high impedance mode.
There are alternatives in handling this problem. The capacitive
loading of the data bus slows down the response time, although DC
specifications are still met. For systems with a relatively low CPU
clock frequency, more time is available in which to establish proper
logic levels on the bus, allowing higher capacitive loads to be driven
(see Typical Performance Characteristics).
At higher CPU clock frequencies, time can be extended for I/O
reads (and/or writes) by inserting wait states (8880) or using
clock-extending circuits (6800, 8035).
Finally, if time is critical and capacitive loading is high, external bus
drivers must be used. These can be 3-State buffers (low power
Schottky is recommended, such as the N74LS240 series) or special
higher current drive products designed as bus drivers. High current
bipolar bus drivers with PNP inputs are recommended as the PNP
input offers low loading of the A/D output, allowing better response
time.
POWER SUPPLIES
Noise spikes on the V
CC
line can cause conversion errors as the
internal comparator will respond to them. A low inductance filter
capacitor should be used close to the converter V
CC
pin and values
of 1µF or greater are recommended. A separate 5V regulator for the
converter (and other 5V linear circuitry) will greatly reduce digital
noise on the V
CC
supply and the attendant problems.
WIRING AND LAYOUT PRECAUTIONS
Digital wire-wrap sockets and connections are not satisfactory for
breadboarding this (or any) A/D converter. Sockets on PC boards
can be used. All logic signal wires and leads should be grouped or
kept as far as possible from the analog signal leads. Single wire
analog input leads may pick up undesired hum and noise, requiring
the use of shielded leads to the analog inputs in many applications.
A single-point analog ground separate from the logic or digital
ground points should be used. The power supply bypass capacitor
and the self-clocking capacitor, if used, should be returned to digital
ground. Any V
REF
/2 bypass capacitor, analog input filter capacitors,
and any input shielding should be returned to the analog ground
point. Proper grounding will minimize zero-scale errors which are
present in every code. Zero-scale errors can usually be traced to
improper board layout and wiring.
APPLICATIONS
Microprocessor Interfacing
This family of A/D converters was designed for easy microprocessor
interfacing. These converters can be memory mapped with
appropriate memory address decoding for CS
(read) input. The
active-Low write pulse from the processor is then connected to the
WR
input of the A/D converter, while the processor active-Low read
pulse is fed to the converter RD
input to read the converted data. If
the clock signal is derived from the microprocessor system clock,
the designer/programmer should be sure that there is no attempt to
read the converter until 74 converter clock pulses after the start
pulse goes high. Alternatively, the INTR
pin may be used to interrupt
the processor to cause reading of the converted data. Of course, the
converter can be connected and addressed as a peripheral (in I/O
space), as shown in Figure 7. A bus driver should be used as a
buffer to the A/D output in large microprocessor systems where the
data leaves the PC board and/or must drive capacitive loads in
excess of 100pF. See Figure 9.
Interfacing the SCN8048 microcomputer family is pretty simple, as
shown in Figure 8. Since the SCN8048 family has 24 I/O lines, one
of these (shown here as bit 0 or port 1) can be used as the chip
select signal to the converter, eliminating the need for an address

Table of Contents