Two Port 10/100 Managed Ethernet Switch with
Datasheet
9.9.1.1Receive Data FIFO Fast Forward
The RX data path implements an automatic data discard function. Using the RX Data FIFO Fast Forward bit (RX_FFWD) in the Receive Datapath Control Register (RX_DP_CTRL), the host can instruct the LAN9311/LAN9311i to skip the packet at the head of the RX Data FIFO. The RX Data FIFO pointers are automatically incremented to the beginning of the next RX packet.
When performing a
After initiating a
The receiver does not have to be stopped to perform a
9.9.1.2Force Receiver Discard (Receiver Dump)
In addition to the Receive data Fast Forward feature, LAN9311/LAN9311i also implements a receiver "dump" feature. This feature allows the host processor to flush the entire contents of the RX Data and RX Status FIFOs. When activated, the read and write pointers for the RX Data and Status FIFO’s will be returned to their reset state. To perform a receiver dump, the LAN9311/LAN9311i receiver must be halted. Once the receiver stop completion is confirmed, the RX_DUMP bit can be set in the Receive Configuration Register (RX_CFG). The RX_DUMP bit is cleared when the dump is complete. For more information on stopping the receiver, please refer to Section 9.9.4, "Stopping and Starting the Receiver". For more information on the RX_DUMP bit, please refer to Section 14.2.2.1, "Receive Configuration Register (RX_CFG)," on page 181.
9.9.2RX Packet Format
The RX status words can be read from the RX Status FIFO port, while the RX data packets can be read from the RX Data FIFO. RX data packets are formatted in a specific manner before the host can read them as shown in Figure 9.9. It is assumed that the host has previously read the associated status word from the RX Status FIFO, to ascertain the data size and any error conditions.
Host Read | 31 | 0 | ||
Order | ||||
1st | Optional offset DWORD0 |
|
| |
|
|
|
|
|
2nd | . |
|
| |
|
| . |
|
|
|
| Optional offset DWORDn |
|
|
|
| ofs + First Data DWORD |
|
|
|
| . |
|
|
|
| . |
|
|
|
| . |
|
|
|
| . |
|
|
|
|
|
|
|
|
| Last Data DWORD |
|
|
|
| Optional Pad DWORD0 |
|
|
|
| . |
|
|
|
| . |
|
|
|
|
|
| |
Last | Optional Pad DWORDn |
|
| |
|
|
|
|
|
Figure 9.9 RX Packet Format
SMSC LAN9311/LAN9311i | 135 | Revision 1.4 |
| DATASHEET |
|