LAN9312-NU Standard Microsystems (SMSC), LAN9312-NU Datasheet - Page 127
![no-image](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__sml.jpg)
LAN9312-NU
Manufacturer Part Number
LAN9312-NU
Description
Manufacturer
Standard Microsystems (SMSC)
Datasheet
1.LAN9312-NU.pdf
(458 pages)
Specifications of LAN9312-NU
Number Of Primary Switch Ports
2
Operating Supply Voltage (typ)
3.3V
Fiber Support
No
Phy/transceiver Interface
MII
Power Supply Type
Analog
Data Rate (typ)
10/100Mbps
Vlan Support
Yes
Operating Temperature (max)
70C
Operating Temperature (min)
0C
Pin Count
128
Mounting
Surface Mount
Jtag Support
No
Operating Supply Voltage (max)
3.6V
Operating Supply Voltage (min)
3V
Operating Temperature Classification
Commercial
Data Rate
100Mbps
Lead Free Status / RoHS Status
Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LAN9312-NU
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 127 of 458
- Download datasheet (5Mb)
High Performance Two Port 10/100 Managed Ethernet Switch with 32-Bit Non-PCI CPU Interface
Datasheet
SMSC LAN9312
9.8.3.2
9.8.4
31:16
14:12
BITS
15
10
11
Packet TAG. Unique identifier written by the host into the Packet Tag field of the TX command ‘B’
word. This field can be used by the host to correlate TX status words with the associated TX packets.
Error Status (ES). When set, this bit indicates that the Ethernet controller has reported an error. This
bit is the logical OR of bits 11, 10, 9, 8, 2, 1 in this status word.
Reserved. These bits are reserved. Always write zeros to this field to guarantee future compatibility.
Loss of Carrier. When set, this bit indicates the loss of carrier during transmission.
No Carrier. When set, this bit indicates that the carrier signal from the transceiver was not present
during transmission.
The MIL operates in store-and-forward mode and has specific rules with respect to fragmented
packets. The total space consumed in the TX MIL FIFO must be limited to no more than 2KB - 3
DWORDs (2,036 bytes total). Any transmit packet that is so highly fragmented that it takes more space
than this must be un-fragmented (by copying to a driver-supplied buffer) before the transmit packet
can be sent to the LAN9312.
One approach to determine whether a packet is too fragmented is to calculate the actual amount of
space that it will consume, and check it against 2,036 bytes. Another approach is to check the number
of buffers against a worst-case limit of 86 (see explanation below).
Calculating Worst-Case TX MIL FIFO Usage
The actual space consumed by a buffer in the TX MIL FIFO consists only of any partial DWORD offsets
in the first/last DWORD of the buffer, plus all of the whole DWORDs in between. Any whole DWORD
offsets and/or alignments are stripped off before the buffer is loaded into the TX Data FIFO, and TX
command words are stripped off before the buffer is written to the TX MIL FIFO, so none of those
DWORDs count as space consumed. The worst-case overhead for a TX buffer is 6 bytes, which
assumes that it started on the high byte of a DWORD and ended on the low byte of a DWORD. A TX
packet consisting of 86 such fragments would have an overhead of 516 bytes (6 * 86) which, when
added to a 1514-byte max-size transmit packet (1516 bytes, rounded up to the next whole DWORD),
would give a total space consumption of 2,032 bytes, leaving 4 bytes to spare; this is the basis for the
"86 fragment" rule mentioned above. For more information on the MIL FIFO’s refer to
"MIL FIFOs," on page
TX Status Format
TX status is passed to the host CPU through a separate FIFO mechanism. A status word is returned
for each packet transmitted. Data transmission is suspended if the TX Status FIFO becomes full. Data
transmission will resume when the host reads the TX status and there is room in the FIFO for more
“TX Status” data.
The host can optionally choose to not read the TX status. The TX status can be ignored by setting the
“TX Status Discard Allow Overrun Enable” (TXSAO) bit in the
(TX_CFG). If this option is chosen TX status will not be written to the FIFO. Setting this bit high allows
the transmitter to continue operation with a full TX Status FIFO. In this mode the status information is
still available in the TX Status FIFO, and TX status interrupts still function. In the case of an overrun,
the TXSUSED counter will stay at zero and no further TX status will be written to the TX Status FIFO
until the host frees space by reading TX status. If TXSAO is enabled, a TXE error will not be generated
if the TX Status FIFO overruns. In this mode the host is responsible for re-synchronizing TX status in
the case of an overrun.
Note: Though the Host MAC is communicating locally with the switch fabric MAC, the events
described in the TX Status word may still occur.
120.
DATASHEET
127
DESCRIPTION
Transmit Configuration Register
Revision 1.7 (06-29-10)
Section 9.7.2,
Related parts for LAN9312-NU
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![LAN9312-NZW](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN91C111-NU](/photos/31/30/313086/406-128-tqfp_tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN9115-MT](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN9118-MT](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2229-NU-02](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2601-NU-05](/photos/31/30/313086/406-128-tqfp_tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2514B-AEZG](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
USB CHIP
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2514BI-AEZG](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2251-NU-05](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
ULTRA FAST USB 2.0 MULTI-SLOT FLASH MEDI
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN91C96-MS](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN9215-MT](/photos/31/30/313088/100pin_tqfp_tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN91C111I-NS](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2514I-HZH](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2514-HZH](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet: