English
Language : 

MC68HC908AT32 Datasheet, PDF (310/378 Pages) Freescale Semiconductor, Inc – Microcontrollers
Analog-to-Digital Converter (ADC-15)
26.6 I/O Signals
The ADC module has 15 channels that are shared with I/O ports B and D and one channel with an
input-only port bit on port D. Refer to 29.6 ADC Characteristics for voltages referenced in the following
subsections.
26.6.1 ADC Analog Power Pin (VDDAREF)/ADC Voltage Reference Pin (VREFH)
The ADC analog portion uses VDDAREF as its power pin. Connect the VDDA/VDDAREF pin to the same
voltage potential as VDD. External filtering may be necessary to ensure clean VDDAREF for good results.
VREFH is the high reference voltage for all analog-to-digital conversions. Connect the VREFH pin to a
voltage potential between 1.5 volts and VDDAREF/VDDA depending on the desired upper conversion
boundary.
NOTE
Route VDDAREF carefully for maximum noise immunity and place bypass
capacitors as close as possible to the package.
26.6.2 ADC Analog Ground Pin (VSSA)/ADC Voltage Reference Low Pin (VREFL)
The ADC analog portion uses VSSA as its ground pin. Connect the VSSA pin to the same voltage potential
as VSS.
VREFL is the lower reference supply for the ADC.
26.6.3 ADC Voltage In (ADCVIN)
ADCVIN is the input voltage signal from one of the 15 ADC channels to the ADC module.
26.7 I/O Registers
These I/O registers control and monitor ADC operation:
• ADC status and control register (ADSCR)
• ADC data register (ADR)
• ADC clock register (ADICLK)
26.7.1 ADC Status and Control Register
The following paragraphs describe the function of the ADC status and control register.
Address:
Read:
Write:
Reset:
$0038
Bit 7
COCO
R
0
R
6
5
AIEN
ADCO
0
0
= Reserved
4
ADCH4
1
3
ADCH3
1
2
ADCH2
1
1
ADCH1
1
Figure 26-2. ADC Status and Control Register (ADSCR)
Bit 0
ADCH0
1
MC68HC908AT32 Data Sheet, Rev. 3.1
310
Freescale Semiconductor