Frame Transmission; Attribute For Receive Descriptor - NEC uPD98502 User Manual

Network controller
Table of Contents

Advertisement

Attribute & Size
31
30
29
28
27:25
24
23
22
21
20
19
18
17
16
15:0
Remark RUNT packet:
FRAGMENT packet: less than 64 bytes packet with either a bad FCS or a bad FCS with an
Dribble Error:

5.3.4 Frame transmission

The transmitter is designed to work with almost no intervention from the V
transmitter by setting the Transmit Descriptor Pointer Register (En_TXDPR) and the Transmit Enable (TXE), Ethernet
Controller fetches the first Transmit Data Buffer from Buffer Descriptor.
When the drain threshold level of the transmit FIFO was over, the MAC Controller Block transmit logic will start
transmitting the preamble sequence, the start frame delimiter, and then the frame information. However, the controller
defers the transmission if the line is busy (carrier sense is active). Before transmitting, the controller has to wait for
carrier sense to become inactive. Once carrier sense is inactive, the controller determines if carrier sense stays
inactive for IPGR1 bit time in En_IPGR register. If so, then the transmission begins after waiting an additional IPGR2 –
IPGR1 bit times (i.e., IPG is generally 96 bit times).
If a collision occurs during the transmit frame, Ethernet Controller follows the specified back-off procedures and
attempts to re-transmit the frame until the retry limit threshold is reached (RETRY in En_CLRT register). Ethernet
Controller holds the first 64 bytes of the transmit frame in the transmit FIFO, so that Ethernet Controller does not have
to be retrieved from system memory in case of a collision. This improves bus utilization and latency.
When Ethernet Controller reads the Transmit Buffer Descriptor, and it shows the end of data buffer "L bit is set to a
'1', Ethernet Controller adds the FCS after the end of data if CRCEN in En_MACC1 register is enable.
302
CHAPTER 5 ETHERNET CONTROLLER
Table 5-7. Attribute for Receive Descriptor
Bit Name
L
Last Descriptor
D/L
Data Buffer / Link Pointer
OWN
Owner bit 1:Ethernet Controller 0: V
Ethernet Controller sets this bit after it began to transfer
data into each descriptor.
DBWE
Data Buffer Write Error
FTYP
Frame Type[2:0]:
000 Broadcast Frame
001 Multicast Frame
010 Unicast Frame
011 VLAN Frame
100 PAUSE control frame
101 Control Frame (except pause)
11x Reserved for future use
OVRN
Overrun Error
0
Reserved for future use.
0
Reserved for future use.
RCV
Detects RXER
FC
False Carrier
CRCE
CRC Error
FAE
Frame Alignment Error
RFLE
Receive Frame Length Error
RXOK
Receive OK
SIZE
Receive Byte Count
less than 64 bytes packet with a good FCS
alignment error
When a dribble error is occurred, both of RXOK and FAD will be set.
Preliminary User's Manual S15543EJ1V0UM
Status
4120A
R
4120A. Once the V
4120A enables the
R
R

Advertisement

Table of Contents
loading

Table of Contents