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

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
9.3.3
The result of the first conversion will be placed in result register ADR1, while the result of the
eighth conversion will be placed in result register ADR8. After the eighth conversion is complete all
conversion activity is halted until a new conversion command is written to the ADCTL control register.
9.3.4
Conversions continue to be performed on the selected channel with the ninth conversion being
stored in the ADR1 register (overwriting the first conversion result), the tenth conversion overwrites
ADR2, the eleventh overwrites ADR3, and so on continuously. Using this variation, the data in any
result register is at most eight conversion times old.
Multiple channel operation is selected by writing a one to the MULT bit in the A/D control and status
register (ADCTL). This mode has four variations, which can be selected using the CONV8 and
SCAN bits in the ADCTL register In the first two variations, the CONV8 bit is clear; and either Port
E bits 0 – 3 or Port E bits 4 – 7 are selected. (In this multiple channel mode, only the two most
significant bits of the channel address (CD and CC) are decoded.) In the second two variations, the
CONV8 bit is set and all eight channels are converted. The state of the SCAN bit determines whether
continuous or single scanning is selected.
9.4.1
Either Port E bits 0 – 3 are selected or Port E bits 4 – 7 are selected. The first result is stored in the
ADR5 result register and the fourth result is stored in the ADR8 register. After the fourth conversion
is complete, all conversion activity is halted until a new conversion command is written to the ADCTL
control register.
9.4.2
Conversions continue to be performed on the selected group of channels with the fifth conversion
being stored in the ADR5 register (replacing the earlier conversion result for the first channel in the
group), the sixth conversion overwrites ADR6, the seventh overwrites ADR7, and so on, continuously.
Using this second variation the data in any result register is, at most, four conversion times old.
9.4.3
When CONV8 is set and MULT is set, all eight channels are converted. Each of the channels is
converted and the result is placed in a separate result register. Port E bit 0 uses result register ADR1,
Port E bit 1 uses result register ADR2 and so on. Each channel is converted once, then all conversion
activity is halted until a new conversion command is written to the ADCTL control register.
MOTOROLA
9-4
9.4
MULTIPLE CHANNEL OPERATION
8-Conversion, Single Scan
8-Conversion, Continuous Scan
4-Channel Single Scan
4-Channel Continuous Scan
8-Channel Single Scan
ANALOG-TO-DIGITAL CONVERTER
MC68HC11G5

Related parts for MC68HC711G5