LAN9312-NZW SMSC, LAN9312-NZW Datasheet - Page 113

Ethernet ICs Hi Per 2 Port 10/100 Ethernet Switch

LAN9312-NZW

Manufacturer Part Number
LAN9312-NZW
Description
Ethernet ICs Hi Per 2 Port 10/100 Ethernet Switch
Manufacturer
SMSC
Type
Two Port Managed Ethernet Switchr
Datasheet

Specifications of LAN9312-NZW

Ethernet Connection Type
10 Base-T, 100 Base-TX
Minimum Operating Temperature
0 C
Mounting Style
SMD/SMT
Product
Ethernet Switches
Number Of Transceivers
1
Standard Supported
802.3, 802.3u
Data Rate
10 Mbps, 100 Mbps
Supply Voltage (max)
3.3 V
Supply Voltage (min)
0 V
Supply Current (max)
186 mA, 295 mA
Maximum Operating Temperature
+ 70 C
Package / Case
TQFP-100
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LAN9312-NZW
Manufacturer:
Standard
Quantity:
143
Part Number:
LAN9312-NZW
Manufacturer:
Microchip Technology
Quantity:
10 000
High Performance Two Port 10/100 Managed Ethernet Switch with 32-Bit Non-PCI CPU Interface
Datasheet
SMSC LAN9312
9.2
9.2.1
9.2.2
9.3
The Host MAC supports full-duplex flow control using the pause operation and control frame. Half-
duplex flow control using back pressure is also supported. The Host MAC flow control is configured
via the memory mapped
in the System CSR space and the
Host MAC CSR space.
Note: The Host MAC controls the flow between the switch fabric and the Host MAC, not the network
Full-Duplex Flow Control
In full-duplex mode, flow control is achieved via the pause operation and the transmission of control
frames. The pause operation inhibits transmission of data frames for a specified period of time. A
pause operation consists of a frame containing the globally assigned multicast address (01-80-C2-00-
00-01), the PAUSE opcode, and a parameter indicating the quantum of slot time (512 bit times) to
inhibit data transmissions. The PAUSE parameter may range from 0 to 65,535 slot times. The Host
MAC logic, upon receiving a frame with the reserved multicast address and PAUSE opcode, inhibits
data frame transmissions for the length of time indicated. If a pause request is received while a
transmission is in progress, the pause will take effect after the transmission is complete. Control frames
are received, processed by the Host MAC, and passed on.
The Host MAC also has the capability of transmitting control frames (pause command) via hardware
and software control. The software driver requests the Host MAC to transmit a control frame and gives
the value of the PAUSE time to be used in the control frame. The Host MAC function constructs a
control frame by setting the appropriate values in the corresponding fields (as defined in the 802.3
specification) and transmits the frame to the internal MII interface. The transmission of the control
frame is not affected by the current state of the Pause timer value that may be set due to a recently
received control frame.
Half-Duplex Flow Control (Backpressure)
In half-duplex mode, back pressure is used for flow control. Whenever the receive buffer/FIFO
becomes full or crosses a certain threshold level, the Host MAC starts sending a jam signal. The Host
MAC transmit logic enters a state at the end of current transmission (if any), where it waits for the
beginning of a received frame. Once a new frame starts, the Host MAC starts sending the jam signal,
which will result in a collision. After sensing the collision, the remote station will back off its
transmission. The Host MAC continues sending the jam to make other stations defer transmission. The
Host MAC only generates this collision-based back pressure when it receives a new frame, in order
to avoid any late collisions.
Virtual Local Area Networks (VLANs), as defined within the IEEE 802.3 standard, provide network
administrators a means of grouping nodes within a larger network into broadcast domains. To
implement a VLAN, four extra bytes are added to the basic Ethernet packet. As shown in
the four bytes are inserted after the Source Address Field and before the Type/Length field. The first
two bytes of the VLAN tag identify the tag, and by convention are set to the value 0x8100. The last
two bytes identify the specific VLAN associated with the packet and provide a priority field.
The LAN9312 supports VLAN-tagged packets and provides two Host MAC registers,
Tag Register (HMAC_VLAN1)
to identify VLAN-tagged packets. The HMAC_VLAN1 register is used to specify the VLAN1 tag which
will increase the legal frame length from 1518 to 1522 bytes. The HMAC_VLAN2 register is used to
specify the VLAN2 tag which will increase the legal frame length from 1518 to 1538 bytes. If a packet
arrives bearing either of these tags in the two bytes succeeding the Source Address field, the controller
will recognize the packet as a VLAN-tagged packet, allowing the packet to be received and processed
by the host software. If both VLAN1 and VLAN2 tag Identifiers are used, each should be unique. If
Flow Control
Virtual Local Area Network (VLAN) Support
flow control. The switch fabric handles the network flow control independently.
Host MAC Automatic Flow Control Configuration Register (AFC_CFG)
and
DATASHEET
Host MAC VLAN2 Tag Register
Host MAC Flow Control Register (HMAC_FLOW)
113
(HMAC_VLAN2), which are used
Revision 1.7 (06-29-10)
Host MAC VLAN1
located in the
Figure
located
9.1,

Related parts for LAN9312-NZW