当前位置:网站首页>Research on Ethernet PHY Chip LAN8720A Chip
Research on Ethernet PHY Chip LAN8720A Chip
2022-08-10 02:13:00 【Mculover666】
一、LAN8720A概述
1. 简介
LAN8720A/LAN8720Aiis a low power variableI/O电压的10/100M PHY收发器,符合IEEE 802.3-2005标准,支持通过RMII接口与以太网MAC通信.
LAN8720A/LAN8720AiImplement auto-negotiation,The best possible speed and duplex mode of operation is automatically determined.HP Auto-MDIXSupport allows the use of direct connect or crossover LAN cables.
LAN8720A/LAN8720Ai既支持IEEE 802.3-2005标准,It also supports vendor-specific registration functions.但是,Operations do not require access to registers.The initial configuration can be passed“配置带”Configuration pin selection as described in . Register-selectable configuration options can be used to further define the functionality of the transceiver.
2. LAN8720A典型应用
3. LAN8720A内部框图
4. LAN8720A引脚说明
PHY芯片使用的是LAN8720A,引脚图如下:
The classification and functions of pins are as follows:
引脚 | 分类 | 作用 |
---|---|---|
TXD0、TXD1 | RMII引脚 | MACSend data to the transceiver |
TXEN | RMII引脚 | 标示当前TXD是否发送数据 |
RXD0、RX1D | RMII引脚 | 接收引脚 |
RXER | RMII引脚 | Receive error pin |
CRS_DV | RMII引脚 | Indicates that the receiving medium is not free |
MDIO | SMI总线引脚 | 数据引脚 |
MDC | SMI总线引脚 | 时钟引脚 |
TXP | 以太网引脚 | 正极channel 1 |
TXN | 以太网引脚 | 负极channel 1 |
RXP | 以太网引脚 | 正极channel 2 |
RXN | 以太网引脚 | 负极channel 2 |
nRST | Miscellaneous pins | System reset pin、低电平有效 |
nINT | Miscellaneous pins | 中断引脚,低电平有效 |
其中RMII引脚只有7条数据线,相比MII有16条数据线,非常方便:
二、LAN8720A功能描述
1. Serial Management Interface(SMI)
SMIThe interface is used to control the device and get its state.
该接口支持802.3标准的第22the required registers0到6,as well as allowed by the specification“特定于供应商”的寄存器16到31,Unsupported register(例如7到15)will be read as hexadecimal“FFFF”.
SMI接口提供了2条信号线:MDIO和MDC.
- MDC信号:The controller is managed by the site(SMC)provided aperiodic clock,The minimum edge spacing is 160ns,There is no maximum interval
- MDIO信号:is a bidirectional dataSMI输入/输出信号,接收控制器SMC的串行数据(命令),并向SMC发送串行数据(状态)
读数据的时序:
写数据的时序:
2. PHY地址
PHY地址取决于PHYADDR引脚,This value is read at power-up,and stored in the register18里面,So it can also be configured by software.
3. 寄存器描述
其中寄存器0和寄存器1It is a general-purpose register specified by the standard.
寄存器2用来标识PHY ID:
寄存器3用来标识PHY ID:
三、使用uboot测试
uboot中提供了mii命令访问mdio总线:
(1)View currently available devices
mii device
(2)列出当前MII PHY信息
mii info
(3)读取PHY芯片寄存器
边栏推荐
- Summary of Web Performance Testing Models
- ITK编译remote库
- Interlay集成至Moonbeam,为网络带来interBTC和INTR
- 解决sed替换文本,里面含有“/“、“#”等特殊字符的问题
- [obs] obsqsv11 hard coding and comparison with metartc codec
- 以太网PHY芯片LAN8720A芯片研究
- 为什么字符串一旦创建就不可以改变?
- 你有对象类,我有结构体,Go lang1.18入门精炼教程,由白丁入鸿儒,go lang结构体(struct)的使用EP06
- 即时通讯开发如何撸一个WebSocket服务器
- R语言使用glm函数构建logistic回归模型,使用forestmodel包的forest_model函数可视化逻辑回归模型对应的森林图
猜你喜欢
分析 20 个 veToken 生态系统协议 这种代币模型为何受欢迎?
这一次,话筒给你:向自由软件之父 Richard M. Stallman 提问啦!
C# 四舍五入 MidpointRounding.AwayFromZero
Solidity最强对手:MOVE语言及新公链崛起
将string类对象中的内容格式化到字符串Buffer中时遇到的异常崩溃分析
UI遍历的初步尝试
OSS-访问oss生成的url无法访问,直接下载问题
芯片资讯|半导体收入增长预计将放缓至 7%,蓝牙芯片需求依然稳步增长
How to add control panel to right click menu in win7
RedHat红帽RHEL7安装与使用,VMware Workstation16 Pro虚拟机的安装与使用
随机推荐
GB28181 sip和RTSP(Real-Time Streaming Protocol)实时流控制协议
[LeetCode] Find the sum of the numbers from the root node to the leaf node
【报错】ModuleNotFoundError: No module named ‘paramiko‘
Win7怎么把控制面板添加到右键菜单
R语言使用glm函数构建逻辑回归模型(logistic)、使用subgroupAnalysis函数进行亚组分析并可视化森林图
初步认识对象
CAS:851113-28-5 (Biotin-ahx-ahx-tyramine)
DHCP——动态主机配置协议
hint: Updates were rejected because the tip of your current branch is behind hint: its remote counte
Solve the problem of sed replacement text containing special characters such as "/" and "#"
Characteristics of the (CAS:1527486-16-3TAMRA-azide-PEG3-Biotin) reaction in biotin azide!
宽带由20M换为100M
这一次,话筒给你:向自由软件之父 Richard M. Stallman 提问啦!
C language pointer practice questions
防勒索病毒现状分析
Biotin-Cy2 Conjugate, Biotin-Cy2 Conjugate_Cy2 Biotin Conjugate
Sikuli 基于图形识别的自动化测试技术
使用 GoogleTest 框架对 C 代码进行单元测试
【Grpc】简介
你有对象类,我有结构体,Go lang1.18入门精炼教程,由白丁入鸿儒,go lang结构体(struct)的使用EP06