beautypg.com

Datasheet, 3 gpio/led, 4 eeprom – SMSC LAN9311i User Manual

Page 8: 6 switch fabric, 7 phy management interface (pmi), 8 virtual phy, 9 miscellaneous

background image

Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface

Datasheet

Revision 1.4 (08-19-08)

8

SMSC LAN9311/LAN9311i

DATASHEET

14.2.3 GPIO/LED. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193

14.2.3.1

General Purpose I/O Configuration Register (GPIO_CFG) .......................................................................................................................... 193

14.2.3.2

General Purpose I/O Data & Direction Register (GPIO_DATA_DIR) ........................................................................................................... 195

14.2.3.3

General Purpose I/O Interrupt Status and Enable Register (GPIO_INT_STS_EN)...................................................................................... 196

14.2.3.4

LED Configuration Register (LED_CFG) ...................................................................................................................................................... 197

14.2.4 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198

14.2.4.1

EEPROM Command Register (E2P_CMD) .................................................................................................................................................. 198

14.2.4.2

EEPROM Data Register (E2P_DATA).......................................................................................................................................................... 201

14.2.5 IEEE 1588 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202

14.2.5.1

Port x 1588 Clock High-DWORD Receive Capture Register (1588_CLOCK_HI_RX_CAPTURE_x) .......................................................... 202

14.2.5.2

Port x 1588 Clock Low-DWORD Receive Capture Register (1588_CLOCK_LO_RX_CAPTURE_x) .......................................................... 203

14.2.5.3

Port x 1588 Sequence ID, Source UUID High-WORD Receive Capture Register (1588_SEQ_ID_SRC_UUID_HI_RX_CAPTURE_x)..... 204

14.2.5.4

Port x 1588 Source UUID Low-DWORD Receive Capture Register (1588_SRC_UUID_LO_RX_CAPTURE_x)........................................ 205

14.2.5.5

Port x 1588 Clock High-DWORD Transmit Capture Register (1588_CLOCK_HI_TX_CAPTURE_x).......................................................... 206

14.2.5.6

Port x 1588 Clock Low-DWORD Transmit Capture Register (1588_CLOCK_LO_TX_CAPTURE_x) ......................................................... 207

14.2.5.7

Port x 1588 Sequence ID, Source UUID High-WORD Transmit Capture Register (1588_SEQ_ID_SRC_UUID_HI_TX_CAPTURE_x) .... 208

14.2.5.8

Port x 1588 Source UUID Low-DWORD Transmit Capture Register (1588_SRC_UUID_LO_TX_CAPTURE_x) ....................................... 209

14.2.5.9

GPIO 8 1588 Clock High-DWORD Capture Register (1588_CLOCK_HI_CAPTURE_GPIO_8).................................................................. 210

14.2.5.10

GPIO 8 1588 Clock Low-DWORD Capture Register (1588_CLOCK_LO_CAPTURE_GPIO_8) ................................................................. 211

14.2.5.11

GPIO 9 1588 Clock High-DWORD Capture Register (1588_CLOCK_HI_CAPTURE_GPIO_9).................................................................. 212

14.2.5.12

GPIO 9 1588 Clock Low-DWORD Capture Register (1588_CLOCK_LO_CAPTURE_GPIO_9) ................................................................. 213

14.2.5.13

1588 Clock High-DWORD Register (1588_CLOCK_HI)............................................................................................................................... 214

14.2.5.14

1588 Clock Low-DWORD Register (1588_CLOCK_LO) .............................................................................................................................. 215

14.2.5.15

1588 Clock Addend Register (1588_CLOCK_ADDEND) ............................................................................................................................. 216

14.2.5.16

1588 Clock Target High-DWORD Register (1588_CLOCK_TARGET_HI)................................................................................................... 217

14.2.5.17

1588 Clock Target Low-DWORD Register (1588_CLOCK_TARGET_LO) .................................................................................................. 218

14.2.5.18

1588 Clock Target Reload High-DWORD Register (1588_CLOCK_TARGET_RELOAD_HI) ..................................................................... 219

14.2.5.19

1588 Clock Target Reload/Add Low-DWORD Register (1588_CLOCK_TARGET_RELOAD_LO).............................................................. 220

14.2.5.20

1588 Auxiliary MAC Address High-WORD Register (1588_AUX_MAC_HI) ................................................................................................ 221

14.2.5.21

1588 Auxiliary MAC Address Low-DWORD Register (1588_AUX_MAC_LO) ............................................................................................. 222

14.2.5.22

1588 Configuration Register (1588_CONFIG).............................................................................................................................................. 223

14.2.5.23

1588 Interrupt Status and Enable Register (1588_INT_STS_EN)................................................................................................................ 227

14.2.5.24

1588 Command Register (1588_CMD) ........................................................................................................................................................ 229

14.2.6 Switch Fabric . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230

14.2.6.1

Port 1 Manual Flow Control Register (MANUAL_FC_1)............................................................................................................................... 230

14.2.6.2

Port 2 Manual Flow Control Register (MANUAL_FC_2)............................................................................................................................... 232

14.2.6.3

Port 0(Host MAC) Manual Flow Control Register (MANUAL_FC_MII) ......................................................................................................... 234

14.2.6.4

Switch Fabric CSR Interface Data Register (SWITCH_CSR_DATA) ........................................................................................................... 236

14.2.6.5

Switch Fabric CSR Interface Command Register (SWITCH_CSR_CMD) ................................................................................................... 237

14.2.6.6

Switch Fabric MAC Address High Register (SWITCH_MAC_ADDRH) ........................................................................................................ 239

14.2.6.7

Switch Fabric MAC Address Low Register (SWITCH_MAC_ADDRL) ......................................................................................................... 240

14.2.6.8

Switch Fabric CSR Interface Direct Data Register (SWITCH_CSR_DIRECT_DATA) ................................................................................. 241

14.2.7 PHY Management Interface (PMI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244

14.2.7.1

PHY Management Interface Data Register (PMI_DATA) ............................................................................................................................. 244

14.2.7.2

PHY Management Interface Access Register (PMI_ACCESS) .................................................................................................................... 245

14.2.8 Virtual PHY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246

14.2.8.1

Virtual PHY Basic Control Register (VPHY_BASIC_CTRL) ......................................................................................................................... 247

14.2.8.2

Virtual PHY Basic Status Register (VPHY_BASIC_STATUS)...................................................................................................................... 249

14.2.8.3

Virtual PHY Identification MSB Register (VPHY_ID_MSB) .......................................................................................................................... 251

14.2.8.4

Virtual PHY Identification LSB Register (VPHY_ID_LSB) ............................................................................................................................ 252

14.2.8.5

Virtual PHY Auto-Negotiation Advertisement Register (VPHY_AN_ADV).................................................................................................... 253

14.2.8.6

Virtual PHY Auto-Negotiation Link Partner Base Page Ability Register (VPHY_AN_LP_BASE_ABILITY) .................................................. 255

14.2.8.7

Virtual PHY Auto-Negotiation Expansion Register (VPHY_AN_EXP) .......................................................................................................... 257

14.2.8.8

Virtual PHY Special Control/Status Register (VPHY_SPECIAL_CONTROL_STATUS) .............................................................................. 258

14.2.9 Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260

14.2.9.1

Chip ID and Revision (ID_REV).................................................................................................................................................................... 260

14.2.9.2

Byte Order Test Register (BYTE_TEST) ...................................................................................................................................................... 261

14.2.9.3

Hardware Configuration Register (HW_CFG)............................................................................................................................................... 262

14.2.9.4

Power Management Control Register (PMT_CTRL) .................................................................................................................................... 264

14.2.9.5

General Purpose Timer Configuration Register (GPT_CFG) ....................................................................................................................... 267

14.2.9.6

General Purpose Timer Count Register (GPT_CNT) ................................................................................................................................... 268

14.2.9.7

Free Running 25MHz Counter Register (FREE_RUN)................................................................................................................................. 269

14.2.9.8

Reset Control Register (RESET_CTL) ......................................................................................................................................................... 270

14.3

Host MAC Control and Status Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271

14.3.1 Host MAC Control Register (HMAC_CR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
14.3.2 Host MAC Address High Register (HMAC_ADDRH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
14.3.3 Host MAC Address Low Register (HMAC_ADDRL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
14.3.4 Host MAC Multicast Hash Table High Register (HMAC_HASHH) . . . . . . . . . . . . . . . . . . . . . . . 277
14.3.5 Host MAC Multicast Hash Table Low Register (HMAC_HASHL). . . . . . . . . . . . . . . . . . . . . . . . 278
14.3.6 Host MAC MII Access Register (HMAC_MII_ACC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
14.3.7 Host MAC MII Data Register (HMAC_MII_DATA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
14.3.8 Host MAC Flow Control Register (HMAC_FLOW) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
14.3.9 Host MAC VLAN1 Tag Register (HMAC_VLAN1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283

This manual is related to the following products: