LAN9313I SMSC [SMSC Corporation], LAN9313I Datasheet - Page 127

no-image

LAN9313I

Manufacturer Part Number
LAN9313I
Description
Three Port 10/100 Managed Ethernet Switch with MII
Manufacturer
SMSC [SMSC Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LAN9313I-NZW
Manufacturer:
Standard
Quantity:
261
Part Number:
LAN9313I-NZW
Manufacturer:
Microchip Technology
Quantity:
10 000
Three Port 10/100 Managed Ethernet Switch with MII
Datasheet
SMSC LAN9313/LAN9313i
9.2.2
9.3
9.3.1
WRITE
READ
PREAMBLE
Write Sequence
In a write sequence, the host sends the 32-bit preamble, 2-bit start of frame, 2-bit op-code, 5-bit PHY
Address, 5-bit Register Address, 2-bit turn-around time, and finally the 16-bits of data. The MDIO pin
is three-stated throughout the write sequence.
The host processor is required to perform two contiguous 16-bit writes to complete a single DWORD
transfer. No ordering requirement exists. The host may access either the low or high word first, as long
as the next write is performed to the opposite word. If a write to the same word is performed, the device
disregards the transfer.
Note: SMI writes must not be performed to unused register addresses.
The PHY Management Interface (PMI) is used to access the internal PHYs as well as the external
PHY on the MII pins (in MAC modes only). The PMI operates at 2.5MHz, and implements the IEEE
802.3 management protocol, providing read/write commands for PHY configuration.
A read or write is performed using the frame format shown in
transferred msb first. Data bytes are transferred little endian.
Note 9.4
Note 9.5
The internal PHYs and optional external PHY (in MAC modes) are accessed via the
Interface Access Register (PMI_ACCESS)
(PMI_DATA). These registers allow read and write operations to all PHY registers. Refer to
13.1.6, "PHY Management Interface (PMI)," on page 207
EEPROM Loader PHY Register Access
The PMI is also used by the EEPROM Loader to load the PHY registers with various configuration
strap values. The
Interface Data Register (PMI_DATA)
of the EEPROM Loader. Refer to
information.
PHY Management Interface (PMI)
32 1’s
32 1’s
The turn-around time (TA) is used to avoid bus contention during a read cycle. For a read,
the external PHY drives the second bit of the turn-around time to 0, and then drives the
msb of the read data in the following cycle. For a write, the LAN9313/LAN9313i drives the
first bit of the turnaround time to 1, the second bit of the turnaround time to 0, and then
the msb of the write data in the following clock cycle.
In the IDLE condition, the MDIO output is three-stated and pulled high externally.
START
01
01
PHY Management Interface Access Register (PMI_ACCESS)
CODE
Table 9.2 MII Management Frame Format
OP
10
01
ADDRESS
AAAAA
AAAAA
PHY
DATASHEET
Section 8.2.4, "EEPROM Loader," on page 113
are also accessible as part of the Register Data burst sequence
127
REGISTER
ADDRESS
RRRRR
RRRRR
and
PHY Management Interface Data Register
AROUND
Note 9.4
for detailed information on these registers.
TURN-
TIME
Z0
10
Table
DDDDDDDDDDDDDDDD
DDDDDDDDDDDDDDDD
9.2. All addresses and data are
DATA
and
Revision 1.2 (04-08-08)
PHY Management
PHY Management
for additional
Section
IDLE
Note
9.5
Z
Z

Related parts for LAN9313I