mc9s12q128 Freescale Semiconductor, Inc, mc9s12q128 Datasheet - Page 247
mc9s12q128
Manufacturer Part Number
mc9s12q128
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1.MC9S12Q128.pdf
(644 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MC9S12Q128
Manufacturer:
FREESCALE
Quantity:
4 000
Company:
Part Number:
mc9s12q128CFU
Manufacturer:
FREESCALE
Quantity:
5
Company:
Part Number:
mc9s12q128CPBE16
Manufacturer:
FREESCAL
Quantity:
372
Company:
Part Number:
mc9s12q128MFUE16
Manufacturer:
MOTOROLA
Quantity:
591
Part Number:
mc9s12q128MFUE16
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc9s12q128VFU16
Manufacturer:
FREESCALE
Quantity:
1 831
- Current page: 247 of 644
- Download datasheet (4Mb)
8.4.2.2
The channel pins can be multiplexed between analog and digital data. As analog inputs, they are
multiplexed and sampled to supply signals to the A/D converter. Alternatively they can be configured as
digital I/O signals with the port I/O data being held in PORTAD.
The analog/digital multiplex operation is performed in the pads. The pad is always connected to the analog
inputs of the ATD10B8C. The pad signal is buffered to the digital port registers. This buffer can be turned
on or off with the ATDDIEN register. This is important so that the buffer does not draw excess current
when analog potentials are presented at its input.
8.4.2.3
The ATD10B8C can be configured for lower MCU power consumption in three different ways:
8.5
8.5.1
The following describes a typical setup procedure for starting A/D conversions. It is highly recommended
to follow this procedure to avoid common mistakes.
Each step of the procedure will have a general remark and a typical example
8.5.1.1
Power up the ATD and concurrently define other settings in ATDCTL2
Example: Write to ATDCTL2: ADPU=1 -> powers up the ATD, ASCIE=1 enable interrupt on finish of a
conversion sequence.
8.5.1.2
Wait for the ATD Recovery Time
Example: Use the CPU in a branch loop to wait for a defined number of bus clocks.
Freescale Semiconductor
1. Stop Mode: This halts A/D conversion. Exit from Stop mode will resume A/D conversion, But due
2. Wait Mode with AWAI = 1: This halts A/D conversion. Exit from Wait mode will resume A/D
3. Writing ADPU = 0 (Note that all ATD registers remain accessible.): This aborts any A/D
to the recovery time the result of this conversion should be ignored.
conversion, but due to the recovery time the result of this conversion should be ignored.
conversion in progress.
Initialization/Application Information
Setting up and starting an A/D conversion
General-Purpose Digital Port Operation
Low-Power Modes
Step 1
Step 2
The reset value for the ADPU bit is zero. Therefore, when this module is
reset, it is reset into the power down state.
t
REC
before you proceed with Step 3.
MC9S12Q128
Rev 1.09
NOTE
Chapter 8 Analog-to-Digital Converter (ATD10B8C) Block Description
247
Related parts for mc9s12q128
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontrollers
Manufacturer:
FREESCALE [Freescale Semiconductor, Inc]
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet: