LAN9211-ABZJ SMSC, LAN9211-ABZJ Datasheet

IC ETHERNET CTLR SGL CHIP 56-QFN

LAN9211-ABZJ

Manufacturer Part Number
LAN9211-ABZJ
Description
IC ETHERNET CTLR SGL CHIP 56-QFN
Manufacturer
SMSC
Type
Single Chip MAC and PHY Controllerr
Datasheet

Specifications of LAN9211-ABZJ

Controller Type
Ethernet Controller
Interface
Serial EEPROM
Voltage - Supply
3.3V
Operating Temperature
0°C ~ 70°C
Mounting Type
Surface Mount
Package / Case
56-QFN
Product
Ethernet Controllers
Number Of Transceivers
1
Standard Supported
IEEE 802.3 or IEEE 802.3u
Data Rate
10 Mbps or 100 Mbps
Supply Voltage (max)
5 V
Supply Voltage (min)
3.3 V
Supply Current (max)
86 mA
Maximum Operating Temperature
+ 70 C
Ethernet Connection Type
100BASE-TX or 10BASE-T
Minimum Operating Temperature
0 C
Mounting Style
SMD/SMT
No. Of Ports
2
Ethernet Type
IEEE 802.3 / 802.3u
Interface Type
HBI
Supply Current
86mA
Supply Voltage Range
2.97V To 3.63V
Operating Temperature Range
0°C To +70°C
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Current - Supply
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
638-1049-6

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LAN9211-ABZJ
Manufacturer:
Standard
Quantity:
3
Part Number:
LAN9211-ABZJ
Manufacturer:
SMSC
Quantity:
1 154
Part Number:
LAN9211-ABZJ
Manufacturer:
SMSC
Quantity:
20 000
PRODUCT FEATURES
Highlights
Target Applications
Key Benefits
SMSC LAN9211
Optimized for high performance applications
Efficient architecture with low CPU overhead
Easily interfaces to most 16-bit embedded CPU’s
Integrated PHY with HP Auto-MDIX support
Integrated checksum offload engine helps reduce
Low pin count and small body size package for small
Supports audio & video streaming over Ethernet:
Cable, satellite, and IP set-top boxes
Digital video recorders and DVD recorder/players
Digital TV
Digital media clients/servers and home gateways
Video-over IP solutions, IP PBX & video phones
Wireless routers & access points
High-end audio distribution systems
Non-PCI Ethernet controller for high performance
Minimizes dropped packets
Minimizes CPU overhead
Reduces system cost and increases design flexibility
SRAM-like interface easily interfaces to most
Reduced Power Modes
CPU load
form factor system designs
1-2 high-definition (HD) MPEG2 streams
sensitive applications
— 16-bit interface with fast bus cycle times
— Burst-mode read support
— Internal buffer memory can store over 200 packets
— Automatic PAUSE and back-pressure flow control
— Supports Slave-DMA
— Interrupt Pin with Programmable Hold-off timer
embedded CPU’s or SoC’s
— Numerous power management modes
— Wake on LAN
— Magic packet wakeup
— Wakeup indicator event signal
— Link Status Change
High-Performance Small Form Factor
Single-Chip Ethernet Controller with
HP Auto-MDIX Support
DATASHEET
Single chip Ethernet controller
Flexible address filtering modes
Integrated 10/100 Ethernet PHY
Host bus interface
Miscellaneous features
Single 3.3V Power Supply with 5V tolerant I/O
0°C to +70°C Commercial Temperature Support
— Fully compliant with IEEE 802.3/802.3u standards
— Integrated Ethernet MAC and PHY
— 10BASE-T and 100BASE-TX support
— Full- and Half-duplex support
— Full-duplex flow control
— Backpressure for half-duplex flow control
— Preamble generation and removal
— Automatic 32-bit CRC generation and checking
— Automatic payload padding and pad removal
— Loop-back modes
— One 48-bit perfect address
— 64 hash-filtered multicast addresses
— Pass all multicast
— Promiscuous mode
— Inverse filtering
— Pass all incoming with status report
— Disable reception of broadcast packets
— Supports HP Auto-MDIX
— Auto-negotiation
— Supports energy-detect power down
— Simple, SRAM-like interface
— 16-bit data bus
— 16Kbyte FIFO with flexible TX/RX allocation
— One configurable host interrupt
— Small form factor, 56-pin QFN lead-free RoHS
— Integrated 1.8V regulator
— Integrated checksum offload engine
— Mixed endian support
— General Purpose Timer
— Optional EEPROM interface
— Support for 3 status LEDs multiplexed with
LAN9211
Compliant package
Programmable GPIO signals
Revision 2.7 (03-15-10)
Datasheet

Related parts for LAN9211-ABZJ

LAN9211-ABZJ Summary of contents

Page 1

... Reduced Power Modes — Numerous power management modes — Wake on LAN — Magic packet wakeup — Wakeup indicator event signal — Link Status Change SMSC LAN9211 LAN9211 High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support Single chip Ethernet controller — ...

Page 2

... LAN9211-ABZJ FOR 56-PIN, QFN LEAD-FREE ROHS COMPLIANT PACKAGE (0 TO +70°C TEMP RANGE) This product meets the halogen maximum concentration values per IEC61249-2-21 For RoHS compliance and environmental information, please visit 80 ARKAY DRIVE, HAUPPAUGE, NY 11788 (631) 435-6000, FAX (631) 273-3123 Copyright © 2010 SMSC or its subsidiaries. All rights reserved. ...

Page 3

... System Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 3.10.2 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 3.10.3 Internal PHY Power-Down Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.11 Detailed Reset Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 3.11.1 Hardware Reset Input (nRESET 3.11.2 Resume Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3.11.3 Soft Reset (SRST 3.11.4 PHY Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3.12 TX Data Path Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 SMSC LAN9211 3 DATASHEET Revision 2.7 (03-15-10) ...

Page 4

... TX FIFO Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 5.3 System Control and Status Registers 5.3.1 ID_REV—Chip ID and Revision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 5.3.2 IRQ_CFG—Interrupt Configuration Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 5.3.3 INT_STS—Interrupt Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support 4 DATASHEET Datasheet SMSC LAN9211 ...

Page 5

... Interrupt Mask . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 5.5.13 PHY Special Control/Status 125 Chapter 6 Timing Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 6.1 Host Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 6.1.1 Special Restrictions on Back-to-Back Write/Read Cycles . . . . . . . . . . . . . . . . . . . . . . . 126 6.1.2 Special Restrictions on Back-to-Back Read Cycles . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 6.2 PIO Reads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 SMSC LAN9211 5 DATASHEET Revision 2.7 (03-15-10) ...

Page 6

... Worst Case Current Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 7.6 DC Electrical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 7.7 Clock Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Chapter 8 Package Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 8.1 56-QFN Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 Chapter 9 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support 6 DATASHEET Datasheet SMSC LAN9211 ...

Page 7

... Figure 3.7 Ethernet Frame with Length Field and SNAP Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Figure 3.8 Ethernet Frame with VLAN Tag and SNAP Header Figure 3.9 Ethernet Frame with multiple VLAN Tags and SNAP Header . . . . . . . . . . . . . . . . . . . . . . . . 30 Figure 3.2 LAN9211 Host Data Path Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Figure 3.3 FIFO Access Byte Ordering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Figure 3.4 EEPROM Access Flow Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Figure 3 ...

Page 8

... Table 5.6 MAC CSR Register Map 104 Table 5.7 ADDRL, ADDRH and EEPROM Byte Ordering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Table 5.8 LAN9211 PHY Control and Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 Table 5.9 MODE Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Table 6.1 Read After Write Timing Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Table 6.2 Read After Read Timing Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 Table 6 ...

Page 9

... The LAN9211 also supports features which reduce or eliminate packet loss. Its internal 16-KByte SRAM can hold over 200 received packets. If the receive FIFO gets too full, the LAN9211 can automatically generate flow control packets to the remote node, or assert back-pressure on the remote node by generating network collisions ...

Page 10

... Microcontroller The SMSC LAN9211 integrated 10/100 MAC/PHY controller is a peripheral chip that performs the function of translating parallel data from a host controller into Ethernet packets. The LAN9211 Ethernet MAC/PHY controller is designed and optimized to function in an embedded environment. All communication is performed with programmed I/O transactions using the simple SRAM-like host interface bus ...

Page 11

... PIO interface function. On the backend, the MAC interfaces with the internal 10/100 PHY through a MII (Media Independent Interface) port internal to the LAN9211. The MAC CSR's also provide a mechanism for accessing the PHY’s internal registers through the internal SMI (Serial Management Interface) bus. ...

Page 12

... Serial EEPROM Interface A serial EEPROM interface is included in the LAN9211. The serial EEPROM is optional and can be programmed with the LAN9211 MAC address. The LAN9211 can optionally load the MAC address automatically after hardware reset, or soft reset. ...

Page 13

... SRAM. TX FIFO, RX FIFO, and CSR’s are accessed through this interface. Programmed I/O transactions are supported. The LAN9211 host bus interface supports 16-bit bus transfers. Internally, all data paths are 32-bits wide. The LAN9211 can be interfaced to either Big-Endian or Little-Endian processors and includes mixed endian support for FIFO accesses ...

Page 14

... Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support SMSC LAN9211 56 PIN QFN (TOP VIEW) VSS Figure 2.1 Pin Configuration (Top View) 14 DATASHEET Datasheet D10 25 VDD_IO 24 D11 23 D12 22 D13 21 D14 20 D15 19 VDD_IO 18 nCS 17 nWR 16 nRD 15 SMSC LAN9211 ...

Page 15

... LAN9211 when reduced power state Active low signal used to qualify read and write operations. This signal qualified with nWR is also used to wakeup the LAN9211 when reduced power state. O8/OD8 1 Programmable Interrupt request. Programmable polarity, source and buffer types. ...

Page 16

... EEPROM. This signal cannot function as a general-purpose input. Note: When the EEPROM interface is not used, the EECLK pin must be left unconnected. Note: This pin must not be pulled low by an external resistor or driven low externally under any conditions. 16 DATASHEET Datasheet DESCRIPTION SMSC LAN9211 ...

Page 17

... LAN9211. This signal is (PU) pulled high with a weak internal pull-up resistor. Note: O8/OD8 1 When programmed to do so, is asserted when the LAN9211 detects a wake event and is requesting the system to wake up from the associated sleep state. The polarity and buffer type of this signal is programmable. Note Enables Auto-MDIX ...

Page 18

... This signal is driven high only during 10Mbs operation. nLED2 (Link & Activity Indicator). This signal is driven low (LED on) when the LAN9211 detects a valid link. This signal is pulsed high (LED off) for 80mS whenever transmit or receive activity is detected. This signal is then ...

Page 19

... VDD_CORE 16 3 GPIO0/nLED1 17 4 GPIO1/nLED2 18 5 GPIO2/nLED3 FIFO_SEL SMSC LAN9211 PIN PIN NAME NUM PIN NAME nRD 29 D6 nWR 30 VDD_IO nCS 31 D5 VDD_IO 32 D4 D15 33 D3 D14 34 D2 D13 35 D1 D12 36 D0 D11 37 VDD_CORE VDD_IO 38 EEDIO/GPO3 D10 39 EECS D9 40 EECLK/GPO4 ...

Page 20

... PD Analog input AI Analog output AO Analog bi-directional AIO Crystal oscillator input pin ICLK Crystal oscillator output pin OCLK Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support Table 2.6 Buffer Types DESCRIPTION 20 DATASHEET Datasheet SMSC LAN9211 ...

Page 21

... Interface to the internal PHY. Checksum offload engine for calculation of layer 3 transmit and receive checksum. The transmit and receive data paths are separate within the LAN9211 from the MAC to host interface allowing the highest performance, especially in full duplex mode. Payload data as well as transmit and receive status are passed on these busses. A third internal bus is used to access the MAC’ ...

Page 22

... The LAN9211 can store up to 250 Ethernet packets utilizing FIFOs, totaling 16K bytes, with a packet granularity of 4 bytes. This memory is shared by the RX and TX blocks and is configurable in terms of allocation. This depth of buffer storage minimizes or eliminates receive overruns. 3.2 Flow Control The LAN9211 Ethernet MAC supports full-duplex flow control using the pause operation and control frame ...

Page 23

... The first bit of the destination address signifies whether physical address or a multicast address. The LAN9211 address check logic filters the frame based on the Ethernet receive filter mode that has been enabled. Filter modes are specified based on the state of the control bits in Filtering Modes" ...

Page 24

... Hash Perfect Filtering In hash perfect filtering, if the received frame is a physical address, the LAN9211 Packet Filter block perfect-filters the incoming frame’s destination field with the value programmed into the MAC Address High register and the MAC Address Low register. If the incoming frame is a multicast frame, however, the LAN9211 packet filter function performs an imperfect address filtering against the hash table ...

Page 25

... Setting the Wake-Up Frame Enable bit (WUEN) in the “WUCSR—Wake-up Control and Status Register”, places the LAN9211 MAC in the wake-up frame detection mode. In this mode, normal data reception is disabled, and detection logic within the MAC examines receive data for the pre- programmed wake-up frame patterns ...

Page 26

... FILTER I BYTE MASK DESCRIPTION Table 3.4 FILTER i COMMANDS Table 3.5 describes the Filter i Offset bit fields. 26 DATASHEET Datasheet Filter 1 Reserved Filter 0 Command Command Filter 0 Offset Filter 0 CRC-16 Filter 2 CRC-16 shows the Filter I command register. SMSC LAN9211 ...

Page 27

... MAC examines receive data for a Magic Packet. The LAN9211 can be programmed to notify the host of the “Magic Packet” detection with the assertion of the host interrupt (IRQ) or assertion of the power management event signal (PME). Upon detection, the Magic Packet Received bit (MPR) in the WUCSR is set ...

Page 28

... It should be noted that Magic Packet detection can be performed when LAN9211 is in the power states. In the D0 state, “Magic Packet” detection is enabled when the MPEN bit is set. In the D1 state, Magic Packet detection, as well as wake-up frame detection, are automatically enabled when the device enters the D1 state. ...

Page 29

... Figure 3.6 Ethernet Frame with VLAN Tag {DSAP, SSAP, CTRL, OUI[23:16 DST SRC 1DWORD Figure 3.7 Ethernet Frame with Length Field and SNAP Header SMSC LAN9211 L3 Packet Calculate Checksum Figure 3.5 Type II Ethernet Frame L3 Packet Calculate Checksum {OUI[15:0], PID[15:0 Packet Calculate Checksum 29 DATASHEET ...

Page 30

... High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support {OUI[15:0], PID[15:0 Packet Calculate Checksum {OUI[15:0], PID[15:0 Packet Calculate Checksum COE_CR—Checksum Offload Engine Control Register Register) and vice versa. These functions cannot be enabled 30 DATASHEET Datasheet Section 3.13.3) enables the SMSC LAN9211 ...

Page 31

... TX checksum preamble to include the partial checksum. The partial checksum can be replaced by the completed checksum calculation by setting the TXCSLOC pointer to point to the location of the partial checksum. SMSC LAN9211 COE_CR—Checksum Offload Engine Control Table 3.7). The TX checksum preamble instructs the TXCOE 3" ...

Page 32

... If a read to the same word is performed, the data read is invalid and should be re-read. This is not a fatal error. The LAN9211 will reset its read counters and restart a new cycle on the next read. Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support Table 3 ...

Page 33

... Mixed Endian Support In order to allow flexibility with a range of designs, the LAN9211 supports mixed endian Data FIFO accesses. The LAN9211 provides the ability to select Data FIFO endianess separately for accesses through the Data FIFO ports (addresses 00h-3Ch) or using the FIFO_SEL input signal. This is accomplished via the FPORTEND and FSELEND bits of the Register, respectively ...

Page 34

... and Status FIFO s FPO R TEN [29 _SW A P Figure 3.2 LAN9211 Host Data Path Diagram Data path operations for the various supported endianess and word swap configurations are illustrated in Figure 3.3. Table 3.8, "Endian Ordering Logic Operation" endian logic for each type of host access. This figure and table assume an internal byte ordering of 3- 2-1-0, where ‘ ...

Page 35

... A[ A[ HOST DATA BUS SMSC LAN9211 WORD_SWAP != FFFF_FFFFh (FPORTEND = 0 for Data FIFO port access on addresses 00h-3Ch) AND/OR (FSELEND = 0 for Data FIFO direct access when FIFO_SEL=1) MSB LSB A[ A[ WORD_SWAP = FFFF_FFFFh (FPORTEND = 0 for Data FIFO port access on addresses 00h-3Ch) AND/OR (FSELEND = 0 for Data FIFO direct access when FIFO_SEL=1) ...

Page 36

... High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support FIFO Access via Data Direct FIFO Access via FIFO Port (00h-3Ch) FIFO_SEL Host Data Bus Host Data Bus D[15:8] D[7:0] D[15: DATASHEET Datasheet CSR Access Host Data Bus D[7:0] D[15:8] D[7: SMSC LAN9211 ...

Page 37

... EEPROM is not detected the responsibility of the host LAN Driver to set the IEEE addresses. The LAN9211 EEPROM controller also allows the host system to read, write and erase the contents of the Serial EEPROM. The EEPROM controller supports most “93C46” type EEPROMs configured for 128 x 8-bit operation ...

Page 38

... If an operation is attempted, and an EEPROM device does not respond within 30mS, the LAN9211 will timeout, and the EPC timeout bit (EPC_TO) in the E2P_CMD register will be set. Figure 3.4, "EEPROM Access Flow Diagram" EEPROM Read or Write operation. EEPROM Write Busy Bit = 0 Figure 3.4 EEPROM Access Flow Diagram The host can disable the EEPROM interface through the GPIO_CFG register ...

Page 39

... ERAL (Erase All): If erase/write operations are enabled in the EEPROM, this command will initiate a bulk erase of the entire EEPROM.The EPC_TO bit is set if the EEPROM does not respond within 30ms. EECS EECLK EEDIO (OUTPUT) 1 EEDIO (INPUT) SMSC LAN9211 Figure 3.5 EEPROM ERASE Cycle 0 0 ...

Page 40

... Erase/Write Enable command is issued. EECS EECLK EEDIO (OUTPUT) EEDIO (INPUT) Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support Figure 3.7 EEPROM EWDS Cycle Figure 3.8 EEPROM EWEN Cycle 40 DATASHEET Datasheet t CSL t CSL SMSC LAN9211 ...

Page 41

... E2P_DATA register to be written to every EEPROM memory location. The EPC_TO bit is set if the EEPROM does not respond within 30ms. EECS EECLK EEDIO (OUTPUT EEDIO (INPUT) Table 3.9, "Required EECLK each EEPROM operation. SMSC LAN9211 Figure 3.9 EEPROM READ Cycle Figure 3 ...

Page 42

... Refer to Section 6.9, "EEPROM Timing," on page 136 3.10 Power Management The LAN9211 supports power-down modes to allow applications to minimize power consumption. The following sections describe these modes. 3.10.1 System Description Power is reduced to various modules by disabling the clocks as outlined in Table 3.10, “Power Management States,” ...

Page 43

... Note 3.11 When the LAN9211 power saving state, a write of any data to the BYTE_TEST register will wake-up the device. DO NOT PERFORM WRITES TO OTHER ADDRRESSES while the READY bit in the PMT_CTRL register is cleared. ...

Page 44

... A write to the BYTE_TEST register, regardless of whether a carrier was detected, will return the LAN9211 to the D0 state and will reset the PM_MODE field to the D0 state. As noted above, the host is required to check the READY bit and verify that it is set before attempting any other reads or writes of the device ...

Page 45

... WUPS bits clearing the corresponding WOL_EN or ED_EN bit. After clearing the internal pme_interrupt signal, the PME_INT status bit may be cleared by writing a ‘1’ to this bit in the INT_STS register. It should be noted that the LAN9211 can generate a host interrupt regardless of the state of the PME_EN bit, or the external PME signal. ...

Page 46

... Table 3.11 shows the effect of the various reset sources on the LAN9211's circuitry. Note: For proper operation, the LAN9211 must be reset on power-up via the hardware reset input (nRESET) or soft reset (SRST). To accomplish this, nRESET should be asserted for the minimum period of 30ms at power-up. Alternatively, a soft reset may be performed following power-up by setting the SRST bit of the HW_CFG register once the READY bit in the PMT_CTRL register has been set ...

Page 47

... Resume Reset Timing After issuing a write to the BYTE_TEST register to wake the LAN9211 from a power-down state, the READY bit in PMT_CTRL will assert (set High) within 2ms. APPLICATION NOTE: Under normal conditions, the READY bit in PMT_CTRL will be set (high -”1”) within 2 ms. If the software driver polls this bit and it is not set within 100ms, then an error condition occurred ...

Page 48

... Burst length regardless of the actual packet length. When configured to do so, the LAN9211 will accept extra data at the end of the packet and will remove the extra padding before transmitting the packet. The LAN9211 automatically removes data up to the boundary specified in the Buffer End Alignment field specified in each TX command ...

Page 49

... TX buffers exist in the host’s memory in a given format. The host writes a TX command word into the TX data buffer before moving the Ethernet packet data. The TX command A and command B are 32- bit values that are used by the LAN9211 in the handling and processing of the associated Ethernet packet data buffer. Buffer alignment, segmentation and other packet processing parameters are included in the command structure ...

Page 50

... Optional offset DWORDn Offset + Data DWORD0 . . . . . Last Data & PAD Optional Pad DWORD0 . . . Optional Pad DWORDn Last Figure 3.14 TX Buffer Format Format", shows the TX Buffer written into the LAN9211. It should be for a detailed explanation on calculating the 50 DATASHEET Datasheet 0 Section 3.12.5, SMSC LAN9211 ...

Page 51

... DWORD’s were added to the end of the Buffer. A running count is also maintained in the LAN9211 of the cumulative buffer sizes for a given packet. This cumulative value is compared against the Packet Length field in the TX command ‘B’ word and if they do not correlate, the TXE flag is set ...

Page 52

... High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support Table 3.13 TX Command 'B' Format DESCRIPTION Register, the TX checksum offload engine (TXCOE) Table 3.14, "TX DATA Start Table 3.14 TX DATA Start Offset 11 10 D[31:24] D[23:16] 52 DATASHEET Datasheet Offset", shows the 01 00 D[15:8] D[7:0] SMSC LAN9211 ...

Page 53

... 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 LAN9211. 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 ...

Page 54

... Any DWORD-long data added as part of the End Padding is removed from each buffer before the data is written to the TX data FIFO. Any end padding that is less than 1 DWORD is passed to the TX data FIFO Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support DESCRIPTION 54 DATASHEET Datasheet SMSC LAN9211 ...

Page 55

... End Alignment” Buffer 1: 0-Byte “Data Start Offset” 15-Bytes of payload data 16-Byte “Buffer End Alignment” Buffer 2: 10-Byte “Data Start Offset” 17-Bytes of payload data 16-Byte “Buffer End Alignment” SMSC LAN9211 55 DATASHEET Revision 2.7 (03-15-10) ...

Page 56

... TX Command 'B' 10-Byte Data Start Offset 17-Byte Payload Data 5-Byte End Padding Figure 3.15 TX Example 1 56 DATASHEET Datasheet TX Data FIFO TX Command 'A' TX Command 'B' 79-Byte Payload TX Command 'A' 15-Byte Payload TX Command 'A' 17-Byte Payload NOTE: Extra bytes betw een buffers are not transmitted SMSC LAN9211 ...

Page 57

... Buffer End Alignment = 0 Data Start Offset = 6 First Segment = 1 Last Segment = 1 Buffer Size =183 TX Command 'B' Packet Length = 183 SMSC LAN9211 illustrates the TX command structure for this example, and also shows Data Written to the 0 TX Command 'A' TX Command 'B' 6-Byte Data Start Offset 183-Byte Payload Data 3B End Padding Figure 3 ...

Page 58

... COE_CR register. For more information, refer to Checksum Offload Engine Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support illustrates the TX command structure for this example, and also shows (TXCOE)". 58 DATASHEET Datasheet Section 3.6.2, "Transmit SMSC LAN9211 ...

Page 59

... Data Start Offset TX Command 'B' Packet Length = 115 TX Checksum Enable = 1 17-Byte Payload Data 5-Byte End Padding SMSC LAN9211 NOTE: When enabled, the TX Checksum transmitted. The FS bit in TX Command 'A', the 0 CK bit in TX Command 'B' and the TXCOE_EN bit in the COE_CR register must all be set for the TX checksum to be generated ...

Page 60

... The offset may be changed in between RX packets, but it must not be changed during an RX packet read. The LAN9211 can be programmed to add padding at the end of a receive packet in the event that the end of the packet does not align with the host burst boundary. This feature is necessary when the LAN9211 is operating in a system that always performs multi-DWORD bursts ...

Page 61

... The host should perform the proper number of reads, as indicated by the packet length plus the start offset and the amount of optional padding added to the end of the frame, from the RX data FIFO. Last Packet Figure 3.18 Host Receive Routine Using Interrupts Figure 3.19 Host Receive Routine with Polling SMSC LAN9211 init Idle RX Interrupt Read RX ...

Page 62

... FIFOs. When activated, the read and write pointers for the RX data and status FIFOs will be returned to their reset state. To perform a receiver dump, the LAN9211 receiver must be halted. Once the receiver stop completion is confirmed, the RX_DUMP bit can be set in the RX_CFG register. The RX_DUMP bit is cleared when the dump is complete ...

Page 63

... RX Data FIFO. The RX checksum is enabled by setting the RXCOE_EN bit in the Control Register. For more information on the RX checksum, refer to Checksum Offload Engine SMSC LAN9211 Figure 3.20 assumed that the host has previously read the associated 31 Optional offset DWORD0 ...

Page 64

... Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support 31 Order Optional offset DWORD0 1st . 2nd . Optional offset DWORDn ofs + First Data DWORD . . . . Last Data DWORD RX Checksum Optional Pad DWORD0 . . Optional Pad DWORDn Last DESCRIPTION 64 DATASHEET Datasheet 0 SMSC LAN9211 ...

Page 65

... If the Receiver Error (RXE) flag is asserted for any reason, the receiver will continue operation. RX Error (RXE) will be asserted under the following conditions: A host underrun of RX data FIFO A host underrun of the RX status FIFO An overrun of the RX status FIFO It is the duty of the host to identify and resolve any error conditions. SMSC LAN9211 DESCRIPTION 65 DATASHEET Revision 2.7 (03-15-10) ...

Page 66

... Encoder 125 Mbps Serial MLT-3 Tx MLT-3 MLT-3 Converter Driver MLT-3 CAT-5 MLT-3 Figure 4.1 100Base-TX Data Path Figure 4.1. Each major block is explained below. 66 DATASHEET Datasheet Scrambler 25MHz by 5 bits and PISO Magnetics Table 4.1. Each 4-bit data-nibble SMSC LAN9211 ...

Page 67

... INVALID, RX_ER if during RX_DV 00001 V INVALID, RX_ER if during RX_DV 00010 V INVALID, RX_ER if during RX_DV 00011 V INVALID, RX_ER if during RX_DV 00101 V INVALID, RX_ER if during RX_DV SMSC LAN9211 Table 4.1 4B/5B Code Table RECEIVER INTERPRETATION 0000 DATA 0001 0010 0011 0100 0101 0110 0111 ...

Page 68

... The 100M PLL locks onto reference clock and generates the 125MHz clock used to drive the 125 MHz logic and the 100Base-Tx Transmitter. Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support Table 4.1 4B/5B Code Table (continued) RECEIVER INTERPRETATION 68 DATASHEET Datasheet TRANSMITTER INTERPRETATION INVALID INVALID INVALID SMSC LAN9211 ...

Page 69

... This clock is used to extract the serial data from the received signal. 4.3.3 NRZI and MLT-3 Decoding The DSP generates the MLT-3 recovered levels that are fed to the MLT-3 converter. The MLT-3 is then converted to an NRZI data stream. SMSC LAN9211 100M PLL 25MHz 4B/5B ...

Page 70

... The 4-bit wide data is sent to the TX10M block. The nibbles are converted to a 10Mbps serial NRZI data stream. The 10M PLL locks onto the external clock or internal oscillator and produces a 20MHz Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support 70 DATASHEET Datasheet SMSC LAN9211 ...

Page 71

... Auto-negotiation is a mechanism for exchanging configuration information between two link-partners and automatically selecting the highest performance mode of operation supported by both sides. Auto-negotiation is fully defined in clause 28 of the IEEE 802.3 specification. SMSC LAN9211 71 DATASHEET Revision 2.7 (03-15-10) ...

Page 72

... Any difference in the main content of the link code words at this time will cause auto-negotiation to re-start. Auto-negotiation will also re-start if not all of the required FLP bursts are received. Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support 72 DATASHEET Datasheet SMSC LAN9211 ...

Page 73

... Parallel Detection If the LAN9211 is connected to a device lacking the ability to auto-negotiate (i.e. no FLPs are detected able to determine the speed of the link based on either 100M MLT-3 symbols or 10M Normal Link Pulses. In this case the link is presumed to be half-duplex per the IEEE standard. This ability is known as “ ...

Page 74

... Mbps Note 4.1 The LAN9211 10/100 PHY internal CRS signal operates in two modes: Active and Low. When in Active mode, the internal CRS will transition high and low upon line activity, where a high value indicates a carrier has been detected. In Low mode, the internal CRS stays low and does not indicate carrier detection ...

Page 75

... High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support Datasheet The figure below shows the signal names at the RJ-45 connector, The mapping of these signals to the pins on the LAN9211 is as follows: TXP = TPO+ TXN = TPO- RXP = TPI+ RXN = TPI- Figure 4.3 Direct cable connection vs. Cross-over cable connection. ...

Page 76

... Chapter 5 Register Description The following section describes all LAN9211 registers and data ports. FCh B4h B0h ACh A8h A4h A0h 50h 4Ch 48h 44h 40h 3Ch 24h 20h 1Ch 04h Base + 00h Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support ...

Page 77

... LAN9211 registers accordingly. 5.2 RX and TX FIFO Ports The LAN9211 contains four host-accessible FIFOs: RX Status, RX Data, TX Status, and TX Data FIFOs. The sizes Data FIFOs and the RX Status FIFO are configurable through the CSRs. 5.2.1 RX FIFO Ports The RX Data Path contains two Read-Only FIFOs: RX Status and RX Data ...

Page 78

... Automatic Flow Control Configuration EEPROM Command EEPROM Data Reserved for future use 78 DATASHEET Datasheet DEFAULT See Page 79. 00000000h 00000000h 00000000h - 87654321h 48000000h 00000000h 00000000h 00050000h 00000000h 00000000h 00001200h 00000000h 00000000h 0000FFFFh 0000FFFFh - 00000000h - 00000000h 00000000h 00000000h 00000000h 00000000h 00000000h - SMSC LAN9211 ...

Page 79

... IRQ Enable (IRQ_EN) – This bit controls the final interrupt output to the IRQ pin. When clear, the IRQ output is disabled and permanently deasserted. This bit has no effect on any internal interrupt status bits. 7-5 Reserved SMSC LAN9211 50h Size: DESCRIPTION 54h Size: ...

Page 80

... When set, the IRQ output is a Push-Pull driver. When configured as an open-drain output the IRQ_POL field is ignored, and the interrupt output is always active low. Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support DESCRIPTION 80 DATASHEET Datasheet TYPE DEFAULT R/W 0 NASR RO - R/W 0 NASR SMSC LAN9211 ...

Page 81

... PME hardware signal. Notes: Detection of a Power Management Event, and assertion of the PME signal will not wakeup the LAN9211. The LAN9211 will only wake up when it detects a host write cycle of any data to the BYTE_TEST register. ...

Page 82

... GPIO [2:0] (GPIOx_INT). Interrupts are generated from the GPIO’s. These interrupts are configured through the GPIO_CFG register. Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support DESCRIPTION 82 DATASHEET Datasheet TYPE DEFAULT RO - R/WC 0 R/WC 0 R/WC 0 R/ R/WC 0 R/WC 0 R/WC 000 SMSC LAN9211 ...

Page 83

... TX Status FIFO Full Interrupt (TSFF_INT_EN Status FIFO Level Interrupt (TSFL_INT_EN Dropped Frame Interrupt Enable (RXDF_INT_EN) 5 Reserved 4 RX Status FIFO Full Interrupt (RSFF_INT_EN Status FIFO Level Interrupt (RSFL_INT_EN) 2-0 GPIO [2:0] (GPIOx_INT_EN). SMSC LAN9211 5Ch Size: DESCRIPTION 83 DATASHEET 32 bits TYPE DEFAULT R R/W ...

Page 84

... RX Status FIFO Level interrupt (RSFL) will be generated. Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support 64h Size: DESCRIPTION 68h Size: DESCRIPTION 84 DATASHEET Datasheet 32 bits TYPE DEFAULT RO 87654321h 32 bits TYPE DEFAULT R/W 48h R/W 00h RO - R/W 00h SMSC LAN9211 ...

Page 85

... BITS 31:30 RX End Alignment. This field specifies the alignment that must be maintained on the last data transfer of a buffer. The LAN9211 will add extra DWORDs of data up to the alignment specified in the table below. The host is responsible for removing these extra DWORDs. This mechanism can be used to maintain cache line alignment on host processors ...

Page 86

... TX_CFG—Transmit Configuration Register Offset: This register controls the transmit functions on the LAN9211 Ethernet Controller. BITS 31-16 Reserved. 15 Force TX Status Discard (TXS_DUMP). This self-clearing bit clears the TX status FIFO of all pending status DWORD’s. When a ‘1’ is written, the TX status pointers are cleared to zero. ...

Page 87

... TX_CLK running), the reset will not complete and the soft reset operation will timeout and this bit will be set to a ‘1’. The host processor must correct the problem and issue another soft reset. SMSC LAN9211 74h Size: for details on stopping the transmitter and receiver ...

Page 88

... After a PHY reset, or when returning from a reduced power state, the PHY must given adequate time to return to the operational state before a soft reset can be issued. The LAN9211 must always be read at least once after power-up, reset, or upon return from a power-saving state or write operations will not function. Revision 2.7 (03-15-10) ...

Page 89

... SMSC LAN9211 Table 5.3 Valid TX/RX FIFO Allocations TX STATUS FIFO RX DATA FIFO SIZE (BYTES) 512 512 512 512 512 512 512 512 512 512 512 512 512 89 DATASHEET RX STATUS FIFO ...

Page 90

... Depending on the size of the frames to be transmitted, the MIL can hold up to two Ethernet frames. This is in addition to any TX data that may be queued in the TX data FIFO. Conversely, as data is received by the LAN9211 moved from the MAC to the RX MIL FIFO, and then into the RX data FIFO. When the RX data FIFO fills up, data will continue to collect in the RX MIL FIFO ...

Page 91

... High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support Datasheet 5.3.11 RX_FIFO_INF—Receive FIFO Information Register Offset: This register contains the used space in the receive FIFOs of the LAN9211 Ethernet Controller. BITS 31-24 Reserved 23-16 RX Status FIFO Used Space (RXSUSED). Indicates the amount of space in DWORDs, used in the RX Status FIFO ...

Page 92

... Offset: This register controls the Power Management features. This register can be read while the power saving mode. LAN9211 Note: The LAN9211 must always be read at least once after power-up, reset, or upon return from a power-saving state or write operations will not function. BITS 31:14 ...

Page 93

... Device Ready (READY). When set, this bit indicates that LAN9211 is ready to be accessed. This register can be read when LAN9211 is in any power management mode. Upon waking from any power management mode, including power-up, the host processor can interrogate this field as an indication when LAN9211 has stabilized and is fully alive ...

Page 94

... Reserved Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support 88h Size: DESCRIPTION for the EEPROM Enable bit function definitions. 94 DATASHEET Datasheet 32 bits TYPE DEFAULT RO - R/W 000 RO - R/W 000 RO - R/W 000 RO - R/W 000 RO - R/W 0000 RO - SMSC LAN9211 ...

Page 95

... Timer is put into the run state. When cleared, the GP Timer is halted. On the transition of this bit the GPT_LOAD field will be preset to FFFFh. 28-16 Reserved 15-0 General Purpose Timer Pre-Load (GPT_LOAD). This value is pre-loaded into the GP-Timer. SMSC LAN9211 DESCRIPTION Table 5.4 EEPROM Enable Bit Definitions EEDIO FUNCTION EEDIO GPO3 GPO3 ...

Page 96

... This register controls how words from the host data bus are mapped to the CSRs and Data FIFOs inside the LAN9211. The LAN9211 always sends data from the Transmit Data FIFO to the network so that the low order word is sent first, and always receives data from the network to the Receive Data FIFO so that the low order word is received first ...

Page 97

... BITS 31-0 RX Dropped Frame Counter (RX_DFC). This counter is incremented every time a receive frame is dropped. RX_DFC is cleared on any read of this register. An interrupt can be issued when this counter passes through its halfway point (7FFFFFFFh to 80000000h). SMSC LAN9211 9Ch Size: DESCRIPTION A0h Size: DESCRIPTION ...

Page 98

... MAC CSR Data. Value read from or written to the MAC CSR’s. Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support A4h Size: DESCRIPTION A8h Size: DESCRIPTION 98 DATASHEET Datasheet 32 bits TYPE DEFAULT R/W 00h 32 bits TYPE DEFAULT R/W 00000000h SMSC LAN9211 ...

Page 99

... AFC_CFG – Automatic Flow Control Configuration Register Offset: This register configures the mechanism that controls both the automatic, and software-initiated transmission of pause frames and back pressure. Note: The LAN9211 will not transmit pause frames or assert back pressure if the transmitter is disabled. BITS 31:24 ...

Page 100

... BITS 0 Flow Control on Any Frame (FCANY). When this bit is set, the LAN9211 will assert back pressure, or transmit a pause frame when the AFC level is reached and any frame is received. Setting this bit enables full-duplex flow control when the LAN9211 is operating in full-duplex mode. ...

Page 101

... Note: EPC busy will be high immediately following power-up or reset. After the EEPROM controller has finished reading (or attempting to read) the MAC address from the EEPROM the EPC Busy bit is cleared. SMSC LAN9211 B0h Size: DESCRIPTION 101 DATASHEET ...

Page 102

... Address Loaded” bit indicates a successful load of the MAC address. 27-10 Reserved. Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support DESCRIPTION [28] OPERATION 0 0 READ 0 1 EWDS 1 0 EWEN 1 1 WRITE 0 0 WRAL 0 1 ERASE 1 0 ERAL 1 1 Reload 102 DATASHEET Datasheet TYPE DEFAULT R SMSC LAN9211 ...

Page 103

... This register is used in conjunction with the E2P_CMD register to perform read and write operations with the Serial EEPROM. BITS 31-8 Reserved 7:0 EEPROM Data. Value read from or written to the EEPROM. SMSC LAN9211 DESCRIPTION When set, this bit indicates that a valid EEPROM B4h Size: DESCRIPTION 103 ...

Page 104

... Multicast Hash Table Low MII Access MII Data Flow Control VLAN1 Tag VLAN2 Tag Wake-up Frame Filter Wake-up Control and Status Checksum Offload Engine Control 104 DATASHEET Datasheet DEFAULT 00040000h 0000FFFFh FFFFFFFFh 00000000h 00000000h 00000000h 00000000h 00000000h 00000000h 00000000h 00000000h 00000000h 00000000h SMSC LAN9211 ...

Page 105

... Pass Bad Frames (PASSBAD). When set, all incoming frames that passed address filtering are received, including runt frames and collided frames. 15 Hash Only Filtering mode (HO). When set, the address check Function operates in the Imperfect Address Filtering mode both for physical and multicast addresses 14 Reserved SMSC LAN9211 1 Attribute: 00040000h Size: DESCRIPTION 105 ...

Page 106

... BITS 13 Hash/Perfect Filtering Mode (HPFILT). When reset (0), the LAN9211 will implement a perfect address filter on incoming frames according the address specified in the MAC address register. When set (1), the address check Function does imperfect address filtering of multicast incoming frames according to the hash table specified in the multicast hash table register. ...

Page 107

... Receiver Enable (RXEN). When set (1), the MAC’s receiver is enabled and will receive frames from the internal PHY. When reset, the MAC’s receiver is disabled and will not receive any frames from the internal PHY. 1-0 Reserved SMSC LAN9211 DESCRIPTION BOLMT Value # Bits Used from LFSR Counter 2’b00 2’ ...

Page 108

... Physical Address [47:32]. This field contains the upper 16-bits (47:32) of the Physical Address of the LAN9211 device. The content of this field is undefined until loaded from the EEPROM at power- on. The host can update the contents of this field after the initialization process has completed. ...

Page 109

... Physical Address [31:0]. This field contains the lower 32 bits (31:0) of the Physical Address of the LAN9211 device. The content of this field is undefined until loaded from the EEPROM at power-on. The host can update the contents of this field after the initialization process has completed. ...

Page 110

... Lower 32 bits of the 64-bit Hash Table Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support 4 Attribute: 00000000h Size: DESCRIPTION 5 Attribute: 00000000h Size: for further details. DESCRIPTION 110 DATASHEET Datasheet R/W 32 bits R/W 32 bits Table 5.4.4, SMSC LAN9211 ...

Page 111

... MII Busy (MIIBZY): This bit must be polled to determine when the MII register access is complete. This bit must read a logical 0 before writing to this register and MII data register. The LAN driver software must set (1) this bit in order for the LAN9211 to read or write any of the MII PHY registers. ...

Page 112

... Enable (FCEN) bit enables the receive portion of the Flow Control block. This register is used in conjunction with the AFC_CFG register in the Slave CSRs to configure flow control. Software flow control is initiated using the AFC_CFG register. Note: The LAN9211 will not transmit pause frames or assert back pressure if the transmitter is disabled. BITS 31-16 Pause Time (FCPT) ...

Page 113

... VLAN2 Tag Identifier (VTI2). This contains the VLAN Tag field to identify the VLAN2 frames. This field is compared with the 13th and 14th bytes of the incoming frames for VLAN2 frame detection.If used, this register must be set to 0x8100. SMSC LAN9211 9 Attribute: 00000000h ...

Page 114

... Magic Packet Enable (MPEN). When set, Magic Packet Wake-up mode is enabled. 0 Reserved Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support B Attribute: 00000000h Size: DESCRIPTION C Attribute: 00000000h Size: DESCRIPTION 114 DATASHEET Datasheet WO 32 bits R/W 32 bits SMSC LAN9211 ...

Page 115

... This bit may only be changed if the RX data path is disabled. 0: The RXCOE is bypassed 1: The RXCOE is enabled Note: When the RXCOE is enabled, automatic pad stripping must be disabled (bit 8 (PADSTR) of the MAC_CR—MAC Control simultaneously. SMSC LAN9211 D Attribute: 00000000h Size: DESCRIPTION Register) and vice versa. These functions cannot be enabled 115 ...

Page 116

... PHY Register Indexes are shown in Note: The NASR (Not Affected by Software Reset) designation is only applicable when bit 15 of the PHY Basic Control Register (Reset) is set. Table 5.8 LAN9211 PHY Control and Status Register PHY CONTROL AND STATUS REGISTERS INDEX REGISTER NAME ...

Page 117

... Duplex Mode full duplex half duplex. Ignored if Auto Negotiation is enabled (0.12 = 1). 7 Collision Test enable COL test disable COL test 6-0 Reserved Note 5.1 The default value of this bit is determined by the auto-negotiation process. SMSC LAN9211 0 Size: DESCRIPTION 117 DATASHEET 16-bits TYPE ...

Page 118

... PHY ID Number. Assigned to the 3rd through 18th bits of the Organizationally Unique Identifier (OUI), respectively. Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support 1 Size: DESCRIPTION 2 Size: DESCRIPTION 118 DATASHEET Datasheet 16-bits TYPE DEFAULT RO/ RO/LL 0 RO/ 16-bits TYPE DEFAULT RO 0x0007h SMSC LAN9211 ...

Page 119

... Selector Field. [00001] = IEEE 802.3 Note 5.2 When both symmetric PAUSE and asymmetric PAUSE support are advertised (value of 11), the device will only be configured to, at most, one of the two settings upon auto- negotiation completion. SMSC LAN9211 3 Size: DESCRIPTION 4 Size: DESCRIPTION Note 5 ...

Page 120

... Selector Field. [00001] = IEEE 802.3 Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support 5 Size: DESCRIPTION 120 DATASHEET Datasheet 16-bits TYPE DEFAULT 00001 SMSC LAN9211 ...

Page 121

... Reset to “1” by hardware reset, unaffected by SW reset. 0 Reserved. Write as “0”. Ignore on read. Note 5.3 The default value of this bit will vary dependant on the current link state of the line. SMSC LAN9211 6 Size: DESCRIPTION 17 Size: DESCRIPTION ...

Page 122

... Repeater mode. Auto-negotiation enabled. 100Base-TX Half Duplex is advertised. CRS is active during Receive. 110 Reserved - Do not set the LAN9211 in this mode. 111 All capable. Auto-negotiation enabled. Note 5.4 When MODE=111, the register 0 bits 13 and 8 are variable dependant on the auto- negotiated speed and duplex. ...

Page 123

... Receive PLL 10M is locked on the reference clock. In this mode 10M data packets cannot be received. 9-5 Reserved: Write as 0. Ignore on read. 4 XPOL: Polarity state of the 10Base- Normal polarity 1 - Reversed polarity 3:0 Reserved: Read only - Writing to these bits have no effect. SMSC LAN9211 27 Size: DESCRIPTION 123 DATASHEET 16-bits MODE DEFAULT RW ...

Page 124

... Mask Bits interrupt source is enabled 0 = interrupt source is masked Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support 29 Size: DESCRIPTION 30 Size: DESCRIPTION 124 DATASHEET Datasheet 16-bits TYPE DEFAULT RO/LH 0 RO/LH 0 RO/LH 0 RO/LH 0 RO/LH See Note 5.5 RO/LH 0 RO/LH 0 RO/LH 0 RO/LH 0 16-bits TYPE DEFAULT SMSC LAN9211 ...

Page 125

... Speed Indication. HCDSPEED value: [001]=10Mbps half-duplex [101]=10Mbps full-duplex [010]=100Base-TX half-duplex [110]=100Base-TX full-duplex 1-0 Reserved. Write as 0; ignore on Read Note 5.6 The default value of this bit is determined by the auto-negotiation process. SMSC LAN9211 31 Size: DESCRIPTION 125 DATASHEET 16-bits TYPE DEFAULT ...

Page 126

... In order to prevent the host from reading stale data after a write operation, minimum wait periods must be enforced. These periods are specified in processor is required to wait the specified period of time after any write to the LAN9211 before reading the resource specified in the table. These wait periods are for read operations that immediately follow any write cycle ...

Page 127

... FIFO_INT RX_CFG TX_CFG HW_CFG RX_DP_CTRL RX_FIFO_INF TX_FIFO_INF PMT_CTRL GPIO_CFG GPT_CFG GPT_CNT WORD_SWAP FREE_RUN RX_DROP MAC_CSR_CMD MAC_CSR_DATA AFC_CFG E2P_CMD E2P_DATA SMSC LAN9211 Table 6.1 Read After Write Timing Rules MINIMUM WAIT TIME FOR READ FOLLOWING ANY WRITE CYCLE (IN NS) 0 135 135 315 45 ...

Page 128

... There are also restrictions on specific back-to-back read operations. These restrictions concern reading specific registers after reading resources that have side effects. In many cases there is a delay between reading the LAN9211, and the subsequent indication of the expected change in the control register values. ...

Page 129

... Note: A PIO Read cycle begins when both nCS and nRD are asserted. The cycle ends when either or both nCS and nRD are deasserted. They may be asserted and deasserted in any order. SMSC LAN9211 Figure 6.1 PIO Read Cycle Timing Table 6.3 PIO Read Timing ...

Page 130

... They may be asserted and deasserted in any order. Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support Figure 6.2 PIO Burst Read Cycle Timing Table 6.4 PIO Burst Read Timing 130 DATASHEET Datasheet MIN TYP MAX UNITS SMSC LAN9211 ...

Page 131

... RX Data FIFO Direct PIO Reads In this mode the upper address inputs are not decoded, and any read of the LAN9211 will read the RX Data FIFO. This mode is enabled when FIFO_SEL is driven high during a read access. This is normally accomplished by connecting the FIFO_SEL signal to high-order address line. This mode is useful when the host processor must increment its address when accessing the LAN9211 ...

Page 132

... RX Data FIFO Direct PIO Burst Reads In this mode the upper address inputs are not decoded, and any burst read of the LAN9211 will read the RX Data FIFO. This mode is enabled when FIFO_SEL is driven high during a read access. This is normally accomplished by connecting the FIFO_SEL signal to a high-order address line. This mode is useful when the host processor must increment its address when accessing the LAN9211 ...

Page 133

... High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support Datasheet 6.6 PIO Writes PIO writes are used for all LAN9211 write cycles. PIO writes can be performed using Chip Select (nCS) or Write Enable (nWR). Either or both of these control signals must go high between cycles for the period specified. A[7:1] ...

Page 134

... TX Data FIFO Direct PIO Writes In this mode the upper address inputs are not decoded, and any write to the LAN9211 will write the TX Data FIFO. This mode is enabled when FIFO_SEL is driven high during a write access. This is normally accomplished by connecting the FIFO_SEL signal to a high-order address line. This mode is useful when the host processor must increment its address when accessing the LAN9211 ...

Page 135

... T6.1 Reset Pulse Width T6.2 Configuration input setup to nRESET rising T6.3 Configuration input hold after nRESET rising T6.4 Output Drive after nRESET rising SMSC LAN9211 T6.1 T6.2 T6.3 T6.4 Figure 6.7 Reset Timing Table 6.9 Reset Timing MIN TYP MAX 30 200 ...

Page 136

... EEPROM Timing The following specifies the EEPROM timing requirements for the LAN9211: SYMBOL DESCRIPTION t EECLK Cycle time CKCYC t EECLK High time CKH t EECLK Low time CKL t EECS high before rising edge of EECLK CSHCKH t EECLK falling edge to EECS low CKLCSL t EEDIO valid before rising edge of EECLK ...

Page 137

... Note: Do not drive input signals without power supplied to the device. Note: Apply and remove power to all power supply pins simultaneously, including the Ethernet magnetics. Do not apply power to individual supply pins without the others. **Proper operation of the LAN9211 is guaranteed only within the ranges specified in this section. SMSC LAN9211 (Note 7 ...

Page 138

... Power Consumption (Device Only) This section provides typical power consumption values for the LAN9211 in various modes of operation. These measurements were taken under the following conditions: Temperature: ................................................................................................................................... +25°C Device VDD:................................................................................................................................... +3.30V Note: Power dissipation is determined by operating frequency, temperature, and supply voltage, as well as external source/sink requirements ...

Page 139

... Power Consumption (Device and System Components) This section provides typical power consumption values for a complete Ethernet interface based on the LAN9211, including the power dissipated by the magnetics and other passive components. Note: The power measurements list below were taken under the following conditions: Temperature: ................................................................................................................................... +25° ...

Page 140

... Note: Above values do not include the supply current for the magnetics. Based on the recommended implementation, the maximum supply current needed for the magnetics is 108mA. Revision 2.7 (03-15-10) High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support SUPPLY NAME MAX VDD_IO 86 VDD_A33 46 140 DATASHEET Datasheet +70 C UNITS NOTES mA mA SMSC LAN9211 ...

Page 141

... High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support Datasheet 7.6 DC Electrical Specifications This section details the DC electrical specifications of the LAN9211 I/O buffers. The electrical specifications in this section are valid over the voltage range and the temperature range specified in Section 7.2, "Operating PARAMETER ...

Page 142

... MAX V 2.2 2.5 2.8 OUT V 300 420 585 DS 142 DATASHEET Datasheet UNITS NOTES the per-pin input leakage is the IN UNITS NOTES mVpk Note 7.7 mVpk Note 7.7 % Note 7.7 nS Note 7.7 nS Note 7.7 % Note 7 Note 7.9 UNITS NOTES V Note 7.10 mV SMSC LAN9211 ...

Page 143

... Clock Circuit The LAN9211 can accept either a 25MHz crystal (preferred MHz single-ended clock oscillator (±50 PPM) input. The LAN9211 shares the 25MHz clock oscillator input (CLKIN) with the crystal input XTAL1/CLKIN. If the single-ended clock oscillator method is implemented, XTAL2 should be left unconnected and CLKIN should be driven with a nominal 0-3 ...

Page 144

... High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support MAX REMARKS 1.00 Overall Package Height 0.05 Standoff 0.90 Mold Cap Thickness 8.15 X/Y Body Size 7.95 X/Y Mold Cap Size 6.05 X/Y Exposed Pad Size 0.50 Terminal Length 0.30 Terminal Width Terminal Pitch 144 DATASHEET Datasheet SMSC LAN9211 ...

Page 145

... High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX Support Datasheet Figure 8.2 56 Pin QFN Recommended PCB Land Pattern SMSC LAN9211 145 DATASHEET Revision 2.7 (03-15-10) ...

Page 146

... Diagram redone. The word “Core” was added to the regulator block title. Changed VDD_CORE/VDD18CORE bulk capacitor value from 10uF to 4.7uF. Bits 9 and 15 relabeled as Reserved, Read-Only (RO), with a default of 0. 146 DATASHEET Datasheet CORRECTION SMSC LAN9211 ...

Page 147

... Description," on page EECLK pin description in Chapter 2 Pin Description and Configurationon page 14 SMSC LAN9211 Fixed definition of bits 11:10 when equal to “11” by adding “advertise support for..” to beginning of definition. Also added note stating “When both symmetric PAUSE and asymmetric PAUSE support are advertised, the device will only be configured to, at most, one of the two settings upon auto-negotiation completion.” ...

Related keywords