标准:ethernet:rmii:start
这是本文档旧的修订版!
RMII(Reduced Media Independent Interface)
Ethernet MAC和PHY之间通讯的一种接口,MII的精简版本,线减半时钟翻倍,最高支持100Mbps。
常用标准
原理图设计
RMII信号连接如下图(图中PHY的TX和RX按按照MAC侧定义的,即MAC的TX应连接PHY的RX,MAC的RX连接PHY的TX):
RMII各信号的定义见下表:
Table 8: RMII Signal Definitions | ||
Signal Name | Source | Description |
REF_CLK | Switch/MAC or External | Reference Clock.This clock is sourced externally or by the MAC and is always 50 MHz.Both the MAC and the PHY have the same data and control signals on the rising edge of this clock. |
TXEN | Switch/MAC | Transmit Enable.Active high single indicating that the current 2-bit data on TXD[1:0]is valid. |
TXD[1:0] | Switch/MAC | Transmit Data.2-bit transmit data bus. |
CRS_DV | PHY | Carrier Sense/Receive Data Valid.Active high signal indicating that the media is non-idle and that the current data on the RXD[1:0]is valid. |
RXD[1:0] | PHY | Receive Data.2-bit receive data bus. |
RXER | PHY | Receive Error.Active high signal instructing the MAC that a packet error has been detected. |
MDC | Switch/MAC | Management Data Clock. |
MDIO | Bidirectional | Management Data. |
电平转换:RMII电平一般有1.8V、2.5V和3.3V三种,MAC和PHY尽量配置成同样的电平,避免使用电平转换芯片。如果电平无法一致,因其时钟频率高,三极管或MOS管的电平转换电路不满足此频率要求,需要用专门的转换芯片。TI提供的电平转换芯片见文档“ Voltage Translation Buying Guide”。
PCB设计
测试
参考文献
标准/ethernet/rmii/start.1734657398.txt.gz · 最后更改: 2024/12/20 09:16 由 hwwiki
评论