lan9303m Standard Microsystems Corp., lan9303m Datasheet - Page 7

no-image

lan9303m

Manufacturer Part Number
lan9303m
Description
Small Form Factor Three Port 10/100 Managed Ethernet Switch With Dual Mii/rmii/turbo Mii
Manufacturer
Standard Microsystems Corp.
Datasheet
Small Form Factor Three Port 10/100 Managed Ethernet Switch with Dual MII/RMII/Turbo MII
Datasheet
12.3
12.3.1 LED Function Definitions when LED_FUN[1:0] = 00b, 01b, or 10b . . . . . . . . . . . . . . . . . . . . . . 144
12.3.2 LED Function Definitions when LED_FUN[1:0] = 11b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Chapter 13 Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
13.1
13.2
13.2.1 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
13.2.2 GPIO/LED. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
13.2.3 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
13.2.4 Switch Fabric . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
13.2.5 PHY Management Interface (PMI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
13.2.6 Virtual PHY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
13.2.7 Miscellaneous. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
13.3
13.3.1 Virtual PHY Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
13.3.2 Port 1 & 2 PHY Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
13.4
13.4.1 General Switch CSRs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
13.4.2 Switch Port 0, Port 1, and Port 2 CSRs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
SMSC LAN9303M/LAN9303Mi
12.2.1.1
13.2.1.1
13.2.1.2
13.2.1.3
13.2.2.1
13.2.2.2
13.2.2.3
13.2.2.4
13.2.3.1
13.2.3.2
13.2.4.1
13.2.4.2
13.2.4.3
13.2.4.4
13.2.4.5
13.2.4.6
13.2.4.7
13.2.4.8
13.2.5.1
13.2.5.2
13.2.6.1
13.2.6.2
13.2.6.3
13.2.6.4
13.2.6.5
13.2.6.6
13.2.6.7
13.2.6.8
13.2.7.1
13.2.7.2
13.2.7.3
13.2.7.4
13.2.7.5
13.2.7.6
13.2.7.7
13.2.7.8
13.3.2.1
13.3.2.2
13.3.2.3
13.3.2.4
13.3.2.5
13.3.2.6
13.3.2.7
13.3.2.8
13.3.2.9
13.3.2.10
13.3.2.11
13.3.2.12
13.3.2.13
13.4.1.1
13.4.1.2
13.4.1.3
13.4.1.4
LED Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Register Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
System Control and Status Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Ethernet PHY Control and Status Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Switch Fabric Control and Status Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
GPIO Interrupt Polarity.................................................................................................................................................................................. 143
Interrupt Configuration Register (IRQ_CFG) ................................................................................................................................................ 150
Interrupt Status Register (INT_STS)............................................................................................................................................................. 152
Interrupt Enable Register (INT_EN).............................................................................................................................................................. 153
General Purpose I/O Configuration Register (GPIO_CFG) .......................................................................................................................... 154
General Purpose I/O Data & Direction Register (GPIO_DATA_DIR) ........................................................................................................... 155
General Purpose I/O Interrupt Status and Enable Register (GPIO_INT_STS_EN)...................................................................................... 156
LED Configuration Register (LED_CFG) ...................................................................................................................................................... 157
EEPROM Command Register (E2P_CMD) .................................................................................................................................................. 158
EEPROM Data Register (E2P_DATA).......................................................................................................................................................... 161
Port 1 Manual Flow Control Register (MANUAL_FC_1)............................................................................................................................... 162
Port 2 Manual Flow Control Register (MANUAL_FC_2)............................................................................................................................... 164
Port 0 Manual Flow Control Register (MANUAL_FC_0)............................................................................................................................... 166
Switch Fabric CSR Interface Data Register (SWITCH_CSR_DATA) ........................................................................................................... 168
Switch Fabric CSR Interface Command Register (SWITCH_CSR_CMD) ................................................................................................... 169
Switch Fabric MAC Address High Register (SWITCH_MAC_ADDRH) ........................................................................................................ 171
Switch Fabric MAC Address Low Register (SWITCH_MAC_ADDRL) ......................................................................................................... 172
Switch Fabric CSR Interface Direct Data Registers (SWITCH_CSR_DIRECT_DATA) ............................................................................... 174
PHY Management Interface Data Register (PMI_DATA) ............................................................................................................................. 177
PHY Management Interface Access Register (PMI_ACCESS) .................................................................................................................... 178
Virtual PHY Basic Control Register (VPHY_BASIC_CTRL) ......................................................................................................................... 180
Virtual PHY Basic Status Register (VPHY_BASIC_STATUS)...................................................................................................................... 182
Virtual PHY Identification MSB Register (VPHY_ID_MSB) .......................................................................................................................... 184
Virtual PHY Identification LSB Register (VPHY_ID_LSB) ............................................................................................................................ 185
Virtual PHY Auto-Negotiation Advertisement Register (VPHY_AN_ADV).................................................................................................... 186
Virtual PHY Auto-Negotiation Link Partner Base Page Ability Register (VPHY_AN_LP_BASE_ABILITY) .................................................. 188
Virtual PHY Auto-Negotiation Expansion Register (VPHY_AN_EXP) .......................................................................................................... 191
Virtual PHY Special Control/Status Register (VPHY_SPECIAL_CONTROL_STATUS) .............................................................................. 192
Chip ID and Revision (ID_REV).................................................................................................................................................................... 194
Byte Order Test Register (BYTE_TEST) ...................................................................................................................................................... 195
Hardware Configuration Register (HW_CFG)............................................................................................................................................... 196
General Purpose Timer Configuration Register (GPT_CFG) ....................................................................................................................... 197
General Purpose Timer Count Register (GPT_CNT) ................................................................................................................................... 198
Free Running 25MHz Counter Register (FREE_RUN)................................................................................................................................. 199
Port 1 MII Basic Control Register (P1_MII_BASIC_CONTROL) .................................................................................................................. 200
Reset Control Register (RESET_CTL) ......................................................................................................................................................... 203
Port x PHY Basic Control Register (PHY_BASIC_CONTROL_x) ................................................................................................................ 206
Port x PHY Basic Status Register (PHY_BASIC_STATUS_x) ..................................................................................................................... 208
Port x PHY Identification MSB Register (PHY_ID_MSB_x).......................................................................................................................... 210
Port x PHY Identification LSB Register (PHY_ID_LSB_x)............................................................................................................................ 211
Port x PHY Auto-Negotiation Advertisement Register (PHY_AN_ADV_x) ................................................................................................... 212
Port x PHY Auto-Negotiation Link Partner Base Page Ability Register (PHY_AN_LP_BASE_ABILITY_x) ................................................. 215
Port x PHY Auto-Negotiation Expansion Register (PHY_AN_EXP_x) ......................................................................................................... 217
Port x PHY Mode Control/Status Register (PHY_MODE_CONTROL_STATUS_x)..................................................................................... 218
Port x PHY Special Modes Register (PHY_SPECIAL_MODES_x) .............................................................................................................. 219
Port x PHY Special Control/Status Indication Register (PHY_SPECIAL_CONTROL_STAT_IND_x) .......................................................... 221
Port x PHY Interrupt Source Flags Register (PHY_INTERRUPT_SOURCE_x)........................................................................................... 223
Port x PHY Interrupt Mask Register (PHY_INTERRUPT_MASK_x) ............................................................................................................ 224
Port x PHY Special Control/Status Register (PHY_SPECIAL_CONTROL_STATUS_x).............................................................................. 225
Switch Device ID Register (SW_DEV_ID) .................................................................................................................................................... 237
Switch Reset Register (SW_RESET) ........................................................................................................................................................... 238
Switch Global Interrupt Mask Register (SW_IMR)........................................................................................................................................ 239
Switch Global Interrupt Pending Register (SW_IPR).................................................................................................................................... 240
DATASHEET
7
Revision 1.3 (08-27-09)

Related parts for lan9303m