LAN9118_05 SMSC [SMSC Corporation], LAN9118_05 Datasheet - Page 30

no-image

LAN9118_05

Manufacturer Part Number
LAN9118_05
Description
High Performance Single-Chip 10/100 Non-PCI Ethernet Controller
Manufacturer
SMSC [SMSC Corporation]
Datasheet
Revision 1.1 (05-17-05)
3.8
3.9
3.9.1
MODE OF
OPERATION
Mode 0 (Big Endian Register equal to 0xFFFFFFFF)h
Mode 1 (Big Endian Register not equal to 0xFFFFFFFF)h
A1 = 0
A1 = 1
A1 = 0
A1 = 1
The General Purpose Timer is a programmable block that can be used to generate periodic host
interrupts. The resolution of this timer is 100uS.
The GP Timer loads the GPT_CNT Register with the value in the GPT_LOAD field and begins counting
down when the TIMER_EN bit is set to a ‘1.’ On a reset, or when the TIMER_EN bit changes from
set ‘1’ to cleared ‘0,’ the GPT_CNT field is initialized to FFFFh. The GPT_CNT register is also initialized
to FFFFh on a reset. Software can write the pre-load value into the GPT_LOAD field at any time; e.g.,
before or after the TIMER_EN bit is asserted. The GPT Enable bit TIMER_EN is located in the
GPT_CFG register.
Once enabled, the GPT counts down either until it reaches 0000h or until a new pre-load value is
written to the GPT_LOAD field. At 0000h, the counter wraps around to FFFFh, asserts the GPT
interrupt status bit and the IRQ signal if the GPT_INT_EN bit is set, and continues counting. The GPT
interrupt status bit is in the INT_STS Register. The GPT_INT hardware interrupt can only be set if the
GPT_INT_EN bit is set. GPT_INT is a sticky bit (R/WC); i.e., once the GPT_INT bit is set, it can only
be cleared by writing a ‘1’ to the bit.
LAN9118 can optionally load its MAC address from an external serial EEPROM. If a properly
configured EEPROM is detected by LAN9118 at power-up, hard reset or soft reset, the ADDRH and
ADDRL registers will be loaded with the contents of the EEPROM. If a properly configured EEPROM
is not detected, it is the responsibility of the host LAN Driver to set the IEEE addresses.
The LAN9118 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.
MAC Address Auto-Load
On power-up, hard reset or soft reset, the EEPROM controller attempts to read the first byte of data
from the EEPROM (address 00h). If the value A5h is read from the first address, then the EEPROM
General Purpose Timer (GP Timer)
EEPROM Interface
32-bit
D[31:24]
Byte 3
(MSB)
--
--
--
--
D[23:16]
Byte 2
--
--
--
--
Table 3.7 Byte Lane Mapping
DATA PINS
DATASHEET
D[15:8]
Byte 1
Byte 3
Byte 1
Byte 1
Byte 3
30
High Performance Single-Chip 10/100 Non-PCI Ethernet Controller
Byte 0
Byte 2
Byte 0
Byte 0
Byte 2
D[7:0]
(LSB)
This is the native mode of the LAN9118.
Endianess does not matter when both
WORD lanes are in operation.
Note:
Note:
This mode can be used by 32-
bit processors operating with
an external 16-bit bus.
This mode can also be used
by native 16-bit processors.
DESCRIPTION
SMSC LAN9118
Datasheet

Related parts for LAN9118_05