![GigaDevice Semiconductor GD32F10 Series Скачать руководство пользователя страница 677](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f10-series/gd32f10-series_user-manual_2225800677.webp)
GD32F10x User Manual
677
If the RxFIFO is configured in Store-and-Forward mode, the MAC can filter and discard
all error frames. But according to the configuration of FERF and FUF bit in
ENET_DMA_CTL register, RxFIFO can also receive and forward such error frame and
the frame that length is less than the minimum length.
If the RxFIFO is configured in Cut-Through mode, not all the error frames can be
dropped. Only when the start of frame (SOF) has not been read from RxFIFO and the
receive frame has been detected error status, the RxFIFO will discard the whole error
frame.
Receive status word
After receiving a complete frame, the MAC will analysis and record some state information
about the frame and receiving process. These detail status information will write back to the
receive descriptor and DMA status flag. Application can check these flags for upper protocol
implementation.
Note:
The value of frame length is 0 means that for some reason (such as FIFO overflow or
dynamically modify the filter value in the receiving process, resulting did not pass the filter,
etc), frame data is not written to FIFO completely.
MAC loopback mode
Often, loopback mode is used for testing and debugging hardware and software system for
application. The MAC loopback mode is enabled by setting the LBM bit in ENET_MAC_CFG
register. In this mode, the MAC transmitter sends the Ethernet frame to its own receiver. This
mode is disabled by default.
22.3.3.
MAC statistics counters: MSC
For knowing the statistics situation of transmitting and receiving frames, there is a group of
counters designed for gathering statistics data. These MAC counters are called statistics
counters (MSC).In Section ‘Register Description’, there is a detailed description of the function
of these registers.
When the transmit frame does not appear the following situation, it can be called ‘fine frame’
and MSC transmit counters will automatically update:
Frame underflow.
No carrier.
Lose of carrier.
Excessive deferral.
Late collision.
Excessive collision.
Jabber Timeout.
When the receiving frame does not appear the following situation, it can be called ‘fine frame’
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...