当前位置:网站首页>[datasheet] PHY ksz9031 gigabit network chip interpretation
[datasheet] PHY ksz9031 gigabit network chip interpretation
2022-07-24 12:48:00 【weixin_ forty-three million seven hundred and seventy-one thous】
1、 characteristic
have RGMII Gigabit Ethernet transceivers supported , Single chip 10/100/1000Mbps Ethernet transceiver , Apply to IEEE 802.3 application ; It is widely used in network servers 、 Broadband gateway 、IPTV、 Game console, etc ;
Working voltage :
- kernel (DVDDL、AVDDL and AVDDL_PLL)1.2V
-VDD I/O(DVDDH): 3.3V、2.5V and 1.8V
- Transceiver (AVDDH):3.3V or 2.5V
-PHY Register configuration MDC/MDIO Management interface
If in Linux Debug this PHY Chip drivers , First of all, we should find out the chip manufacturers ,Micrel Chips produced by the company , After being MICROCHIP Company purchase ; The kernel path is drivers/net/phy/micrel.c;
PHY Introduction to the use of chips ,MCU You need to bring it with you MAC controller , We often say that the network card chip is encapsulated MAC+PHY function , Through the bus or SPI Interface for users ;
MAC And PHY How to communicate with each other ,PHY Register read / write parameter configuration , adopt MDC/MDIO To operate , The sequence is 32 Bit serial timing , It's usually MAC Integrate ; Data flow through RGMII/RMII/MII Media interface transmission ;
We will talk about it later PHY Address configuration ,MAC Conduct PHY Register read and write , The first thing to know is PHY The hardware address of , The address can be configured through the circuit ;

As a Gigabit Network , Hardware requirements RGMII Interface application , Provide 125MHZ Reference clock signal , Use 4 Two differential pairs A( Pin 2 and 3)、B( Pin 5 and 6)、C( Pin 8 and 9)、D( Pin 10 and 11);
As a 100m network , Use MII Interface ,25MHZ Reference clock signal , Use only differential pairs A and B; The difference is right C and D Can be left unconnected ;
Here's the key MII Management interface (MII Management)
Integrated clock line (MDC) And data lines (MDIO) The physical connection of ;
As mentioned above PHY Address , Every PHY Device pass PHYAD[2:0] Configure pins 0~7H Assign a unique address between ; according to PHY Address , But for PHY Register programming ;
Every frame 32 position Bit, among PHY The register is 16 Bit data , Each register is fixed bit 16 position ;

MII Debugging skills : Read PHY Identifier register , There is solidified manufacturer information , Compare with the chip manual , Verifiable MII Whether the communication is normal ;
LED Module programmable , We often talk about link state and active state , Through software programming, the roles of the two lights can be interchanged ;

Reset circuit
The reset circuit of this chip is very special , But debugging this chip because the hardware uses the wrong capacitor ( Partial ), As a result, the power on chip cannot be reset , The kernel startup process always fails to find the chip , Profound memory ;

Supported by PHY The register is shown in the following table :

The pin diagram is as follows :

Pin definitions are shown in the following table :







You are welcome to criticize and correct your mistakes , We will share later Linux Drive commissioning experience ;
Pay attention to WeChat public number , reply ksz9031, Chinese chip manual is free to download ;
边栏推荐
- How to mount NFS shares using autofs
- 26. Reverse linked list II
- [rust] reference and borrowing, string slice type (& STR) - rust language foundation 12
- for mysql
- Use of PageHelper
- Symbol
- Slow motion animation, window related data and operations, BOM operations [DOM (V)]
- 2022.07.15 暑假集训 个人排位赛(十)
- Wechat applet - drawing dashboard
- Installation and deployment of ansible
猜你喜欢

It is difficult for Chinese consumers and industrial chains to leave apple, and iPhone has too much influence

Leetcode's 302 weekly rematch

sql的where+or的用法丢失条件

Wechat applet generates QR code
如何用WebGPU流畅渲染百万级2D物体?
![ERROR: [Synth 8-439] module ‘xxx‘ not found not found 错误解决办法](/img/47/bb03cc26e254332bf815c80bafb243.png)
ERROR: [Synth 8-439] module ‘xxx‘ not found not found 错误解决办法

3.实现蛇和基本游戏界面

Everything about native crash

国产旗舰手机定价近六千,却连iPhone12都打不过,用户选谁很明确

Qt Creator怎样更改默认构建目录
随机推荐
元宇宙更多的功能和作用在于对于传统生活方式和生产方式的深度改造
SSH服务突然连接不了案例总结
SQL JOIN 入门使用示例学习左连接、内连接、自连接
如何用WebGPU流畅渲染百万级2D物体?
iSCSI新应用,以及NFS的存储服务分离
以Chef和Ansible为例快速入门服务器配置
2022.07.15 summer training personal qualifying (10)
SSM在线校园相册管理平台
It is difficult for Chinese consumers and industrial chains to leave apple, and iPhone has too much influence
自己实现is_default_constructible
我在一个模块工程中使用注解配置了redis的序列化, 然后在另外一个模块引入这个模块,为什么这个配置
突破内存墙能带来什么?看火山引擎智能推荐服务节支增效实战
1.9. touch pad test
Raspberry pie self built NAS cloud disk -- automatic data backup
3.实现蛇和基本游戏界面
STM32 - Fundamentals of C language
QWaitCondition 的正确使用方法
基于matlab的声音识别
Use abp Zero builds a third-party login module (III): web side development
Is it safe to contact the account manager online to open a fund account?