
Enhanced Queued Analog-to-Digital Converter (eQADC)
MPC5566 Microcontroller Reference Manual, Rev. 2
19-86
Freescale Semiconductor
In general, received data is moved into RFIFOs as the data becomes available, while an exception happens
when multiple results from different sources become available at the same time. In that case, result data
from ADC0 is processed first, result data from ADC1 is only processed after all ADC0 data is processed,
and result data from the external device is only processed after all data from ADC0/1 is processed.
When time-stamped results return from the on-chip ADCs, the conversion result and the time stamp are
always moved to the RFIFOs in consecutive clock cycles to guarantee they are always stored in
consecutive RFIFO entries.
19.4.5
On-Chip ADC Configuration and Control
19.4.5.1
Enabling and Disabling the on-chip ADCs
The on-chip ADCs have an enable bit (ADC0_CR[ADC0_EN] and ADC1_CR[ADC1_EN], see
Section 19.3.3.1, “ADCn Control Registers (ADC0_CR and ADC1_CR)
”) which allows the enabling of
the ADCs only when necessary. When the enable bit for an ADC is negated, the clock input to that ADC
is stopped. The ADCs are disabled out of reset - ADC0/1_EN bits are negated - to allow for their safe
configuration. The ADC must only be configured when its enable bit is negated. After the enable bit of an
ADC is asserted, clock input is started, and the bias generator circuit is turned on. When the enable bits of
both ADCs are negated, the bias circuit generator is stopped.
NOTE
An 8ms wait time from V
DDA
power up to enabling an ADC is required to
pre-charge the external 100nf capacitor on REFBYPC. This time must be
guaranteed by the crystal startup time plus the reset duration, or the host
application. The ADC internal bias generator circuit starts up after 10
υ
s
upon VRH/VRL power up to stabilize the required bias current to the
pre-charge circuit; the current to the other analog circuits are disabled until
the ADCs are enabled. As soon as the ADCs are enabled, the bias currents
to other analog circuits are ready.
NOTE
The eQADC is designed to wait 120 ADC clocks after an on-chip ADC
enables or the eQADC exits stop mode before the first conversion command
is issued. Two independent counters monitor the delay, one clocked by
ADC0_CLK and another by ADC1_CLK. Conversion commands can begin
executing when one of the counters reaches 120 ADC clocks. Conversion
commands sent to a disabled ADC are ignored by the ADC control
hardware.
19.4.5.2
ADC Clock and Conversion Speed
The clock input to the ADCs is defined by setting the ADC0_CR[ADC0_CLK_PS] and
ADC1_CR[ADC1_CLK_PS] fields. Refer to
Section 19.3.3.1, “ADCn Control Registers (ADC0_CR and
.” The ADC0/1_CLK_PS field selects the clock divide factor by which the system clock is
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...