English
Language : 

MC13892_1107 Datasheet, PDF (106/158 Pages) Freescale Semiconductor, Inc – Power Management Integrated
FUNCTIONAL DEVICE OPERATION
ADC SUBSYSTEM
8 Bit Address Header
24 B it Data
Location ADC Control
43
Register 0
R/W
Address
Nul l ADC
Bi t
Bits
Bi t BIS0
ADC Control
Bits
Location ADC Control
44
Register 1
R/W
Address
Nul l ADC
Bi t
Bits
Bi t BIS1
ADC Control
Bits
Location ADC Result
R/W
Address
Nul l
45 Register ADC0
Bi t
Bits
Bi t
ADC Result
Bits
Location ADC Control
46
Register 2
R/W
Address
Nul l ADC
Bi t
Bits
Bi t BIS2
ADC Control
Bits
Location ADC Result
R/W
Address
Nul l
47 Register ADC1
Bi t
Bits
Bi t
ADC BIS Result
Bits
Figure 28. ADC Register Set for ADC BIS Access
There are two interrupts available to inform the processor when the ADC has finished its conversions, one for the standard
ADC conversion ADCDONEI, and one for the ADCBIS conversion ADCBISDONEI. These interrupts will go high after the
conversion, and can be masked.
When two requests are queued, the request for which the trigger event occurs the first will be converted the first. During the
conversion of the first request, an ADTRIG trigger event of the other request is ignored, if for the other request the TRIGMASK
bit was set to 1. When this bit is set to 0, the other request ADTRIG trigger event is memorized, and the conversion will take place
directly after the conversions of the first request are finished.
The following diagram shows the influence of the TRIGMASK bit. The TRIGMASK bit is particularly of use when an ADC
conversion has to be lined up to a periodically ADTRIG initiated conversion. In case of ASC initiated conversions, the TRIGMASK
bit is of no influence.
Figure 29. TRIGMASK Functional Diagram
To avoid results of previous conversions getting overwritten by a periodical ADTRIG signal, a single shot function is enabled
by setting the ADONESHOT bit to a one. In that case, only at the first following conversion, an ADTRIG trigger event is accepted.
ASC events are not affected by this setting. Before performing a new single shot conversion, the ADONESHOT bit first needs to
be cleared. Note that this bit is available for each of the conversion requests 'ADC' or 'ADC BIS', so can be set independently.
It is possible to queue two ADTRIG triggered conversions. Both conversions will be executed with a priority based on the
TRIGMASK setting. If both conversion requests have identical TRIGMASK settings, priority is given to the 'ADC' conversion over
the 'ADC BIS' conversion. Note that the ADONESHOT is also taken into account.
To avoid that the ADTRIG input inadvertently triggers a conversion, the ADTRIGIGN bit can be set which will ignore any
transition on the ADTRIG pin. The ADC completely ignores either ADTRIG or ASC pulses while ADEN is low. When reading
conversion results, it is preferable to make ADEN = 0.
MC13892
106
Analog Integrated Circuit Device Data
Freescale Semiconductor