GD32F10x User Manual
659
TxMTL, used to control, management and store the transmit data. TxFIFO is
implemented in this module and used to cache transmitting data from memory for MAC
transmission.
The MAC transmission relative control registers, used to control frame transmit.
Receiving data module includes:
RxDMA controller, used to read descriptors from memory and writes received frame data
and status to memory.
RxMTL, used to control, management and store reception data. RxFIFO is implemented
in this module and used to temporarily store received frame data before forwarding them
into the system physical memory.
The MAC reception relative control registers, used to control frame receive and marked
the receiving state. Also a receiving filter with a variety of filtering mode is implemented
in MAC, used to filter out specific Ethernet frame.
Note:
The AHB clock frequency must be at least 25 MHz when the Ethernet is used.
22.2.2.
MAC 802.3 Ethernet packet description
Data communication of MAC can use two frame formats:
Basic MAC frame format.
Tagged MAC frame format (extension of the basic MAC frame format).
Figure 22-2. MAC/Tagged MAC frame format
describes the structure of the frame (Basic
and Tagged) that includes the following fields:
Figure 22-2. MAC/Tagged MAC frame format
Preamble
SFD
Destination
address
Source
address
Length/
Type
MAC client
data
PAD
(option)
Frame
check
sequence
Preamble
SFD
Destination
address
Source
address
Length/
Type
MAC client
data
PAD
(option)
Frame
check
sequence
Length/type
=
802.1QTag
Type
Tag control
information
1 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0
User
priority(3-bit)
CFI(1-
bit)
LSB
MSB
7 bytes
1 bytes
6 bytes
6 bytes
46-1500 bytes
4 bytes
7 bytes
2 bytes
1 bytes
6 bytes
6 bytes
2 bytes
46-1500 bytes
4bytes
Qtag Prefix
4 bytes
MSB
LSB
VLAN identifier (VID, 12-bit)
byte transmission order
B
it
tr
a
n
s
m
is
s
io
n
o
rd
e
r
Basic Format
Tagged Format
Note:
The Ethernet controller transmits each byte at LSB first except FCS field.
CRC calculation data comes from all bytes in the frame except the Preamble and SFD domain.
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...