Datasheet
Chapter 9 Analog-to-Digital Converter (S08ADC10V1)
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 5
Freescale Semiconductor 117
9.1.1 Module Configurations
This section provides device-specific information for configuring the ADC on MC9S08QG8/4 devices.
9.1.1.1 Analog Supply and Voltage Reference Connections
The V
DDAD
and V
REFH
sources for the ADC are internally connected to the V
DD
pin. The V
SSAD
and
V
REFL
sources for the ADC are internally connected to the V
SS
pin.
9.1.1.2 Channel Assignments
The ADC channel assignments for the MC9S08QG8/4 devices are shown in Table 9-1. Reserved channels
convert to an unknown value.
NOTE
Selecting the internal bandgap channel requires BGBE =1 in SPMSC1; see
Section 5.8.8, “System Power Management Status and Control 1 Register
(SPMSC1).” For the value of the bandgap voltage reference see
Section A.5, “DC Characteristics.”
Table 9-1. ADC Channel Assignment
ADCH Channel Input Pin Control ADCH Channel Input Pin Control
00000 AD0 PTA0/ADP0 ADPC0 10000 AD16 V
SS
N/A
00001 AD1 PTA1/ADP1 ADPC1 10001 AD17 V
SS
N/A
00010 AD2 PTA2/ADP2 ADPC2 10010 AD18 V
SS
N/A
00011 AD3 PTA3/ADP3 ADPC3 10011 AD19 V
SS
N/A
00100 AD4 PTB0/ADP4 ADPC4 10100 AD20 V
SS
N/A
00101 AD5 PTB1/ADP5 ADPC5 10101 AD21 V
SS
N/A
00110 AD6 PTB2/ADP6 ADPC6 10110 AD22 Reserved N/A
00111 AD7 PTB3/ADP7 ADPC7 10111 AD23 Reserved N/A
01000 AD8 V
SS
N/A 11000 AD24 Reserved N/A
01001 AD9 V
SS
N/A 11001 AD25 Reserved N/A
01010 AD10 V
SS
N/A 11010 AD26 Temperature
Sensor
1
1
For information, see Section 9.1.1.6, “Temperature Sensor.”
N/A
01011 AD11 V
SS
N/A 11011 AD27 Internal Bandgap N/A
01100 AD12 V
SS
N/A 11100 — Reserved N/A
01101 AD13 V
SS
N/A 11101 V
REFH
V
DD
N/A
01110 AD14 V
SS
N/A 11110 V
REFL
V
SS
N/A
01111 AD15 V
SS
N/A 11111 Module
Disabled
None N/A
