MDIO Clause 45 和Clause 22
2016-03-24 10:52
330 查看
MDIO Clause 45 和Clause 22
Contents MDIO History Theory of Operation Clause 22 Clause 45 References MDIO History Management Data Input/Output, or MDIO, is a 2-wire serial bus that is used to manage PHYs or physical layer de]Contents
MDIO HistoryTheory of Operation
Clause 22
Clause 45
References
MDIO History
Management Data Input/Output, or MDIO, is a 2-wire serial bus that is used to manage PHYs or physical layer devices in media access controllers (MACs) in Gigabit Ethernet equipment. The management of these PHYs is based on the access and modification of theirvarious registers.
MDIO was originally defined in Clause 22 of IEEE RFC802.3. In the original specification, a single MDIO interface is able to access up to 32 registers in 32 different PHY devices. These registers provide status and control information such as: link status,
speed ability and selection, power down for low power consumption, duplex mode (full or half), auto-negotiation, fault signaling, and loopback.
To meet the needs the expanding needs of 10-Gigabit Ethernet devices, Clause 45 of the 802.3ae specification provided the following additions to MDIO:
Ability to access 65,536 registers in 32 different devices on 32 different ports
Additional OP-code and ST-code for Indirect Address register access for 10 Gigabit Ethernet
End-to-end fault signaling
Multiple loopback points
Low voltage electrical specification
Theory of Operation
The MDIO bus has two signals: Management Data Clock (MDC) and Managment Data Input/Ouput (MDIO).MDIO has specific terminology to define the various devices on the bus. The device driving the MDIO bus is identified as the Station Management Entity (STA). The target devices that are being managed by the MDC are referred to as MDIO Manageable Devices (MMD).
The STA initiates all communication in MDIO and is responsible for driving the clock on MDC. MDC is specified to have a frequency of up to 2.5 MHz.
Clause 22
Clause 22 defines the MDIO communication basic frame format (figure 13) which is composed of the following elements:Figure 13: Basic MDIO Frame Format
ST | 2 bits | Start of Frame (01 for Clause 22) |
OP | 2 bits | OP Code |
PHYADR | 5 bits | PHY Address |
REGADR | 5 bits | Register Address |
TA | 2 bits | Turnaround time to change bus ownership from STA to MMD if required |
DATA | 16 bits | Data Driven by STA during write Driven by MMD during read |
Clause 45
In order to address the deficiencies of Clause 22, Clause 45 was added to the 802.3 specification. Clause 45 added support for low voltage devices down to 1.2V and extended the frame format (figure 14) to provide access to many more devices and registers. Someof the elements of the extended frame are similar to the basic data frame:
Figure 14: Extended MDIO Frame Format
ST | 2 bits | Start of Frame (00 for Clause 45) |
OP | 2 bits | OP Code |
PHYADR | 5 bits | PHY Address |
DEVTYPE | 5 bits | Device Type |
TA | 2 bits | Turnaround time to change bus ownership from STA to MMD if required |
ADDR/DATA | 16 bits | Address or Data Driven by STA for address Driven by STA during write Driven by MMD during read Driven by MMD during read-increment-address |
frame is then sent to perform the read or write.
The benefits of adding this two cycle access are that Clause 45 is backwards compatible with Clause 22, allowing devices to interoperate with each other. Secondly, by creating a address frame, the register address space is increased from 5 bits to 16 bits,
which allows an STA to access 65,536 different registers.
In order to accomplish this, several changes were made in the composition of the data frame. A new ST code (00) is defined to identify Clause 45 data frames. The OP codes were expanded to specify an address frame, a write frame, a read frame, or a read and
post read increment address frame. Since the register address is no longer needed, this field is replaced with DEVTYPE to specify the targeted device type. The expanded device type allows the STA to access other devices in addition to PHYs.
Additional details about Clause 45 can be found on the IEEE 802.3 workgroup website.
References
IEEE 802 LAN/MAN Standards CommitteeUse The MDIO Bus To Interrogate Complex Devices– Electronic Design Magazine
相关推荐
MDIO Clause22 and Clause 45
MDIO Clause
45 和Clause 22
对SET
UNUSED Clause本质的理解(以及 SET UNUSED Clause和 DROP(column) clause的关系 )
SQL
Server Regular express in Where clause, case when clause
Into Clause
VS Let Clause
linux网络设备—mdio总线
Linux下smi/mdio总线驱动
MDIO/MDC(SMI)接口
Linux 下smi/mdio总线通信
相关文章推荐
- 关于梯度训练介绍,batch-GD, SGD, Mini-batch-GD, Stochastic GD, Online-GD
- review basics of Java
- Mason 入门例子1 --- 基本概念及建立空仿真
- leetcode 169. Majority Element
- c++程序项目1到项目3
- C++实验2-标准体重
- 半平面交 n^2和nlogn的模板
- java.sql.SQLException: SELECT command denied to user 'wzhpingsheng'@'127.0.0.1' for table 'table_adm
- 占位符动画插件Placeholdem
- cf#VK Cup 2015 - Qualification Round 2-C - Name Quest-贪心
- Activity退出后,键盘不收回
- EasyUI两种动态添加tab Iframe页面的方法
- MFC常用类成员函数
- cf#VK Cup 2015 - Qualification Round 2-D - Statistics of Recompressing Videos-优先队列模拟
- HYSBZ 1012(JSOI 2008) 最大数maxnumber(线段树点更新)
- Android 面试题总结(一)
- EasyUI两种动态添加tab Iframe页面的方法
- new
- 统计一个数字在排序数组中出现的次数
- Hibernate开发之创建POJO-配置文件-映射文件