AN1740 Freescale Semiconductor / Motorola, AN1740 Datasheet - Page 68
AN1740
Manufacturer Part Number
AN1740
Description
Applications Using the Analog Subsystem on MC68HC05JJ/JP Series Microcontrollers
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN1740.pdf
(80 pages)
- Current page: 68 of 80
- Download datasheet (535Kb)
Application Note
General A/D Techniques
Channel Selection
Techniques
Sample and Hold
Techniques
68
The following sections cover some considerations in using channel
selection, sample and hold, and other A/D-related topics.
Normally, there is a need to select more than one channel in performing
an A/D conversion. This is needed to select between reference and
unknown signals as well as to have more than one external voltage to
monitor. In the case of modes 0 or 1, it is quite easy to schedule the
sequence of events needed to change channels and then execute a
conversion since all the steps are under direct software control and
timing. But, in the case of modes 2 or 3, the A/D conversion is driven
automatically by the 16-bit timer with little interface to the software. In
modes 2 or 3, the timing of the channel selection needs additional
consideration.
This can be solved easily if we make the channel selection occur at the
end of the prior conversion cycle. In both modes 2 and 3, the change in
channel would then occur in the service routine for the ICF. If the
channel selection is a recurring sequence, then the ICF service routine
can merely step to the next channel in the sequence. If, however, there
is a need to select the next channel based on changing criteria, then the
next channel to be selected can be done with a pointer location in RAM
and a pair of software flag bits to handshake between the interrupt-
driven ICF service routine and the asynchronously running background
software that determines which channel to convert next.
A sample and hold method can be applied to all A/D conversions. As
with making channel selections, sample and hold in modes 0 and 1 can
be done easily, while in modes 2 or 3 the timing of the sample needs
additional consideration. This can be solved easily, if we consider that
the sample can actually last into the start of the conversion cycle.
In mode 2, the triggering event is the TOF. If the OCF is not being used
for some other task, it can be used to trigger the start of the sample just
before the next TOF occurs. Then in the TOF service routine, the sample
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
AN1740
Related parts for AN1740
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola