Enhanced Queued Analog-to-Digital Converter (EQADC)
Freescale Semiconductor
27-67
PXR40 Microcontroller Reference Manual, Rev. 1
27.7.3
Command/Result Queues
Each CQueue entry is a 32-bit Command Message.The last entry of a CQueue has the EOQ bit asserted to
indicate that it is the last entry of the CQueue. RQueue entry is a 16-bit data.
Section 27.7.2.1, Overview and Basic Terminology
for a description of the message formats and their
flow in EQADC.
Section 27.8.5, CQueue and RQueues Usage
, for examples of how CQueues and RQueues can be
used.
27.7.4
EQADC Command FIFOs
27.7.4.1
CFIFO Basic Functionality
There are six prioritized CFIFOs located in the EQADC. Each CFIFO is four entries deep, except CFIFO0
that can be configured to eight entries deep in extended mode, and each CFIFO entry is 32 bits long. A
CFIFO serves as a temporary storage location for the command messages stored in the CQueues in the
system memory. When a CFIFO is not full, the EQADC sets the corresponding CFFF bit in
EQADC_FISR. If CFFE is asserted in EQADC_IDCR, the EQADC generates requests for more
commands from a CQueue. An interrupt request, served by the host CPU, is generated when CFFS is
negated, and a DMA request, served by the DMAC, is generated when CFFS is asserted. The host CPU or
the DMAC respond to these requests by writing to the EQADC_CFPR to fill the CFIFO.
NOTE
The DMAC should be configured to write a single command (32-bit data)
to the CFIFO push registers for every asserted DMA request it
acknowledges. Refer to
Section 27.8.2, EQADC/DMAC Interface
DMAC configuration guidelines.
NOTES:
1
VREF=VRH-VRL=5.12V. Resulting in one 12-bit count (LSB) =1.25mV.
2
The two’s complement representation is used to express negative values.
3
For non-corner voltages (voltages different from V
RL
and V
RH
), the maximum quantization error is
LSB. First
code transition (from 0x000 to 0x001 for unsigned values) happens at +0.5 LSB (V) while the last one (from 0xFFE
to 0xFFF for unsigned values) happens at V
REF
- 1.5 LSB (V).
4
For non-corner voltages (voltages different from V
RL
and V
RH
), the maximum quantization error is
LSB. First
code transition (from 0x000 to 0x001 for unsigned values) happens at +0.5 LSB (V) while the last one (from 0xFFE
to 0xFFF for unsigned values) happens at V
REF
- 1.5 LSB (V).
5
For non-corner voltages (voltages different from V
RL
and V
RH
), the maximum quantization error is
LSB. First
code transition (from 0x000 to 0x001 for unsigned values) happens at +0.5 LSB (V) while the last one (from 0xFFE
to 0xFFF for unsigned values) happens at V
REF
- 1.5 LSB (V).
6
Assuming uncalibrated conversion results.
0.5
0.5
0.5
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...