Enhanced Queued Analog-to-Digital Converter (EQADC)
Freescale Semiconductor
27-101
PXR40 Microcontroller Reference Manual, Rev. 1
27.7.6.7
ADC Control Logic overview and command execution
shows the basic logic blocks involved in the ADC Control and how they interact.
CFIFOs/RFIFOs interact with CBuffers/
Abort Cont
/
Result Message Return Logic
through the
FIFO
Control Unit
. The EB and BN bits in the Command Message uniquely identify the CBuffer to which a
command should be sent. The
FIFO Control Unit
decodes these bits and sends the ADC command to the
proper CBuffer. Other blocks of logic are the
Resolution Adjustment
,
Result Format and Calibration
Sub-Block
, the
Time Stamp Logic,
and the
MUX Control Logic
.
The
Resolution Adjustment Sub-Block
receives the 12-bit data bus directly from the ADC and changes the
received conversion results from right aligned format of ADC to the left aligned format depending on the
selected resolution of the conversion. This operation helps the calibration processing to use the calibration
coefficients always with the same format.
The
Result Format and Calibration Sub-Block
formats the returning data into Result Messages and sends
them to the RFIFOs
1
. The returning data can be data read from an ADC register, a conversion result, or a
time stamp. The formatting and calibration of conversion results also take place inside this sub-block.
The
Time Stamp Logic
latches the value of the time base counter when detecting the end of the analog input
voltage sampling, and sends it to the
Result Format and Calibration Sub-Block
as time stamp information.
The
MUX Control Logic
generates the proper MUX control signals and, when the ADC0/1_EMUX bits
are asserted, the MA signals based on the channel numbers extracted from the ADC Command.
When the on-chip ADC abort feature is not enabled, ADC Commands are stored in the CBuffers as they
come and they are executed in the first-in-first-out basis. After the execution of a command in ENTRY1
finishes all commands are shifted one entry. After the shift, ENTRY0 is always empty and ready to receive
a new command. Execution of configuration commands only start when they reach ENTRY1. Consecutive
conversion commands are pipelined and their execution can start while in ENTRY0. This is explained
below.
Table 27-41. Binary and Decimal Representations of the Gain Constant
Gain Constant
(GCC_INT.GCC_FRAC binary format)
Corresponding Decimal Value
0.0000_0000_0000_00
0
...
...
0.1000_0000_0000_00
0.5
...
...
0.1111_1111_1111_11
0.999938...
1.0000_0000_0000_00
1
...
...
1.1100_0000_0000_00
1.75
...
...
1.1111_1111_1111_11
1.999938...
1.
The result messages may also be routed to an on-chip companion module via the side interface, and then fed back to the
RFIFOs.
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...