MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
20-68
Freescale Semiconductor
20.5.5
Calculation of FIFO Pointer Addresses
The user has complete visibility of the TX and RX FIFO contents through the FIFO registers, and valid
entries can be identified through a memory mapped pointer and a memory mapped counter for each FIFO.
The pointer to the first-in entry in each FIFO is memory mapped. For the TX FIFO the first-in pointer is
the transmit next pointer (TXNXTPTR). For the RX FIFO the first-in pointer is the pop next pointer
(POPNXTPTR).
illustrates the concept of first-in and last-in FIFO entries along with the
FIFO counter. The TX FIFO is chosen for the illustration, but the concepts carry over to the RX FIFO. See
Section 20.4.3.4, “Transmit First In First Out (TX FIFO) Buffering Mechanism
,” and
“Receive First In First Out (RX FIFO) Buffering Mechanism
,” for details on the FIFO operation.
Figure 20-45. TX FIFO Pointers and Counter
Table 20-33. MPC5xx QSPI Compatibility with the DSPI
MPC5xx Family Control Bits
DSPI Corresponding Control Bits
Corresponding DSPIx_CTAR Register Configuration
BITSE
CTAS[0]
DT
CTAS[1]
DSCK
CTAS[2]
DSPIx_CTARx
FMSZ
PDT
DT
PCSSCK
CSSCK
0
0
0
0
0111
10
0011
00
0000
0
0
1
1
0111
10
0011
User
User
0
1
0
2
0111
User
1
1
Selected by user
User
00
0000
0
1
1
3
0111
User
User
User
User
1
0
0
4
User
10
0011
00
0000
1
0
1
5
User
10
0011
User
User
1
1
0
6
User
User
User
00
0000
1
1
1
7
User
User
User
User
User
Entry C
Entry A (First In)
– 1
Entry B
Entry D (Last In)
TX FIFO Base
Push TX FIFO
TX FIFO Counter
Shift Register
SOUT
Register
Transmit Next
Data Pointer
–
–
–
–
+ 1
(TXNXTPTR)
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...