欢迎访问ic37.com |
会员登录 免费注册
发布采购

LAN9313I 参数 Datasheet PDF下载

LAN9313I图片预览
型号: LAN9313I
PDF下载: 下载PDF文件 查看货源
内容描述: 三端口10/100管理型以太网交换机MII [Three Port 10/100 Managed Ethernet Switch with MII]
分类和应用: 以太网局域网(LAN)标准
文件页数/大小: 398 页 / 4083 K
品牌: SMSC [ SMSC CORPORATION ]
 浏览型号LAN9313I的Datasheet PDF文件第121页浏览型号LAN9313I的Datasheet PDF文件第122页浏览型号LAN9313I的Datasheet PDF文件第123页浏览型号LAN9313I的Datasheet PDF文件第124页浏览型号LAN9313I的Datasheet PDF文件第126页浏览型号LAN9313I的Datasheet PDF文件第127页浏览型号LAN9313I的Datasheet PDF文件第128页浏览型号LAN9313I的Datasheet PDF文件第129页  
Three Port 10/100 Managed Ethernet Switch with MII  
Datasheet  
Chapter 9 MII Management  
9.1  
9.2  
Functional Overview  
This chapter details the MII management functionality provided by the LAN9313/LAN9313i, which  
includes the SMI Slave Controller, PHY Management Interface (PMI), and the MII Mode Multiplexer.  
The SMI Slave Controller is used for CPU management of the LAN9313/LAN9313i via the MII pins,  
and allows CPU access to all system CSRs. The PHY Management Interface (PMI) is used to access  
the internal PHYs and optional external PHY, dependant on the management mode. The PMI  
implements the IEEE 802.3 management protocol. The MII Mode Multiplexer is used to direct the  
connections of the MII data path and MII management path based on the selected mode of the device.  
SMI Slave Controller  
The SMI slave controller uses the same pins and protocol as the IEEE 802.3 MII management function,  
and differs only in that SMI provides access to all internal registers by using a non-standard extended  
addressing map. The SMI protocol co-exists with the MII management protocol by using the upper half  
of the PHY address space (16 through 31). All direct and indirect registers of the LAN9313/LAN9313i  
can be accessed. The SMI management mode is selected when the mngt_mode_strap[1:0] inputs are  
set to 01b. A list of management modes and their configuration settings are discussed in Section 2.3,  
"Modes of Operation," on page 23.  
The MII management protocol is limited to 16-bit data accesses. The protocol is also limited to 5 PHY  
address bits and 5 register address bits. The SMI frame format can be seen in Table 9.1. The  
LAN9313/LAN9313i uses the PHY Address field bits 3:0 as the system register address bits 9:6, and  
the Register Address field as the system register address bits 5:1. Therefore, Register Address field  
bit 0 is used as the upper/lower word select. The LAN9313/LAN9313i requires two back-to-back  
accesses to each register (with alternate settings of Register Address field bit 0) which are combined  
to form a 32-bit access. The access may be performed in any order.  
Note: When accessing the LAN9313/LAN9313i, the pair of cycles must be atomic. In this case, the  
first host SMI cycle is performed to the low/high word and the second host SMI cycle is  
performed to the high/low word, forming a 32-bit transaction with no cycles to the  
LAN9313/LAN9313i in between. With the exception of Register Address field bit 0, all address  
and control bits must be the same for both 16-bit cycles of a 32-bit transaction.  
Input data on the MDIO pin is sampled on the rising edge of the MDC input clock. Output data is  
sourced on the MDIO pin with the rising edge of the clock. The MDIO pin is three-stated unless actively  
driving read data.  
A read or a write is performed using the frame format shown in Table 9.1. All addresses and data are  
transferred msb first. Data bytes are transferred little endian. When Register Address bit 0 is 1, bytes  
3 & 2 are selected with byte 3 occurring first. When Register Address bit 0 is 0, bytes 1 & 0 are  
selected with byte 1 occurring first.  
Table 9.1 SMI Frame Format  
TURN-  
PHY  
ADDRESS  
Note 9.1  
REGISTER  
ADDRESS  
Note 9.1  
AROUND  
TIME  
IDLE  
Note  
9.3  
OP  
CODE  
PREAMBLE  
START  
Note 9.2  
DATA  
READ  
32 1’s  
01  
10  
01  
1AAAA  
9876  
AAAAA  
54321  
Z0  
10  
DDDDDDDDDDDDDDDD  
1111110000000000  
Z
5432109876543210  
WRITE  
32 1’s  
01  
1AAAA  
9876  
AAAAA  
54321  
DDDDDDDDDDDDDDDD  
1111110000000000  
Z
5432109876543210  
SMSC LAN9313/LAN9313i  
125  
Revision 1.2 (04-08-08)  
DATASHEET  
 复制成功!