OM11077 NXP Semiconductors, OM11077 Datasheet - Page 242

no-image

OM11077

Manufacturer Part Number
OM11077
Description
MODULE DIMM LPC2478 ARM7
Manufacturer
NXP Semiconductors
Datasheets

Specifications of OM11077

Accessory Type
Module Card
For Use With/related Products
ARM-57TS-LPC2478
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
568-4742
NXP Semiconductors
UM10237_4
User manual
Fig 28. Receive descriptor memory layout
RxDescriptorNumber
RxDescriptor
1
2
3
4
5
Receive descriptors are stored in an array in memory. The base address of the array is
stored in the RxDescriptor register, and should be aligned on a 4 byte address boundary.
The number of descriptors in the array is stored in the RxDescriptorNumber register using
a minus one encoding style e.g. if the array has 8 elements the register value should be 7.
Parallel to the descriptors there is an array of statuses. For each element of the descriptor
array there is an associated status field in the status array. The base address of the status
array is stored in the RxStatus register, and must be aligned on an 8 byte address
boundary. During operation (when the receive datapath is enabled) the RxDescriptor,
RxStatus and RxDescriptorNumber registers should not be modified.
Two registers, RxConsumeIndex and RxProduceIndex, define the descriptor locations
that will be used next by hardware and software. Both registers act as counters starting at
0 and wrapping when they reach the value of RxDescriptorNumber. The RxProduceIndex
contains the index of the descriptor that is going to be filled with the next frame being
received. The RxConsumeIndex is programmed by software and is the index of the next
descriptor that the software receive driver is going to process. When RxProduceIndex ==
RxConsumeIndex, the receive buffer is empty. When RxProduceIndex ==
RxConsumeIndex -1 (taking wraparound into account), the receive buffer is full and newly
received data would generate an overflow unless the software driver frees up one or more
descriptors.
CONTROL
CONTROL
CONTROL
CONTROL
CONTROL
CONTROL
PACKET
PACKET
PACKET
PACKET
PACKET
PACKET
Rev. 04 — 26 August 2009
DATA BUFFER
DATA BUFFER
DATA BUFFER
DATA BUFFER
DATA BUFFER
DATA BUFFER
RxStatus
Chapter 11: LPC24XX Ethernet
StatusHashCRC
StatusHashCRC
StatusHashCRC
StatusHashCRC
StatusHashCRC
StatusHashCRC
StatusInfo
StatusInfo
StatusInfo
StatusInfo
StatusInfo
StatusInfo
UM10237
© NXP B.V. 2009. All rights reserved.
242 of 792

Related parts for OM11077