High Performance Two Port 10/100 Managed Ethernet Switch with
Datasheet
2.2.9GPIO/LED Controller
The LAN9312 provides 12 configurable
In addition, 8 of the GPIO pins can be alternatively configured as LED outputs. These pins, GPIO[7:0] (nP1LED[3:0] and nP2LED[3:0]), may be enabled to drive Ethernet status LEDs for external indication of various attributes of the switch ports.
2.3System Configuration
In a typical application, the LAN9312 Host Bus Interface (HBI) is connected to the host microprocessor/microcontroller via the asynchronous
The 2 Ethernet ports of the LAN9312 must be connected to
The LAN9312 also supports optional EEPROM and GPIOs/LEDs. When an EEPROM is connected, the EEPROM loader can be used to load the initial device configuration from the external EEPROM via the I2C/Microwire interface.
A system configuration diagram of the LAN9312 in a typical embedded environment can be seen in Figure 2.2.
To Ethernet |
| I2C/Microwire | EEPROM |
Magnetics |
|
| |
|
| (optional) | |
|
|
| |
| LAN9312 |
| Microprocessor/ |
|
| Microcontroller | |
|
|
| |
To Ethernet |
|
|
|
Magnetics |
|
|
|
|
|
| System |
|
|
| Memory |
GPIOs/LEDs | External |
|
|
(optional) |
|
| |
| 25MHz Crystal |
| System |
|
|
| Peripherals |
Figure 2.2 System Block Diagram
SMSC LAN9312 | 25 | Revision 1.4 |
| DATASHEET |
|