【转】phy基础知识总结 common register总结
- PHY篇以太网PHY标准寄存器分析
表 1 PHY 管理寄存器集
|
|||
Register address
|
Register name
|
Basic/Extended
MII GMII
|
|
0
|
Control
|
B
|
B
|
1
|
Status
|
B
|
B
|
2,3
|
PHY Identifier
|
E
|
E
|
4
|
Auto-Negotiation Advertisement
|
E
|
E
|
5
|
Auto-Negotiation Link Partner Base Page Ability
|
E
|
E
|
6
|
Auto-Negotiation Expansion
|
E
|
E
|
7
|
Auto-Negotiation Next Page Transmit
|
E
|
E
|
8
|
Auto-Negotiation Link Partner Received Next Page
|
E
|
E
|
9
|
MASTER-SLAVE Control Register
|
E
|
E
|
10
|
MASTER-SLAVE Status Register
|
E
|
E
|
11 through 14
|
Reserved
|
E
|
E
|
15
|
Extended Status
|
Reserved
|
B
|
16 through 31
|
Vendor Specific
|
E
|
E
|
- Control Register
表2 Control Register
|
|||
Bit(s)
|
Name
|
Description
|
R/Wa
|
0.15
|
Reset
|
1 = PHY reset
0 = normal operation
|
R/W SC
|
0.14
|
Loopback
|
1 = enable loopback mode
0 = disable loopback mode
|
R/W
|
0.13
|
Speed Selection (LSB)
|
0.6 0.13
1 1 = Reserved
1 0 = 1000 Mb/s
0 1 = 100 Mb/s
0 0 = 10 Mb/s
|
R/W
|
0.12
|
Auto-Negotiation Enable
|
1 = Enable Auto-Negotiation Process
0 = Disable Auto-Negotiation Process
|
R/W
|
0.11
|
Power Down
|
1 = power down
0 = normal operation
|
R/W
|
0.10
|
Isolate
|
1 = electrically Isolate PHY from MII or GMII
0 = normal operation
|
R/W
|
0.9
|
Restart Auto-Negotiation
|
1 = Restart Auto-Negotiation Process
0 = normal operation
|
R/W SC
|
0.8
|
Duplex Mode
|
1 = Full Duplex
0 = Half Duplex
|
R/W
|
0.7
|
Collision Test
|
1 = enable COL signal test
0 = disable COL signal test
|
R/W
|
0.6
|
Speed Selection (MSB)
|
0.6 0.13
1 1 = Reserved
1 0 = 1000 Mb/s
0 1 = 100 Mb/s
0 0 = 10 Mb/s
|
R/W
|
0.5:0
|
Reserved
|
Write as 0, ignore on Read
|
R/W
|
- Status register
表3 Status register
|
|||
Bit(s)
|
Name
|
Description
|
R/Wa
|
1.15
|
100BASE-T4
|
1 = PHY able to perform 100BASE-T4
0 = PHY not able to perform 100BASE-T4
|
RO
|
1.14
|
100BASE-X Full Duplex
|
1 = PHY able to perform full duplex 100BASE-X
0 = PHY not able to perform full duplex 100BASE-X
|
RO
|
1.13
|
100BASE-X Half Duplex
|
1 = PHY able to perform half duplex 100BASE-X
0 = PHY not able to perform half duplex 100BASE-X
|
RO
|
1.12
|
10 Mb/s Full Duplex
|
1 = PHY able to operate at 10 Mb/s in full duplex mode
0 = PHY not able to operate at 10 Mb/s in full duplex mode
|
RO
|
1.11
|
10 Mb/s Half Duplex
|
1 = PHY able to operate at 10 Mb/s in half duplex mode
0 = PHY not able to operate at 10 Mb/s in half duplex mode
|
RO
|
1.1
|
100BASE-T2 Full Duplex
|
1 = PHY able to perform full duplex 100BASE-T2
0 = PHY not able to perform full duplex 100BASE-T2
|
RO
|
1.9
|
100BASE-T2 Half Duplex
|
1 = PHY able to perform half duplex 100BASE-T2
0 = PHY not able to perform half duplex 100BASE-T2
|
RO
|
1.8
|
Extended Status
|
1 = Extended status information in Register 15
0 = No extended status information in Register 15
|
RO
|
1.7
|
Reserved
|
ignore when read
|
RO
|
1.6
|
MF Preamble Suppression
|
1 = PHY will accept management frames with preamble suppressed.
0 = PHY will not accept management frames with preamble suppressed.
|
RO
|
1.5
|
Auto-Negotiation Complete
|
1 = Auto-Negotiation process completed
0 = Auto-Negotiation process not completed
|
RO
|
1.4
|
Remote Fault
|
1 = remote fault condition detected
0 = no remote fault condition detected
|
RO/ LH
|
1.3
|
Auto-Negotiation Ability
|
1 = PHY is able to perform Auto-Negotiation
0 = PHY is not able to perform Auto-Negotiation
|
RO
|
1.2
|
Link Status
|
1 = link is up
0 = link is down
|
RO/ LL
|
1.1
|
Jabber Detect
|
1 = jabber condition detected
0 = no jabber condition detected
|
RO/ LH
|
1
|
Extended Capability
|
1 = extended register capabilities
0 = basic register set capabilities only
|
RO
|
- PHY Identifier Register
- Auto-Negotiation Advertisement Register
表4A Auto-Negotiation Advertisement Register (Copper)
|
|||
Bit(s)
|
Name
|
Description
|
R/W
|
4.15
|
Next Page
|
0=Next Page ability is not supported/No NP to exchange
1=Next Page to exchange
|
R/W
|
4.14
|
Reserved
|
Write as zero, ignore on read
|
RO
|
4.13
|
Remote Fault
|
0=don't transmit Remote Fault Information
1=transmit Remote Fault Information
|
R/W
|
4.12:5
|
Technology Ability Field
|
Technologies supported by local PHY to Advertise
|
R/W
|
4.4:0
|
Selector Field
|
the type of message being sent by Auto-Negotiation
|
R/W
|
Technology Ability Field
|
||
Bit
|
Technology
|
Minimum cabling requirement
|
A0
|
10BASE-T
|
Two-pair category 3
|
A1
|
10BASE-T full duplex
|
Two-pair category 3
|
A2
|
100BASE-TX
|
Two-pair category 5
|
A3
|
100BASE-TX full duplex
|
Two-pair category 5
|
A4
|
100BASE-T4
|
Four-pair category 3
|
A5
|
PAUSE operation for full duplex links
|
Not applicable
|
A6
|
Asymmetric PAUSE operation for full duplex Links
|
Not applicable
|
A7
|
Reserved for future technology
|
表4B Auto-Negotiation Advertisement Register (1000BASE-X)
|
|||
Bit(s)
|
Name
|
Description
|
R/W
|
4.15
|
Next Page
|
0=Next Page ability is not supported/No NP to exchange
1=Next Page to exchange
|
R/W
|
4.14
|
Reserved
|
Write as zero, ignore on read
|
RO
|
4.13:12
|
Remote Fault
|
0=don't transmit Remote Fault Information
1=transmit Remote Fault Information
|
R/W
|
4.11:9
|
Reserved
|
Write as zero, ignore on read
|
RO
|
4.8:7
|
Pause
|
0= don't Advertise Pause capability
1= Advertise Pause capability
|
R/W
|
4.6
|
Half Duplex
|
0= don't Advertise 1000BASE-X HD capability
1= Advertise 1000BASE-X HD capability
|
R/W
|
4.5
|
Full Duplex
|
0= don't Advertise 1000BASE-X FD capability
1= Advertise 1000BASE-X FD capability
|
R/W
|
4.4:0
|
Reserved
|
Write as zero, ignore on read
|
RO
|
- Auto-Negotiation Link Partner Base Page Ability Register
==
- Auto-Negotiation Expansion Register
表5 Auto-Negotiation Expansion Register
|
|||
Bit(s)
|
Name
|
Description
|
R/W
|
6.15:5
|
Reserved
|
Write as zero, ignore on read
|
RO
|
6.4
|
Parallel Detection Fault
|
1 = fault detected via the Parallel Detection function.
0 = No fault detected via the Par-allel Detection function.
|
RO/ LH
|
6.3
|
Link Partner Next Page Able
|
1 = Link Partner is Next Page able
0 = Link Partner is not Next Page able
|
RO
|
6.2
|
Next Page Able
|
1 = Local Device is Next Page able
0 = Local Device is not Next Page able
|
RO
|
6.1
|
Page Received
|
1 = A New Page has been received
0 = A New Page has not been received
|
RO/ LH
|
6.0
|
Link Partner AN Able
|
1 = Link Partner is Auto-Negotiation able
0 = Link Partner is not Auto-Negotiation able
|
RO
|
- AN next page Register/AN Link Partner Received Next Page
- MASTER-SLAVE Control Register
表6 MASTER-SLAVE Control Register
|
|||
Bit
|
Name
|
Description
|
Type
|
9.15:13
|
Test mode bits
|
Transmitter test mode operations
|
R/W
|
9.12
|
MASTER-SLAVE Manual Config Enable
|
1=Enable MASTER-SLAVE Manual configuration value
0=Disable MASTER-SLAVE Manual configuration value Default bit value is 0.
|
R/W
|
9.11
|
MASTER-SLAVE Config Value
|
1=Configure PHY as MASTER during MASTER-SLAVE negotiation
0=Configure PHY as SLAVE during MASTER-SLAVE negotiation
|
R/W
|
9.10
|
Port type
|
Indicate the preference to oper-ate as MASTER (multiport device) or as SLAVE (sin-gle-port device) if the bit 9.12, is not set.
|
R/W
|
9.9
|
1000BASE-T Full Duplex
|
1 = Advertise PHY is 1000BASE-T full duplex capable.
0 = Advertise PHY is not 1000BASE-T full duplex capable.
|
R/W
|
9.8
|
1000BASE-T Half Duplex
|
1 = Advertise PHY is 1000BASE-T half duplex capable.
0 = Advertise PHY is not 1000BASE-T half duplex capable.
|
R/W
|
9.7:0
|
Reserved
|
Write as 0, ignore on read.
|
R/W
|
- MASTER-SLAVE Status Register
表7 MASTER-SLAVE Status Register
|
|||
Bit
|
Name
|
Description
|
Type
|
10.15
|
MASTER-SLAVE configuration fault
|
Configuration fault, as well as the criteria and method of fault detection, is PHY specific.
|
RO/LH/SC
|
10.14
|
MASTER-SLAVE configuration resolution
|
1 = Local PHY configuration resolved to MASTER
0 = Local PHY configuration resolved to SLAVE
|
RO
|
10.13
|
Local Receiver Status
|
1 = Local Receiver OK
0 = Local Receiver not OK
|
RO
|
10.12
|
Remote Receiver Status
|
1 = Remote Receiver OK
0 = Remote Receiver not OK
|
RO
|
10.11
|
LP 1000T FD
|
1 = Link Partner is capable of 1000BASE-T full duplex
0 = Link Partner is not capable of 1000BASE-T full duplex
|
RO
|
10.10
|
LP 1000T HD
|
1 = Link Partner is capable of 1000BASE-T half duplex
0 = Link Partner is not capable of 1000BASE-T half duplex
|
RO
|
10.9:8
|
Reserved
|
Reserved
|
RO
|
10.7:0
|
Idle Error Count
|
Bits 10.7:0 indicate the Idle Error count, where 10.7 is the most significant bit.
|
RO/SC
|
- Extended Status Register
- PHY扩展寄存器分析
- 工作模式控制器
- 端口驱动模式
- 预加重配置
- 自动协商降格
- Auto-Crossover配置
- MDI信号边沿速率调整
- 错误指示寄存器
- 千兆口时延问题
【转】phy基础知识总结 common register总结相关推荐
- phy基础知识总结 common register总结
PHY篇以太网PHY标准寄存器分析 PHY 是IEEE802.3中定义的一个标准模块,STA( station management entity ,管理实体,一般为MAC或CPU)通过SMI(S e ...
- gmac网卡驱动1-------mac与phy基础知识
GMAC简介 网卡 用于报文控制,一般有mac和phy组成. mac: 一般用于数据的过滤 phy: 操作数据实际的收发 mac 分类: mac按最大传输速率可以分为emac,gmac组成: 帧发送( ...
- 【正点原子STM32连载】第五章 STM32基础知识入门 摘自【正点原子】MiniPro STM32H750 开发指南_V1.1
1)实验平台:正点原子MiniPro H750开发板 2)平台购买地址:https://detail.tmall.com/item.htm?id=677017430560 3)全套实验源码+手册+视频 ...
- 【嵌入式Linux】嵌入式Linux驱动开发基础知识之设备树模型
文章目录 前言 1.设备树的作用 2.设备树的语法 2.1.设备树的逻辑图和dts文件.dtb文件 2.1.1.1Devicetree格式 1DTS文件的格式 node的格式 properties的格 ...
- STM32 USB基础知识
文章目录 拓展阅读 前言 一.USB基础知识 二.USB2.0 1.usb2.0模式说明 2.USB2.0全速USB和高速USB的识别过程分析 3.usb协议关系 4.USB2.0与USB1.x 硬件 ...
- Python基础知识笔记
文章目录 Python基础知识 教程:https://www.liaoxuefeng.com/wiki/1016959663602400 内置函数:https://docs.python.org/3/ ...
- 【STM32H7教程】第29章 STM32H7的USART串口基础知识和HAL库API
完整教程下载地址:http://www.armbbs.cn/forum.php?mod=viewthread&tid=86980 第29章 STM32H7的USART串口基础知识和 ...
- 【STM32H7】第3章 ThreadX FileX移植SDIO接口SD的基础知识
论坛原始地址(持续更新):http://www.armbbs.cn/forum.php?mod=viewthread&tid=100749 第3章 ThreadX FileX移植SDIO接 ...
- 【STM32H7教程】第87章 STM32H7的SDMMC总线基础知识和HAL库API
完整教程下载地址:http://www.armbbs.cn/forum.php?mod=viewthread&tid=86980 第87章 STM32H7的SDMMC总线基础知识和 ...
最新文章
- 《Redis in action》读书笔记
- 文件_ _android从资源文件中读取文件流并显示的方法
- C 语言的标准输入对象是,《面向对象程序设计C+》期末试卷及标准答案
- SPOJ Finding Fractions
- Linux线程(二)
- 论文浅尝 - EMNLP2020 | 跨媒体关键词预测: 多模态多头注意力和图像文本的统一框架...
- Android--从零开始开发一款文章阅读APP
- java开发区块链_使用Java语言从零开始创建区块链
- java功能模块_Java 13功能
- 建站基础知识之CSS 究竟什么来头?
- js校验明细列表字段是否存在相同值(js循环嵌套初始值问题)
- 如何编译Linux内核源码?
- 使用opencv进行车牌提取及识别
- Opencvchina网站:把证件照蓝色背景转为白色
- 本人累计多年整理的所有软件 需要请留言 适合毕业设计参考
- 还不会记录脚本日志吗?戳这里 ->>> python中logging模块二次封装记录脚本的每一步脚印
- Ubuntu 18.04上跑通LSD SLAM
- windows环境下编译ACE+TAO问题及解决办法
- PDF文件如何快速转换成Word文件?两个方法教你搞定
- Jenkins日程配置说明
热门文章
- ORA-280000:账户 已被锁定
- CentOS7安全加固
- 苹果html5,苹果新官网上线 使用HTML5全副武装
- 逆水寒登录服务器未响应,逆水寒进剧情过图画面黑屏卡死无反应但是有声音的解决方法...
- 自定义实现offsetof
- 函数局部有界性定理_函数有界性的定理如何证明
- 红外热释电处理芯片BISS0001应用资料
- 设置html前导符,制表位怎么设置前导符?word制表位怎么弄?word制表位怎么用?
- 震惊!用Python探索《红楼梦》的人物关系!
- 学计算机电脑屏幕小可以吗,电脑屏幕大小怎么调好 设置桌面大小时要注意哪些要点...