LAN9303M Evaluation Board User Manual Copyright (c) 2009 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. 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. SMSC LAN9303M USER MANUAL Revision 1.0 (05-28-09) LAN9303M Evaluation Board User Manual 1 Introduction The LAN9303M is a full featured, three-port 10/100 managed Ethernet switch designed for embedded applications where performance, flexibility, ease of integration and system cost control are required. The LAN9303M combines all the functions of a 10/100 Ethernet switch system, including the Switch Fabric, packet buffers, Buffer Manger, MACs, PHY transceivers, and serial management. The LAN9303M complies with the IEEE 802.3 (full/half-duplex 10BASE-T and 100BASE-TX) Ethernet protocol specification and 802.1D/802.1Q management protocol specifications, enabling compatibility with industry standard Ethernet and Fast Ethernet applications. The EVB9303M is an Evaluation Board (EVB) that utilizes the LAN9303M to provide a fully functional three-port dual MII/RMII/Turbo MII Ethernet switch. The EVB9303M provides two fully integrated MAC/PHY Ethernet ports (Ports 1 & 2) via on-board RJ45 connectors. Port 0 and Port 1 each provide two MII port connectors (for a total of 4) which support the following: An external MII-/RMII-/Turbo MII-capable MAC (with LAN9303M in PHY mode), via the onboard 40-pin male MII connector An external MII-/Turbo MII-capable PHY (with LAN9303M in MAC mode), via the onboard 40-pin female MII connector The Port 0 and Port 1 modes of operation are configured via a single, 8-position, mode-configuration strap switch. Power is supplied to the board via a +5V external wall-mount power supply. The external supply is not necessary when Port 0 or Port 1 is configured for (and used in) PHY mode. In such cases, the +5V power rail is typically supplied through the MII connector from the MAC side. The EVB9303M includes a 8Kx8 I2C EEPROM that may be used to automatically load configuration settings from the EEPROM into the device at reset, allowing the device to operate unmanaged. An I2C host adapter interface header (10-pin, 2x5) is provided to simplify I2C based configuration. A simplified block diagram of the EVB9303M can be seen in Figure 1.1. To external MAC To external PHY To external MAC To external PHY 40-Pin MII Connector (Male) 40-Pin MII Connector (Female) Jumper I2C Host Adapter I/F Port0 8K x 8 I2C EEPROM Port2 10/100 Ethernet Magnetics & RJ45 Port1 10/100 Ethernet Magnetics & RJ45 Ethernet SMSC LAN9303M 40-Pin MII Connector (Male) Port1 Configurable Ethernet 40-Pin MII Connector (Female) Mode Switch EVB9303M Figure 1.1 EVB9303M Block Diagram Revision 1.0 (05-28-09) USER MANUAL 2 SMSC LAN9303M LAN9303M Evaluation Board User Manual 1.1 References Concepts and material available in the following documents may be helpful when using the EVB9303M. Table 1.1 References DOCUMENT LOCATION SMSC LAN9303M Datasheet http://www.smsc.com/main/datasheet.html AN8-13 Suggested Magnetics http://www.smsc.com/main/appnotes.html SMSC EVB9303M Evaluation Board Schematic http://www.smsc.com/ 2 Board Details The following sections describe the various board features, including jumpers, LEDs, test points, system connections, and switches. A top view of the EVB9303M is shown in Figure 2.1. Note: The LAN9303M device is RoHS compliant. However, support components on the EVB9303M board are not necessarily RoHS compliant. JP3 JP1 JP2 Power Switch +5V Power Input Port 0 MII Connector (Female) Fuse Port 0 MII Connector (Male) Eth. Port 2 (with integrated magnetics & LEDs) Mode Switches SMSC LAN9303M Eth. Port 1 (with integrated magnetics & LEDs) JP4-JP18 Port 1 MII Connector (Male) I2C Host Adapter I/F Port 1 MII Connector Reset Switch (Female) Figure 2.1 EVB9303M Top View SMSC LAN9303M USER MANUAL 3 Revision 1.0 (05-28-09) LAN9303M Evaluation Board User Manual 2.1 Jumpers The following tables describe the default settings and jumper descriptions for the EVB9303M. These defaults are the recommended configurations for evaluation of the LAN9303M. These settings may be changed as needed, however, any deviation from the default settings should be approached with care and knowledge of the schematics and datasheet. An incorrect jumper setting may disable the board. Note: A dashed line in the Settings column indicates the board's default jumper setting. 2.1.1 JP1 - JP6 Table 2.1 Jumpers JP1 - JP6 JUMPER DESCRIPTION JP1 Connect +5V DC power supply JP2 Power switch enable jumper JP3 Connect +3.3V jumper JP4 MDIO pull-up/down jumper JP5 MDC pull-down jumper I2C connect jumper JP6 2.1.2 SETTINGS 1---2 IN: Connect +5V brick output to power plane OUT: Disconnect +5V brick power 1---2 Enable power switch 2 3 Disable power switch, force power ON always 1---2 IN: Connect +3.3V regulator output to +3.3V power plane OUT: Disconnect +3.3V regulator 1---2 Connect MDIO to 1.5K pull-up to +3.3V 2 Connect MDIO to 2.5K pull-down to GND 3 1---2 IN: Connect MDC to 10K pull-down OUT: Disconnect MDC from 10K pulldown 1 Pins 1 and 2 are +3.3V 2 3---4 Connect I2C EEPROM to SDA 5---6 Connect I2C EEPROM to SCL 7---8 Pins 7 and 8 are GND JP7 - JP18 Jumpers JP7 through JP18 set various functions of the LAN9303M. They can also be used as GPIOs, LED drivers, or interrupts. When used as LED drivers, as they are on the EVB9303M, they are connected a specific way to set the strap value to a "1", and another way to set the strap value to a "0". Figure 2.2 illustrates the schematic connections with the LED1 circuit as a pull-up, and the LED2 circuit as a pull-down. To illuminate LED1, the LAN9303M will drive the cathode of the LED1 low. To illuminated LED2, the LAN9303M will drive the anode of the LED2 high. The JP7 - JP18 jumpers must be configured in pairs to identical settings in order to realize the LED1 circuit or the LED2 circuit. The pairings are as follows: JP7 & JP13 JP8 & JP14 JP9 & JP15 JP10 & JP16 Revision 1.0 (05-28-09) USER MANUAL 4 SMSC LAN9303M LAN9303M Evaluation Board User Manual JP11 & JP17 JP12 & JP18 The following subsections detail the jumper pair settings, their associated strap settings, and the functional effects of setting the straps. All strap values are read during power-up and on the rising edge of the nRST signal. Once the strap value is set, the LAN9303M will drive the LEDs high or low for illumination according the strap value. For other designs which may use these pins as GPIOs or interrupts, refer to the LAN9303M datasheet for additional information. In those cases, internal default straps must be changed by an I2C or SMI master or through EEPROM fields. +3.3V R2 10.0K 1/16W 1% R1 332 1/10W 1% LED1 Strap Pulldown LED2 R3 10.0K 1/16W 1% R4 332 1/16W 1% Strap Pullup Figure 2.2 LED Strap Circuit 2.1.2.1 Auto-MDIX / EEPROM Jumpers Table 2.2 Jumpers - Auto-MDIX / EEPROM JUMPER PAIR DESCRIPTION SETTINGS JP7, JP13 Port 1 Auto-MDIX enable/disable (Note 2.1) JP8, JP14 Port 2 Auto-MDIX enable/disable (Note 2.1) JP9, JP15 EEPROM size jumper (Note 2.1, Note 2.2) 1---2 Enable Auto-MDIX on Port 1 2 3 Disable Auto-MDIX on Port 1 1---2 Enable Auto-MDIX on Port 2 2 Disable Auto-MDIX on Port 2 3 1---2 Enable 4Kx8 and larger I2C EEPROMs 2 Enable 2Kx8 and smaller I2C EEPROMs 3 Note 2.1 Paired jumpers MUST be set identically. Note 2.2 The EVB9303M uses an 8Kx8 EEPROM. Therefore, this jumper MUST be set to 1-2. SMSC LAN9303M USER MANUAL 5 Revision 1.0 (05-28-09) LAN9303M Evaluation Board User Manual 2.1.2.2 Serial Management Jumpers Table 2.3 Jumpers - Serial Management JUMPER PAIR DESCRIPTION SETTINGS JP10, JP16 Serial management MNGT0 jumper (Note 2.3, Note 2.4) JP11, JP17 Serial management MNGT1 jumper (Note 2.3, Note 2.4) 1 2 Set MNGT0 to "1" 2---3 Set MNGT0 to "0" 1---2 Set MNGT1 to "1" 2 Set MNGT1 to "0" 3 Note 2.3 Paired jumpers MUST be set identically. Note 2.4 The MNGT[1:0] settings are defined in Table 2.4: Table 2.4 MNGT[1:0] Settings 2.1.2.3 MNGT1 MNGT0 SERIAL MANAGEMENT SETTING 0 0 RESERVED 0 1 SMI 1 0 I2C (Default) 1 1 RESERVED PHY Port Address Jumpers Table 2.5 Jumpers - PHY Port Address JUMPER PAIR JP12, JP18 DESCRIPTION SETTINGS 1 PHY address jumpers (Note 2.5, Note 2.6) 2 Set PHY_ADDR to "1" 2---3 Set PHY_ADDR to "0" Note 2.5 Paired jumpers MUST be set identically. Note 2.6 The PHY_ADDR settings are defined in Table 2.6: Table 2.6 PHY_ADDR Settings PHY_ADDR STRAP VALUE VIRTUAL PHY ADDRESS PORT 1 ADDRESS PORT 2 ADDRESS 0 0 1 2 1 1 2 3 Revision 1.0 (05-28-09) USER MANUAL 6 SMSC LAN9303M LAN9303M Evaluation Board User Manual 2.2 LEDs Table 2.7 LEDs REFERENCE COLOR LED1 Green +3.3V power active LED2 Green Full-duplex/Collision Port 1 LED3 Green Full-duplex/Collision Port 2 Green Link/Activity Port 1 Yellow Speed Port 1 Green Link/Activity Port 2 Yellow Speed Port 2 T1 T2 Note 2.7 2.3 INDICATION (Note 2.7) Assumes the LED_FUN field of the LED_CFG register is 00b. Test Points Table 2.8 Test Points TEST POINT DESCRIPTION CONNECTION TP1 Single pin unpopulated VDD18CORE VDD18CORE TP2 Single pin unpopulated VDD18TX VDD18TX TP3 Single pin populated gold post GND testpoint GND TP4 Single pin populated gold post GND testpoint GND TP5 2-pin populated IRQ testpoint with GND Pin 1: IRQ Pin 2: GND TP6 Single pin unpopulated P0_DUPLEX P0_DUPLEX TP7 Single pin unpopulated P1_DUPLEX P1_DUPLEX TP8 Single pin unpopulated nRST nRST SMSC LAN9303M USER MANUAL 7 Revision 1.0 (05-28-09) LAN9303M Evaluation Board User Manual 2.4 System Connections Table 2.9 System Connections PLUG/HEADER DESCRIPTION PART J1 2-pin populated GND header 2-pin (1x2) header J2 2-pin populated GND header 2-pin (1x2) header J3 MII female connector for external PHY AMP/Tyco 749069-4 J4 MII female connector for external PHY AMP/Tyco 749069-4 J5 I2C host adapter interface connector Adam Tech BHR-10-V-U-A P1 +5V DC power connector Barrel plug, 2.0mm, center positive P2 MII male connector for external MAC AMP/Tyco 174218-2 P3 MII male connector for external MAC AMP/Tyco 5174216-2 2.5 Switches This section details the various EVB9303M power, mode, and reset switches. 2.5.1 Power Table 2.10 Power Switch SWITCH S1 DESCRIPTION FUNCTION SPDT tiny toggle power switch Connects +5V brick power to board Note: The EVB9303M includes a 2A fuse (F1) to protect from overcurrrent conditions. If this fuse becomes damaged, it can be replaced with a 2A Littlefuse-154002. Revision 1.0 (05-28-09) USER MANUAL 8 SMSC LAN9303M LAN9303M Evaluation Board User Manual 2.5.2 Port 0 Mode Table 2.11 Port 0 Mode Switches SWITCH DESCRIPTION FUNCTION S2-1 8-position DIP switch, position 1 Sets P0_MODE0 low when closed (on). Otherwise, the signal is pulled-up internally. (Note 2.8, Note 2.9) S2-2 8-position DIP switch, position 2 Sets P0_MODE1 low when closed (on). Otherwise, the signal is pulled-up internally. (Note 2.8, Note 2.9) S2-3 8-position DIP switch, position 3 Sets P0_MODE2 low when closed (on). Otherwise, the signal is pulled-up internally. (Note 2.8, Note 2.9) Sets P0_MODE3 low when closed (on). Otherwise, the signal is pulled-up internally. This switch selects the duplex polarity strap default for Port 0 as follows: S2-4 If the strap value is "0", a "0" on P0_DUPLEX indicates full duplex, while a "1" indicates half-duplex. 8-position DIP switch, position 4 If the strap value is "1", a "1" on P0_DUPLEX indicates full duplex, while a "0" indicates half-duplex. The default setting is open. Note 2.8 There are no default setting for this switch. Customers must choose the appropriate MII mode as dictated by their application. Note 2.9 The P0_MODE[2:0] settings are defined in Table 2.12: Table 2.12 P0_MODE[2:0] Settings S2-3 S2-2 S2-1 PORT 0 MODE SETTINGS 0 0 0 MII MAC Mode 0 0 1 MII PHY Mode 0 1 0 MII PHY Mode / 200Mbps / 12mA clock output 0 1 1 MII PHY Mode / 200Mbps / 16mA clock output 1 0 0 RMII PHY Mode / 12mA clock output 1 0 1 RMII PHY Mode / 16mA clock output 1 1 0 RMII PHY Mode / clock is input 1 1 1 RESERVED SMSC LAN9303M USER MANUAL 9 Revision 1.0 (05-28-09) LAN9303M Evaluation Board User Manual 2.5.3 Port 1 Mode Table 2.13 Port 1 Mode Switches SWITCH DESCRIPTION FUNCTION S2-5 8-position DIP switch, position 5 Sets P1_MODE0 low when closed (on). Otherwise, the signal is pulled-up internally. (Note 2.10, Note 2.11) S2-6 8-position DIP switch, position 6 Sets P1_MODE1 low when closed (on). Otherwise, the signal is pulled-up internally. (Note 2.10, Note 2.11) S2-7 8-position DIP switch, position 7 Sets P1_MODE2 low when closed (on). Otherwise, the signal is pulled-up internally. (Note 2.10, Note 2.11) Sets P1_MODE3 low when closed (on). Otherwise, the signal is pulled-up internally. This switch selects the duplex polarity strap default for Port 1 as follows: S2-8 If the strap value is "0", a "0" on P1_DUPLEX indicates full duplex, while a "1" indicates half-duplex. 8-position DIP switch, position 8 If the strap value is "1", a "1" on P1_DUPLEX indicates full duplex, while a "0" indicates half-duplex. The default setting is open. Note 2.10 There are no default setting for this switch. Customers must choose the appropriate MII mode as dictated by their application. Note 2.11 The P1_MODE[2:0] settings are defined in Table 2.14: Table 2.14 P1_MODE[2:0] Settings S2-7 S2-6 S2-5 PORT 1 MODE SETTINGS 0 0 0 MII MAC Mode 0 0 1 MII PHY Mode 0 1 0 MII PHY Mode / 200Mbps / 12mA clock output 0 1 1 MII PHY Mode / 200Mbps / 16mA clock output 1 0 0 RMII PHY Mode / 12mA clock output 1 0 1 RMII PHY Mode / 16mA clock output 1 1 0 RMII PHY Mode / clock is input 1 1 1 Internal PHY Mode Revision 1.0 (05-28-09) USER MANUAL 10 SMSC LAN9303M LAN9303M Evaluation Board User Manual 2.5.4 Reset Table 2.15 Reset Switch SWITCH S3 2.6 DESCRIPTION FUNCTION SW pushbutton Reset: Generates nRST Mechanicals Figure 2.3 details the EVB9303M mechanical dimensions. 0.275 0.192 0.240 0.240 O0.125 O0.125 4.000 TOP VIEW O0.125 O0.125 0.240 0.240 0.275 0.192 3.500 Figure 2.3 EVB9303M Mechanicals SMSC LAN9303M USER MANUAL 11 Revision 1.0 (05-28-09) Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Microchip: EVB9303M