SMSC LAN9311/LAN9311i Revision 2.0 (02-14-13)
PRODUCT PREVIEW
Data Brief
PRODUCT FEATURES
LAN9311/LAN9311i
Two Port 10/100 Managed Ethernet Switch with 16-Bit
Non-PCI CPU Interface
Highlights
High performance and full featured 2 port switch with
VLAN, QoS packet prioritization, Rate Limiting, IGMP
monitoring and management functions
Easily interfaces to most 16-bit embedded CPU’s
Unique Virtual PHY feature simplifies software
development by mimicking the multiple switch ports
as a single port MAC/PHY
Integrated IEEE 1588 Hardware Time Stamp Unit
Target Applications
Cable, satellite, and IP set-top boxes
Digital televisions
Digital video recorders
VoIP/Video phone systems
Home gateways
Test/Measurement equipment
Industrial automation systems
Key Benefits
Ethernet Switch Fabric
32K buffer RAM
1K entry forwarding table
Port based IEEE 802.1Q VLAN support (16 groups)
Programmable IEEE 802.1Q tag insertion/removal
IEEE 802.1d spanning tree protocol support
QoS/CoS Packet prioritization
4 dynamic QoS queues per port
Input priority determined by VLAN tag, DA lookup,
TOS, DIFFSERV or port default value
Programmable class of service map based on input
priority
Remapping of 802.1Q priority field on per port basis
Programmable rate limiting at the ingress/egress
ports with random early discard, per port / priority
IGMP v1/v2/v3 monitoring for Multicast packet filtering
Programmable filter by MAC address
Switch Management
Port mirroring/monitoring/sniffing: ingress and/or egress
traffic on any ports or port pairs
Fully compliant statistics (MIB) gathering counters
Control registers configurable on-the-fly
Ports
2 internal 10/100 PHYs with HP Auto-MDIX support
Fully compliant with IEEE 802.3 standards
10BASE-T and 100BASE-TX support
Full and half duplex support
Full duplex flow control
Backpressure (forced collision) half duplex flow control
Automatic flow control based on programmable levels
Automatic 32-bit CRC generation and checking
Automatic payload padding
2K Jumbo packet support
Programmable interframe gap, flow control pause value
Full transmit/receive statistics
Auto-negotiation
Automatic MDI/MDI-X
Loop-back mode
High-performance host bus interface
Provides in-band network communication path
Access to management registers
Simple, SRAM-like interface
16-bit data bus
Big, little, and mixed endian support
Large TX and RX FIFO’s for high latency applications
Programmable water marks and threshold levels
Host interrupt support
IEEE 1588 Hardware Time Stamp Unit
Global 64-bit tunable clock
Master or slave mode per port
Time stamp on TX or RX of Sync and Delay_req
packets per port, Timestamp on GPIO
64-bit timer comparator event generation (GPIO or IRQ)
Comprehensive Power Management Features
Wake on LAN
Wake on link status change (energy detect)
Magic packet wakeup
Wakeup indicator event signal
Other Features
General Purpose Timer
Serial EEPROM interface (I2C master or MicrowireTM
master) for non-managed configuration
Programmable GPIOs/LEDs
Single 3.3V power supply
Available in Commercial & Industrial Temp. Ranges
Order Numbers:
LAN9311-NU For 128-Pin, VTQFP Lead-Free RoHS Compliant Package (0 TO 70°C Temp Range)
LAN9311-NZW For 128-Pin, XVTQFP Lead-Free RoHS Compliant Package (0 TO 70°C Temp Range)
LAN9311i-NZW For 128-Pin, XVTQFP Lead-Free RoHS Compliant Package (-40 TO 85°C Temp Range)
LAN9311-NU-TR For 128-Pin, VTQFP Lead-Free RoHS Compliant Package (0 TO 70°C Temp Range)
LAN9311-NZW-TR For 128-Pin, XVTQFP Lead-Free RoHS Compliant Package (0 TO 70°C Temp Range)
LAN9311i-NZW-TR For 128-Pin, XVTQFP Lead-Free RoHS Compliant Package (-40 TO 85°C Temp Range)
TR indicates tape & reel option.
This product meets the halogen maximum concentration values per IEC61249-2-21
For RoHS compliance and environmental information, please visit www.smsc.com/rohs
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Revision 2.0 (02-14-13) 2 SMSC LAN9311/LAN9311i
PRODUCT PREVIEW
Copyright © 2013 SMSC or its subsidiaries. All rights reserved.
Circuit diagrams and other information relating to SMSC products are included as a means of illustrating typical applications. Consequently, complete information sufficient for
construction purposes is not necessarily given. Although the information has been checked and is believed to be accurate, no responsibility is assumed for inaccuracies. SMSC
reserves the right to make changes to specifications and product descriptions at any time without notice. Contact your local SMSC sales office to obtain the latest specifications
before placing your product order. The provision of this information does not convey to the purchaser of the described semiconductor devices any licenses under any patent
rights or other intellectual property rights of SMSC or others. All sales are expressly conditional on your agreement to the terms and conditions of the most recently dated
version of SMSC's standard Terms of Sale Agreement dated before the date of your order (the "Terms of Sale Agreement"). The product may contain design defects or errors
known as anomalies which may cause the product's functions to deviate from published specifications. Anomaly sheets are available upon request. SMSC products are not
designed, intended, authorized or warranted for use in any life support or other application where product failure could cause or contribute to personal injury or severe property
damage. Any and all such uses without prior written approval of an Officer of SMSC and further testing and/or modification will be fully at the risk of the customer. Copies of
this document or other SMSC literature, as well as the Terms of Sale Agreement, may be obtained by visiting SMSC’s website at http://www.smsc.com. SMSC is a registered
trademark of Standard Microsystems Corporation (“SMSC”). Product names and company names are the trademarks of their respective holders.
The Microchip name and logo, and the Microchip logo are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
SMSC DISCLAIMS AND EXCLUDES ANY AND ALL WARRANTIES, INCLUDING WITHOUT LIMITATION ANY AND ALL IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND AGAINST INFRINGEMENT AND THE LIKE, AND ANY AND ALL WARRANTIES ARISING FROM ANY COURSE
OF DEALING OR USAGE OF TRADE. IN NO EVENT SHALL SMSC BE LIABLE FOR ANY DIRECT, INCIDENTAL, INDIRECT, SPECIAL, PUNITIVE, OR CONSEQUENTIAL
DAMAGES; OR FOR LOST DATA, PROFITS, SAVINGS OR REVENUES OF ANY KIND; REGARDLESS OF THE FORM OF ACTION, WHETHER BASED ON CONTRACT;
TORT; NEGLIGENCE OF SMSC OR OTHERS; STRICT LIABILITY; BREACH OF WARRANTY; OR OTHERWISE; WHETHER OR NOT ANY REMEDY OF BUYER IS HELD
TO HAVE FAILED OF ITS ESSENTIAL PURPOSE, AND WHETHER OR NOT SMSC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
SMSC LAN9311/LAN9311i 3 Revision 2.0 (02-14-13)
PRODUCT PREVIEW
General Description
The LAN9311/LAN9311i is a full featured, 2 port 10/100 managed Ethernet switch designed for
embedded applications where performance, flexibility, ease of integration and system cost control are
required. The LAN9311/LAN9311i combines all the functions of a 10/100 switch system, including the
switch fabric, packet buffers, buffer manager, media access controllers (MACs), PHY transceivers, and
host bus interface. The LAN9311/LAN9311i complies with the IEEE 802.3 (full/half-duplex 10BASE-T
and 100BASE-TX) Ethernet protocol specification and 802.1D/802.1Q network management protocol
specifications, enabling compatibility with industry standard Ethernet and Fast Ethernet applications.
At the core of the LAN9311/LAN9311i is the high performance, high efficiency 3 port Ethernet switch
fabric. The switch fabric contains a 3 port VLAN layer 2 switch engine that supports untagged, VLAN
tagged, and priority tagged frames. The switch fabric provides an extensive feature set which includes
spanning tree protocol support, multicast packet filtering and Quality of Service (QoS) packet
prioritization by VLAN tag, destination address, port default value or DIFFSERV/TOS, allowing for a
range of prioritization implementations. 32K of buffer RAM allows for the storage of multiple packets
while forwarding operations are completed, and a 1K entry forwarding table provides ample room for
MAC address forwarding tables. Each port is allocated a cluster of 4 dynamic QoS queues which allow
each queue size to grow and shrink with traffic, effectively utilizing all available memory. This memory
is managed dynamically via the buffer manager block within the switch fabric. All aspects of the switch
fabric are managed via the switch fabric configuration and status registers, which are indirectly
accessible via the memory mapped system control and status registers.
The LAN9311/LAN9311i provides 2 switched ports. Each port is fully compliant with the IEEE 802.3
standard and all internal MACs and PHYs support full/half duplex 10BASE-T and 100BASE-TX
operation. The LAN9311/LAN9311i provides 2 on-chip PHYs, 1 Virtual PHY and 3 MACs. The Virtual
PHY and the Host MAC are used to connect the LAN9311/LAN9311i switch fabric to the host bus
interface. All ports support automatic or manual full duplex flow control or half duplex backpressure
(forced collision) flow control. Automatic 32-bit CRC generation/checking and automatic payload
padding are supported to further reduce CPU overhead. 2K jumbo packet (2048 byte) support allows
for oversized packet transfers, effectively increasing throughput while deceasing CPU load. All MAC
and PHY related settings are fully configurable via their respective registers within the
LAN9311/LAN9311i.
The integrated Host Bus Interface (HBI) easily interfaces to most 16-bit embedded CPU’s via a simple
SRAM like interface, enabling switch fabric access via the internal Host MAC and allowing full control
over the LAN9311/LAN9311i via memory mapped system control and status registers. The HBI
supports 16-bit operation with big, little, and mixed endian operations. Four separate FIFO mechanisms
(TX/RX Data FIFO’s, TX/RX Status FIFO’s) interface the HBI to the Host MAC and facilitate the
transferring of packet data and status information between the host CPU and the switch fabric. The
LAN9311/LAN9311i also provides power management features which allow for wake on LAN, wake on
link status change (energy detect), and magic packet wakeup detection. A configurable host interrupt
pin allows the device to inform the host CPU of any internal interrupts.
The LAN9311/LAN9311i contains an I2C/Microwire master EEPROM controller for connection to an
optional EEPROM. This allows for the storage and retrieval of static data. The internal EEPROM
Loader can be optionally configured to automatically load stored configuration settings from the
EEPROM into the LAN9311/LAN9311i at reset.
In addition to the primary functionality described above, the LAN9311/LAN9311i provides additional
features designed for extended functionality. These include a configurable 16-bit General Purpose
Timer (GPT), a 32-bit 25MHz free running counter, a 12-bit configurable GPIO/LED interface, and IEEE
1588 time stamping on all ports and select GPIOs. The IEEE time stamp unit provides a 64-bit tunable
clock for accurate PTP timing and a timer comparator to allow time based interrupt generation.
The LAN9311/LAN9311i’s performance, features and small size make it an ideal solution for many
applications in the consumer electronics and industrial automation markets. Targeted applications
include: set top boxes (cable, satellite and IP), digital televisions, digital video recorders, voice over IP
and video phone systems, home gateways, and test and measurement equipment. System-level and
block-level diagrams of the LAN9311/LAN9311i can be seen in on the following pages.
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Revision 2.0 (02-14-13) 4 SMSC LAN9311/LAN9311i
PRODUCT PREVIEW
System Level Block Diagram
Internal Block Diagram
Figure 1 System Level Block Diagram Utilizing the LAN9311/LAN9311i
Figure 2 LAN9311/LAN9311i Internal Block Diagram
Magnetics
Magnetics
To Ethernet
To Ethernet
External
25MHz Crystal
Microprocessor/
Microcontroller
GPIOs/LEDs
(optional)
System
Memory
System
Peripherals
EEPROM
(optional)
LAN9311/LAN9311i
I2C/Microwire
EEPROM Controller
I2C (master)
Microwire (master)
To optional
EEPROM
I2C /
Microwire
Switch Fabric
10/100
MAC
10/100
MAC
IEEE 1588
Time Stamp
To Ethernet 10/100
PHY
IEEE 1588
Time Stamp
To Ethernet 10/100
PHY
IEEE 1588
Time Stamp
Secondary Functions
(Timers,GPIOs,LEDs,IRQ)
Host Bus
Interface
Host MAC
To CPU
16-bit
Host Bus
Host Bus Interface
IEEE 1588
Clock & Events
LAN9311/LAN9311i
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
SMSC LAN9311/LAN9311i 5 Revision 2.0 (02-14-13)
PRODUCT PREVIEW
128-VTQFP Package Outline
Figure 3 LAN9311 128-VTQFP Package Definition
Table 1 LAN9311 128-VTQFP Dimensions
MIN NOMINAL MAX REMARKS
A - - 1.20 Overall Package Height
A1 0.05 - 0.15 Standoff
A2 0.95 1.00 1.05 Body Thickness
D/E 15.80 16.00 16.20 X/Y Span
D1/E1 13.80 14.00 14.20 X/Y Plastic Body Size
L 0.45 0.60 0.75 Lead Foot Length
b 0.13 0.18 0.23 Lead Width
c 0.09 - 0.20 Lead Foot Thickness
e 0.40 BSC Lead Pitch
ddd 0.00 - 0.07 True Position Spread
ccc - - 0.08 Coplanarity
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Revision 2.0 (02-14-13) 6 SMSC LAN9311/LAN9311i
PRODUCT PREVIEW
Notes:
1. All dimensions are in millimeters unless otherwise noted.
2. Dimensions b & c apply to the flat section of the lead foot between 0.10 and 0.25mm from the lead tip. The
base metal is exposed at the lead tip.
3. Dimensions D1 and E1 do not include mold protrusions. Maximum allowed protrusion is 0.25mm per side. D1
and E1 are maximum plastic body size dimensions including mold mismatch.
4. The pin 1 identifier may vary, but is always located within the zone indicated.
Figure 4 LAN9311 128-VTQFP Recommended PCB Land Pattern
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
SMSC LAN9311/LAN9311i 7 Revision 2.0 (02-14-13)
PRODUCT PREVIEW
128-XVTQFP Package Outline
Figure 5 LAN9311/LAN9311i 128-XVTQFP Package Definition
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Revision 2.0 (02-14-13) 8 SMSC LAN9311/LAN9311i
PRODUCT PREVIEW
Notes:
1. All dimensions are in millimeters unless otherwise noted.
2. Dimensions b & c apply to the flat section of the lead foot between 0.10 and 0.25mm from the lead tip. The
base metal is exposed at the lead tip.
3. Dimensions D1 and E1 do not include mold protrusions. Maximum allowed protrusion is 0.25mm per side. D1
and E1 are maximum plastic body size dimensions including mold mismatch.
4. Dimensions D2 and E2 represent the size of the exposed pad. The exposed pad shall be coplanar with the
bottom of the package within 0.05mm.
5. The pin 1 identifier may vary, but is always located within the zone indicated.
Table 2 LAN9311/LAN9311i 128-XVTQFP Dimensions
MIN NOMINAL MAX REMARKS
A - - 1.20 Overall Package Height
A1 0.05 - 0.15 Standoff
A2 0.95 1.00 1.05 Body Thickness
D/E 15.80 16.00 16.20 X/Y Span
D1/E1 13.80 14.00 14.20 X/Y Plastic Body Size
D2/E2 6.35 6.50 6.65 X/Y Exposed Pad Size
L 0.45 0.60 0.75 Lead Foot Length
b 0.13 0.18 0.23 Lead Width
c 0.09 - 0.20 Lead Foot Thickness
e 0.40 BSC Lead Pitch
ddd 0.00 - 0.07 True Position Spread
ccc - - 0.08 Coplanarity
Figure 6 LAN9311/LAN9311i 128-XVTQFP Recommended PCB Land Pattern
Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information:
Microchip:
LAN9311I-NZW LAN9311-NU LAN9311-NZW