MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
Freescale Semiconductor
19-61
When the eQADC completes the transfer of an entry from CFIFO
n
: the transferred entry is popped from
CFIFO
n
, the CFIFO counter CFCTR in the
Section 19.3.2.8, “eQADC FIFO and Interrupt Status Registers
,” is decremented by 1, and transfer next data pointer
n
is incremented by 1 (or
wrapped around) to point to the next entry in the CFIFO. The transfer of entries bound for the on-chip
ADCs is considered completed when they are stored in the appropriate ADC command buffer. The transfer
of entries bound for the external device is considered completed when the serial transmission of the entry
is completed.
When the EQADC_CFPR
n
is written and CFIFO
n
is not full, the CFIFO counter CFCTR
n
is incremented
by 1, and the push next data pointer
n
then is incremented by 1 (or wrapped around) to point to the next
entry in the CFIFO.
When the EQADC_CFPR
n
is written but CFIFO
n
is full, the eQADC will not increment the counter value
and will not overwrite any entry in CFIFO
n
.
Figure 19-35. CFIFO Diagram
The detailed behavior of the push next data pointer and transfer next data pointer is described in the
example shown in
where a CFIFO with 16 entries is shown for clarity of explanation, the
actual hardware implementation has only four entries. In this example, CFIFO
n
with 16 entries is shown
in sequence after pushing and transferring entries.
Push Next
32-bit Entry 2
32-bit Entry 1
Control Signals
CFIFO
Transfer Counter
Control Logic
Data Pointer *
Transfer Next
Data Pointer *
CFIFO
Push Register
Data to
External
Device or
to On-Chip
ADCs
Write
to Bus
Interface
by CPU
or DMA
DMA Done
Interrupt/DMA Request
All CFIFO entries are memory mapped and the entries addressed by these pointers
can have their absolute addresses calculated using TNXTPTR and CFCTR.
*
Summary of Contents for MPC5553
Page 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Page 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Page 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Page 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Page 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Page 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Page 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Page 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Page 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Page 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Page 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Page 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Page 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Page 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...