MC68HC711G5 MOTOROLA [Motorola, Inc], MC68HC711G5 Datasheet - Page 113

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
SECTION 9
ANALOG-TO-DIGITAL CONVERTER
The Analog to Digital converter system consists of a single 10-bit successive approximation type
converter and a 16-channel multiplexer. Eight of the channels are connected to pins on the
MC68HC11G5, four are unused and the remaining four channels are dedicated to internal reference
points or test functions. There are eight 10-bit result registers and control logic allows for four or eight
consecutive conversions before stopping or for conversions to continue with the newest conversion
overwriting the oldest result register. Also, the control logic allows conversions to be performed on
a single selected channel, multiple times or consecutively on a selected group of four channels. In
addition, the control logic allows for converting all eight channels and either stopping or converting
continuously.
Two dedicated lines (V
and V
) are provided for the reference voltage inputs. These pins may be
rl
rh
connected to a separate or isolated power supply to ensure full accuracy of the AD conversion.
The 10-bit A/D converter accepts analog inputs ranging from V
to V
. Smaller input ranges can
rl
rh
also be obtained by adjusting V
and V
to the desired upper and lower limits. Conversion is
rl
rh
specified and tested for V
= 0 volts and V
= 5 volts. The A/D system can be operated with V
below
rl
rh
rh
V
and/or V
above V
as long as V
is above V
by enough to support the conversions (2.5
DD
rl
SS
rh
rl
to 5.0 volts).
Each set of four conversions takes 144 cycles of the E-clock, provided that E is greater than or equal
to 750 kHz. If E is less than 750 kHz, an internal R-C oscillator, which is nominally 1.5 MHz, must
be used for the A/D conversion clock. When the internal R-C oscillator is being used as the
conversion clock, the conversion complete flag (CCF) must be used to determine when a conversion
sequence has been completed. When using the internal R-C oscillator for A/D conversions the
sample and conversion process runs at the nominal 1.5 MHz rate; however, the conversion results
must be transferred to the MCU result registers synchronously with the MCU E-clock, so conversion
time is limited to a maximum of one channel per E-clock cycle.
Two control bits in the OPTION register control the basic configuration of the A/D system. The A to D
power-up bit (ADPU) allows the system to be disabled, resulting in reduced power consumption
when the A/D system is not being used. Any conversion which is in process when ADPU is written
to zero will be aborted. A delay of typically 100 microseconds is required after turning on the A/D
(by writing ADPU from 0 to 1) for the analog and comparator sections to stabilize. The CSEL bit is
used to select either the internal R-C oscillator or the MCU E-clock as the A/D system clock source.
MC68HC11G5
ANALOG-TO-DIGITAL CONVERTER
MOTOROLA
9-1

Related parts for MC68HC711G5