lan9311 Standard Microsystems Corp., lan9311 Datasheet - Page 132

no-image

lan9311

Manufacturer Part Number
lan9311
Description
Lan9311/lan9311i Two Port 10/100 Managed Ethernet Switch With 16-bit Non-pci Cpu Interface
Manufacturer
Standard Microsystems Corp.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
lan9311-NU
Manufacturer:
CINCERA
Quantity:
3 023
Part Number:
lan9311-NU
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
lan9311-NU
Manufacturer:
SMSC
Quantity:
20 000
Part Number:
lan9311-NZW
Manufacturer:
Standard
Quantity:
2
Part Number:
lan9311-NZW
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
lan9311I-NZW
Manufacturer:
Standard
Quantity:
836
Part Number:
lan9311I-NZW
Manufacturer:
Microchip Technology
Quantity:
10 000
Revision 1.2 (04-08-08)
9.8.7
9.8.8
9.8.9
TX Data FIFO Underrun
If the Host MAC Interface Layer is not operating in store and forward mode, and the host is unable
supply data at the Ethernet line rate, the TX Data FIFO can underrun. If a TX underrun occurs, any
further data written to the TX Data FIFO for the offending frame (the frame being transmitted during
the underrun) will automatically be discarded and no further data for that frame will be transmitted. TX
Data FIFO underrun is not an error condition, and data transmission will resume with the next valid TX
command. In the case of a TX Data FIFO underrun, the (TDFU) flag is set in the
Register (INT_STS)
indicated in the TX status word for the underrun frame.
In the case of a TX underrun, the host is still required to write the remainder of the current TX packet
to the LAN9311/LAN9311i. Any remaining data from the underrun frame that is written to the
LAN9311/LAN9311i will back-up in the TX Data FIFO (no more data is read until the next TX SOF
[start of frame]). As the data backs up in the TX Data FIFO, it will be visible in the
Register
LAN9311/LAN9311i and check the
occurred (from the TDFU bit status).
Eventually, the driver will recognize the underrun. A '1' must then be written to the TXD_DUMP bit in
the
that TX_ON may be kept on while flushing the remaining TX Data FIFO contents). Once the leftover
data from the underrun frame is purged, the LAN9311/LAN9311i is ready to send new transmit packets.
It is advisable to clear the TDFU bit prior to transmitting any more data (assuming that SF=0) so that
subsequent underruns can be detected, but this is not required by the hardware.
Transmitter Errors
If the Transmitter Error (TXE) flag is asserted for any reason, the transmitter will continue operation.
TX Error (TXE) will be asserted under the following conditions:
Stopping and Starting the Transmitter
To halt the transmitter, the host must set the STOP_TX bit in the
(TX_CFG). The transmitter will finish sending the current frame (if there is a frame transmission in
progress). When the transmitter has received the TX status for this frame, it will clear the STOP_TX
and TX_ON bits, and will pulse the TXSTOP_INT in the
Once stopped, the host can optionally clear the TX Status and TX Data FIFOs. The host must re-
enable the transmitter by setting the TX_ON bit. If the there are frames pending in the TX Data FIFO
(i.e., TX Data FIFO was not purged), the transmission will resume with this data.
If the actual packet length count does not match the Packet Length field as defined in the TX
command.
Both TX command ‘A’ and TX command ‘B’ are required for each buffer in a given packet. TX
command ‘B’ must be identical for every buffer in a given packet. If the TX command ‘B’ words do
not match, the Ethernet controller will assert the Transmitter Error (TXE) flag.
Host overrun of the TX Data FIFO.
Overrun of the TX Status FIFO (unless TXSAO is enabled)
Transmit Configuration Register (TX_CFG)
(TX_FIFO_INF). In typical driver usage, software will write the entire transmit packet to the
and can be used to generate a host interrupt. A TX Data FIFO underrun is also
DATASHEET
Interrupt Status Register (INT_STS)
132
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
to flush the remaining data in the TX Data FIFO (note
Interrupt Status Register
Transmit Configuration Register
to see if an underrun has
SMSC LAN9311/LAN9311i
TX FIFO Information
(INT_STS).
Interrupt Status
Datasheet

Related parts for lan9311