RMII接口和帧格式

Ethernet 接口

MAC Media Access Controller
RMII Reduced Media Independent Interface
SMI Serial Management Interface

RMII

TXD[0,1] Transmit data0/data1
TXEN Transmit Enable

RXD[0,1] Receive data0/data1
CRS_DV Carrier Sense / Receive Data Valid

REF_CLK Clock source

MDIO Serial Management Interface data input/output
MDC Serial Management Interface clock

MAC 802.3 frame format

LSB Transmit/Receive

Preamble: 7个0x55
SFD Start frame delimiter: 0xD5
Destination & Source Address: 46-bit address + 1bit Globally/Locally administered address + 1bit Individual/Group address
QTag Prefix: 0x8100 + Tag control information
MAC client length/type: <= 1500, length; >0x0600, type;
Data + PAD: < 42 or 46 , use PAD field
Frame check sequence: FCS, CRC, all except (preamble + SFD)

Basic
7B Preamble
1B SFD
6B Destination address
6B Source address
2B MAC client length/type
46-1500 bytes MAC client data + PAD
4B Frame check sequence

Tagged
7B Preamble
1B SFD
6B Destination address
6B Source address
2B Length/type = 802.1QTagType
2B Tag control information
2B MAC client length/type
42-1500 bytes MAC client data + PAD
4B Frame check sequence

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值