用户工具

站点工具


标准:ethernet:mii:start

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
标准:ethernet:mii:start [2024/12/17 08:54] – 创建 hwwiki标准:ethernet:mii:start [2025/03/09 09:42] (当前版本) – [原理图设计] hwwiki
行 1: 行 1:
 ====== MII(Media Independent Interface) ====== ====== MII(Media Independent Interface) ======
  
-Ethernet MAC和PHY之间通讯的一种接口,最高支持100Mbps。+Ethernet MAC和PHY之间数据传递的一种MII(Media Independent Interface)接口,最高支持100Mbps。
  
 ===== 常用标准 ===== ===== 常用标准 =====
  
 IEEE 802.3u (Fast Ethernet Specification): [[标准:ethernet:start#%E5%B8%B8%E7%94%A8%E6%A0%87%E5%87%86|802.3-2022 第22卷]] IEEE 802.3u (Fast Ethernet Specification): [[标准:ethernet:start#%E5%B8%B8%E7%94%A8%E6%A0%87%E5%87%86|802.3-2022 第22卷]]
 +
 +===== 原理图设计 =====
 +
 +MII信号连接如下图(图中PHY的TX和RX按按照MAC侧定义的,即MAC的TX应连接PHY的RX,MAC的RX连接PHY的TX):
 +
 +{{:标准:ethernet:mii:mii_signal_connections.png?600|}}
 +
 +MII各信号的定义见下表:
 +
 +|  **Table 7: MII Signal Definitions**  |||
 +|**Signal Name**  |**Source**  |**Description**  |
 +|TXC  |PHY  |Transmit Clock.This clock is sourced bythe PHY and is25 MHz for 100 Mbps mode and\\ 2.5 MHz for 10 Mbps mode.The PHY samples TXD on the rising edge of TXC.  |
 +|TXEN  |Switch/MAC  |Transmit Enable.Active high single indicating that the current nibble on TXD is valid  |
 +|TXD[3:0]  |Switch/MAC  |Transmit Data.Nibble-wide transmit data.  |
 +|TXER  |Switch/MAC  |Transmit Error.Active high signal instructing the PHY to transmit an errored symbol  |
 +|RXC  |PHY  |Receive Clock.This clock is sourced by the PHY and is 25 MHz for 100 Mbps mode and\\ 2.5 MHz tor 10 Mbps mode.Ine MAC samples KXD on tne rising eage of KXC.  |
 +|RXDV  |PHY  |Receive Data Valid.Active high signal indicating that the current nibble on RXD is valid  |
 +|RXD[3:0]  |PHY  |Receive Data.Nibble-wide receive data.  |
 +|RXER  |PHY  |Receive Error.Active high signal instructing the MAC that a packet error has been\\ detected.  |
 +|CRS  |PHY  |Carrier Sense.Active high signal indicating activity on the media.  |
 +|COL  |PHY  |Collision.Active high signal indicating that a collision has occurred on the media.  |
 +|MDC  |Switch/MAC  |Management Data Clock.  |
 +|MDIO  |Bidirectional  |Management Data.  |
 +
 +**电平转换**:MII电平一般有1.8V、2.5V和3.3V三种,MAC和PHY尽量配置成同样的电平,避免使用电平转换芯片。如果电平无法一致,因其时钟频率高,三极管或MOS管的电平转换电路不满足此频率要求,需要用专门的转换芯片。TI提供的电平转换芯片见文档“{{ :元器件:ic:logic:translators_level-shifters:ti_voltage_translation_buying_guide.pdf | Voltage Translation Buying Guide}}”。
 +
 +===== PCB设计 =====
 +
 +见 [[标准:ethernet:start#mii_mii_rmii_gmii_rgmii_布线|Ethernet:MII(MII、RMII、GMII、RGMII)布线]]
 +
 +===== 参考文献 =====
 +
 +  - {{ :标准:ethernet:net-an100-rds_networking_terms_protocols_and_standards.pdf | BROADCOM: Networking Terms, Protocols, and Standards}}
  
标准/ethernet/mii/start.1734396849.txt.gz · 最后更改: 2024/12/17 08:54 由 hwwiki