
. . . . .
E T H E R N E T C O M M U N I C A T I O N M O D U L E
Transmit packet processor
www.digiembedded.com
269
Receive buffer
descriptor field
definitions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
T r a n s m i t p a c k e t p r o c e s s o r
Transmit frames are transferred from system memory to the transmit packet
processor into a 256-byte TX_FIFO. Because various parts of the transmit frame can
Field
Description
W
WRAP
bit, which, when set, tells the
RX_RD
logic that this is the last buffer
descriptor in the ring. In this situation, the next buffer descriptor is found using the
appropriate Buffer Descriptor Pointer register.
When the
WRAP
bit is not set, the next buffer descriptor is found using an offset of
0x10
from the current buffer descriptor pointer.
I
When set, tells the
RX_RD
logic to set
RXBUFC
in the Ethernet Interrupt Status
register after the frame has been transferred to system memory.
E
ENABLE
bit, which, when set, tells the
RX_RD
logic that this buffer descriptor is
enabled. When a new frame is received, pools that do not have the
ENABLE
bit set
in their next buffer descriptor are skipped when deciding in which pool to put the
frame.
The receive processor can use up to four different-sized receive buffers in system
memory.
Note:
To enable a pool that is currently disabled, change the
ENABLE
bit from 0 to 1 and
reinitialize the buffer descriptors pointed to by the Buffer Descriptor Pointer
register:
1
Set the ERXINIT bit in the Ethernet General Control Register 1.
7
Wait for RXINIT to be set in the Ethernet General Status register.
Change the ENABLE bit only while the receive packet processor is idle.
Buffer pointer
32-bit pointer to the start of the buffer in system memory. This pointer must be
aligned on a 32-bit boundary.
Status
Lower 16 bits of the Ethernet Receive Status register. The status is taken from the
receive status FIFO and added to the buffer descriptor after the last word of the
frame is written to system memory.
F
When set, indicates the buffer is full. The
RX_RD
logic sets this bit after filling a
buffer. The system software clears this bit, as required, to free the buffer for future
use. When a new frame is received, pools that have the F bit set in their next buffer
descriptor are skipped when deciding in which pool to put the frame.
Buffer length
This is a dual use field:
When the buffer descriptor is read from system memory, buffer length
indicates the maximum sized frame, in bytes, that can be stored in this buffer
ring.
When the
RX_RD
logic writes the descriptor back from the receive status FIFO
into system memory at the end of the frame, the buffer length is the actual
frame length, in bytes.Only the lower 11 bits of this field are valid, since the
maximum legal frame size for Ethernet is 1522 bytes.
Summary of Contents for NS9215
Page 1: ...NS9215 Hardware Reference 90000847_C Release date 10 April 2008...
Page 3: ......
Page 4: ......
Page 26: ...26 Hardware Reference NS9215...
Page 44: ...P I N O U T 26 5 System clock 44 Hardware Reference NS9215 System clock drawing...
Page 52: ...P I N O U T 26 5 Power and ground 52 Hardware Reference NS9215...
Page 80: ...I O C O N T ROL M O D U L E Memory Bus Configuration register 80 Hardware Reference NS9215...
Page 136: ...WOR KI N G W I TH T H E C P U Noncachable instruction fetches 136 Hardware Reference NS9215...
Page 202: ...S Y S T E M C O N T RO L M OD U L E RTC Module Control register 202 Hardware Reference NS9215...
Page 354: ...E X T E R N A L D M A DMA Peripheral Chip Select register 354 Hardware Reference NS9215...
Page 472: ...R E A L TI M E C L O C K M O D U L E General Status register 472 Hardware Reference NS9215...
Page 512: ...TI M I NG Clock timing 512 Hardware Reference NS9215...
Page 515: ...PA CKA GING Processor Dimensions www digiembedded com 515...
Page 516: ...PA CKA GING Processor Dimensions 516 Hardware Reference NS9215...