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