English
Language : 

MC68HC912BL16 Datasheet, PDF (104/128 Pages) Freescale Semiconductor, Inc – 16-Bit Microcontroller
Freescale Semiconductor, Inc.
14 Analog-To-Digital Converter
The ATD is an 8-channel, 10-bit, multiplexed-input successive-approximation analog-to-digital convert-
er, accurate to ±2 least significant bit (LSB). It does not require external sample and hold circuits be-
cause of the type of charge redistribution technique used. The ATD converter timing is synchronized to
the system P clock. The ATD module consists of a 16-word (32-byte) memory-mapped control register
block used for control, testing and configuration.
RC DAC ARRAY
AND COMPARATOR
SAR
ATD 0
ATD 1
ATD 2
ATD 3
ATD 4
ATD 5
ATD 6
ATD 7
VRH
VRL REFERENCE
VDDA
VSSA
SUPPLY
ANALOG MUX
AND
SAMPLE BUFFER AMP
PORT AD
DATA INPUT REGISTER
AN7/PAD7
AN6/PAD6
AN5/PAD5
AN4/PAD4
AN3/PAD3
AN2/PAD2
AN1/PAD1
AN0/PAD0
CLOCK
SELECT/PRESCALE
INTERNAL BUS
HC12 ATD BLOCK
Figure 27 Analog-to-Digital Converter Block Diagram
14.1 Functional Description
A single conversion sequence consists of four or eight conversions, depending on the state of the select
8 channel mode (S8CM) bit when ATDCTL5 is written. There are eight basic conversion modes. In the
non-scan modes, the SCF bit is set after the sequence of four or eight conversions has been performed
and the ATD module halts. In the scan modes, the SCF bit is set after the first sequence of four or eight
conversions has been performed, and the ATD module continues to restart the sequence. In both
modes, the CCF bit associated with each register is set when that register is loaded with the appropriate
conversion result. That flag is cleared automatically when that result register is read. The conversions
are started by writing to the control registers.
14.2 ATD Registers
ATDCTL0 — Reserved
$0060
Bit 7
6
5
4
3
2
1
Bit 0
0
0
0
0
0
0
0
0
RESET:
0
0
0
0
0
0
0
0
MC68HC912BL16
104
For More Information On This Product, MC68HC912BL16TS/D
Go to: www.freescale.com