English
Language : 

MCF5272 Datasheet, PDF (258/550 Pages) Motorola, Inc – MCF5272 ColdFire Integrated Microprocessor Users Manual
Buffer Descriptors
Table 11-34. RxBD Field Descriptions (Continued)
Bits Name
Description
4
3
2
1
0
Offset
+2
Offset
+4
NO Rx non-octet-aligned frame. Written by the FEC. A frame that contained a number of bits not
divisible by 8 was received, and the CRC check that occurred at the preceding byte boundary
generated an error. Valid only if the L-bit is set. If this bit is set, the CR bit is not set.
SH Short frame. Written by the FEC. A frame length that was less than the minimum defined for
this channel was recognized. The FEC does not support SH and this bit is always cleared.
CR Rx CRC error. Written by the FEC. Contains a CRC error and is an integral number of octets in
length. Valid only if the L-bit is set.
OV Overrun. Written by the FEC. A receive FIFO overrun occurred during frame reception. If this
bit is set, the other status bits, M, LG, NO, SH, CR, and CL, lose their normal meaning and are
zero. Valid only if the L-bit is set.
TR Truncated receive frame. Written by the FEC. Set if the receive frame is truncated. Frames
greater than or equal to 2048 bytes are truncated.
Data Written by the FEC. Data length is the number of octets written by the FEC into this BD’s data
Length buffer if L = 0 (the value is equal to EMRBR), or the length of the frame including CRC if L = 1.
It is written by the FEC once as the BD is closed.
Rx Buffer Written by the user. The receive buffer pointer, which always points to the first location of the
Pointer associated data buffer, must always be evenly divisible by 16. The buffer must reside in
memory external to the FEC.
NOTE:
Anytime the software driver sets an E bit in a receive
descriptor, the driver should immediately write to RDAR.
11.6.1.2 Ethernet Transmit Buffer Descriptor
Data is presented to the FEC for transmission by arranging it in buffers referenced by the
channel’s TxBDs. The FEC confirms transmission or indicates error conditions using the
BDs to inform the host that the buffers have been serviced. In the TxBD, the user initializes
the R, W, L, and TC bits and the length (in bytes) in the first word and the buffer pointer in
the second words.
If L = 0, then the FEC sets the R bit to 0 in the first word of the BD when the buffer is sent
as a DMA. Status bits are not modified.
If L = 1, then the FEC sets the R bit to 0 and will modify the DEF, HB, LC, RL, RC, UN,
and CSL status bits in the first word of the BD after the buffer is sent as a DMA, and frame
transmission is complete.
15
14
13
12
11
10
9
8
7
6
5
+0 R TO1 W TO2 L TC DEF HB LC RL
RC
+2
DATA LENGTH
+4
Tx Data Buffer Pointer A[31–16]
+6
Tx Data Buffer Pointer A[15–0]
Figure 11-27. Transmit Buffer Descriptor (TxBD)
2
1
0
UN CSL
11-34
MCF5272 User’s Manual
MOTOROLA