当前位置:网站首页>Marvell 88e1515 PHY loopback mode test
Marvell 88e1515 PHY loopback mode test
2022-07-05 06:43:00 【Enlaihe】
Xavier On the platform 88E1512 PHY chip ,88E1512 The description of the chip register manual is more detailed .
First understand the basic concept of :
The physical layer of Gigabit Ethernet
The physical layer of Gigabit Ethernet is divided into physical coding sublayer PCS(Physical Coding Sublayer)、 Physical media connection sublayer PMA(Physical Medium Attachment) Sublayers related to physical media PMD(Physical Medium Dependent) Three layers , As shown in the figure below :
among PCS Sub layer leader 8b10b code , It can take from GMII Received by mouth 8 Bit parallel data is converted into 10 Bit parallel data output . because 10 Bits of data can effectively reduce the DC component , Reduce the bit error rate , In addition, use 8b10b Coding is convenient for extracting clock from data and first synchronization . You can put PCS Look at both ends GMII Interface and TBI Interface .
PMA The sublayer will further PCS The coding results of the sublayer are transmitted to various physical media , It is mainly responsible for completing serial parallel conversion .PCS Layer by 125M The rate of parallel transmission 10 Bit code to PMA layer , from PMA Layer conversion to 1.25Gbps Send the serial data stream of , So that we can actually get 1Gbps Gigabit Ethernet transmission rate . You can put PMA The two ends of the sublayer are regarded as TBI Interface and SGMII Interface .
PMD The sublayer will complete the interface for various actual physical media , Complete the real physical connection . because 1000BASE-X Support multiple physical media , Such as optical fiber and shielded twisted pair , Their physical interfaces will obviously not be the same . Some need photoelectric conversion , Some have to complete the conversion from imbalance to balance .PMD The layer will specify these specific connectors .
88E1512 Four kinds of loopback Pattern
1.System Interface Loopback
2.Synchronous SERDES Loopback
3.Line Loopback
4.External Loopback
Let's use it first System Interface Loopback, Relatively simple and direct configuration 0_0.14 = 1
I use open source phytool Tool configuration BMCR Of bit14 GitHub - wkz/phytool: Linux MDIO register accesshttps://github.com/wkz/phytool This tool also supports C45 and C42 agreement
First use ethtool Check the current status :
Read phy The value of the current register
Set to loopback Pattern
Loopback speed is determined by Registers 21_2.{6,13} |
边栏推荐
猜你喜欢
cgroup_ memcg
Install opencv -- CONDA to establish a virtual environment and add the kernel of this environment in jupyter
达梦数据库全部
Inclusion exclusion principle acwing 890 Divisible number
Vant Weapp SwipeCell设置多个按钮
Utf8 encoding
安装OpenCV--conda建立虚拟环境并在jupyter中添加此环境的kernel
Redis-01.初识Redis
1. Create Oracle database manually
‘mongoexport‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
随机推荐
Dameng database all
What is linting
How to correctly ask questions in CSDN Q & A
Speedtree01 generator properties
Integer to 8-bit binary explanation (including positive and negative numbers) scope of application -127~+127
求组合数 AcWing 887. 求组合数 III
2048 project realization
H5 module suspension drag effect
P3265 [jloi2015] equipment purchase
[learning] database: several cases of index failure
'mongoexport 'is not an internal or external command, nor is it a runnable program or batch file.
Page type
Stack acwing 3302 Expression evaluation
[learning] database: MySQL query conditions have functions that lead to index failure. Establish functional indexes
Cloud native related technology learning
Database mysql all
6-2 sequence table operation set
使用paping工具进行tcp端口连通性检测
Sum of two numbers, the numbers in the array are converted to decimal, added, and output inversely
International Open Source firmware Foundation (osff) organization