MC9S08JM16CGTE FREESCALE [Freescale Semiconductor, Inc], MC9S08JM16CGTE Datasheet - Page 154

no-image

MC9S08JM16CGTE

Manufacturer Part Number
MC9S08JM16CGTE
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Analog-to-Digital Converter (S08ADC12V1)
APCTL1=0x02
APCTL2=0x00
10.6
This section contains information for using the ADC module in applications. The ADC has been designed
to be integrated into a microcontroller for use in embedded control applications requiring an A/D
converter.
10.6.1
The following sections discuss the external pins associated with the ADC module and how they must be
used for best results.
10.6.1.1
The ADC module has analog power and ground supplies (V
on some devices. V
154
AD1 pin I/O control disabled. All other AD pins remain general purpose I/O pins
All other AD pins remain general purpose I/O pins
Application Information
External Pins and Routing
Analog Supply Pins
SSAD
is shared on the same pin as the MCU digital V
Figure 10-13. Initialization Flowchart for Example
MC9S08JM16 Series Data Sheet, Rev. 2
ADCCFG = 0x98
ADCSC1 = 0x41
Then ADCRL To
Clear COCO Bit
ADCSC2 = 0x00
Read ADCRH
Initialize ADC
COCO=1?
Continue
Check
Reset
Yes
No
DDAD
and V
SSAD
SS
on some devices. On other
) available as separate pins
Freescale Semiconductor

Related parts for MC9S08JM16CGTE