Fifo Interface - Freescale Semiconductor MPC5200B User Manual

Freescale semiconductor board users guide
Table of Contents

Advertisement

Bits
Name
0:28
28:31
X_WMRK
14.6

FIFO Interface

The programming interface to the FIFO allows access to Data, Status, Control, Last Write Pointer, Last Read Pointer, Alarm, Read and Write
Pointers for Transmit and Receive configurations. The FIFO can be accessed by byte, word, or longword, but all accesses must be aligned
with the most significant byte (big endian) of the data port. BestComm supports byte, word or longword accesses. The processor supports
longword access only. All register name access is longword aligned
.
Address
0x184
0x188
0x18C
0x190
0x194
0x198
0x19C
0x1A0
0x1A4
0x1A8
0x1AC
0x1B0
Freescale Semiconductor
Reserved
Transmit FIFO Watermark—Frame transmission begins:
• If the number of bytes selected by this field are written into the transmit FIFO, or
• if an EOF is written to the FIFO, or
• if the FIFO is full before the selected number of bytes are written.
Options are:
0000 = 64Bytes written to FIFO.
0001 = 128Bytes written to FIFO.
0010 = 192Bytes written to FIFO.
0011 = 256Bytes written to FIFO.
0100 = 320Bytes written to FIFO.
0101 = 384Bytes written to FIFO.
0110 = 448Bytes written to FIFO.
0111 = 512Bytes written to FIFO.
1000 = 576Bytes written to FIFO.
1001 = 640Bytes written to FIFO.
1010 = 704Bytes written to FIFO.
1011 = 768Bytes written to FIFO.
1100 = 832Bytes written to FIFO.
1101 = 896Bytes written to FIFO.
1110 = 960Bytes written to FIFO.
1111 = 1024Bytes written to FIFO.
Table 14-30. FIFO Interface Register Map
byte0
byte1
byte2
Data
Data
Data
Stat
Stat
Ctl
LRF
LWF
Alarm
Read
Write
Data
Data
Data
Stat
Stat
Ctl
LRF
MPC5200B Users Guide, Rev. 1
Description
byte3
Description
Data
Receive FIFO Data
Receive FIFO Status
Receive FIFO Control
LRF
Receive Last Read Frame Pointer
LWF
Receive Last Write Frame Pointer
Alarm
Receive (High/Low) Alarm Pointer
Read
Receive FIFO Read Pointer
Write
Receive FIFO Write Pointer
Data
Transmit FIFO Data
Transmit FIFO Status
Transmit FIFO Control
LRF
Transmit Last Read Frame Pointer
FIFO Interface
14-27

Advertisement

Table of Contents
loading

Table of Contents