English
Language : 

LAN9303MI-AKZE Datasheet, PDF (114/386 Pages) SMSC Corporation – Small Form Factor Three Port 10/100 Managed Ethernet Switch with Dual MII/RMII/Turbo MII
Small Form Factor Three Port 10/100 Managed Ethernet Switch with Dual MII/RMII/Turbo MII
Datasheet
Chapter 8 Serial Management
8.1
8.2
Functional Overview
This chapter details the serial management functionality provided by the device, which includes the
EEPROM I2C master, EEPROM Loader, and I2C slave controller.
The I2C EEPROM controller is an I2C master module which interfaces an optional external EEPROM
with the system register bus and the EEPROM Loader. Multiple sizes of external EEPROMs are
supported. Configuration of the EEPROM size is accomplished via the eeprom_size_strap
configuration strap. Various commands are supported for EEPROM access, allowing for the storage
and retrieval of static data. The I2C interface conforms to the NXP I2C-Bus Specification.
The EEPROM Loader provides the automatic loading of configuration settings from the EEPROM into
the device at reset. The EEPROM Loader module interfaces to the EEPROM Controller, Ethernet
PHYs, and the system CSRs.
The I2C slave controller can be used for CPU serial management and allow CPU access to all system
CSRs. The I2C slave controller implements the low level I2C slave serial interface (start and stop
condition detection, data bit transmission/reception, and acknowledge generation/reception), handles
the slave command protocol, and performs system register reads and writes. The I2C slave controller
conforms to the NXP I2C-Bus Specification.
I2C Overview
I2C is a bi-directional 2-wire data protocol. A device that sends data is defined as a transmitter and a
device that receives data is defined as a receiver. The bus is controlled by a master which generates
the EE_SCL clock, controls bus access, and generates the start and stop conditions. Either the master
or slave may operate as a transmitter or receiver as determined by the master.
The device implements an I2C master for accessing an external EEPROM and an I2C slave for control
by a management master. Both the clock and data signals have digital input filters that reject pulses
that are less than 100nS. The I2C Master and the I2C Slave Serial interfaces share common pins. The
data pin is driven low when either interface sends a low, emulating the wired-AND function of the I2C
bus. Since the slave interface never drives the clock pin, the wired-AND is not necessary.
The following bus states exist:
„ Idle: Both EE_SDA/SDA and EE_SCL/SCL are high when the bus is idle.
„ Start & Stop Conditions: A start condition is defined as a high to low transition on the EE_ SDA
line while EE_ SCL is high. A stop condition is defined as a low to high transition on the EE_SDA
line while EE_SCL is high. The bus is considered to be busy following a start condition and is
considered free 4.7uS/1.3uS (for 100KHz and 400KHz operation, respectively) following a stop
condition. The bus stays busy following a repeated start condition (instead of a stop condition).
Starts and repeated starts are otherwise functionally equivalent.
„ Data Valid: Data is valid, following the start condition, when EE_SDA is stable while EE_SCL is
high. Data can only be changed while the clock is low. There is one valid bit per clock pulse. Every
byte must be 8 bits long and is transmitted msb first.
„ Acknowledge: Each byte of data is followed by an acknowledge bit. The master generates a ninth
clock pulse for the acknowledge bit. The transmitter releases EE_SDA/SDA (high). The receiver
drives EE_SDA/SDA low so that it remains valid during the high period of the clock, taking into
account the setup and hold times. The receiver may be the master or the slave depending on the
direction of the data. Typically the receiver acknowledges each byte. If the master is the receiver,
it does not generate an acknowledge on the last byte of a transfer. This informs the slave to not
drive the next byte of data so that the master may generate a stop or repeated start condition.
Revision 1.5 (07-08-11)
114
DATASHEET
SMSC LAN9303M/LAN9303Mi