pnx1500 NXP Semiconductors, pnx1500 Datasheet - Page 700

no-image

pnx1500

Manufacturer Part Number
pnx1500
Description
Pnx15xx Series Connected Media Processor
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pnx1500E
Manufacturer:
NORTEL
Quantity:
1 000
Philips Semiconductors
Volume 1 of 1
PNX15XX_SER_3
Product data sheet
For each of the two transmit channels, the transmit descriptors are stored in an array
in memory. The base address of the non-real-time transmit descriptor array is stored
in the TxDescriptor register. Likewise for real-time transmissions, the descriptor array
base address is stored in the TxRtDescriptor register. The number of descriptors in
the array is stored in the Tx(Rt)DescriptorNumber register using minus-one encoding,
for example, if the array has 8 elements the register value should be 7.
Parallel to the descriptors, there is an array for status. 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 Tx(Rt)Status register. During operation,
that is, when the Transmit Datapath is enabled, the Tx(Rt)Descriptor, Tx(Rt)Status
and Tx(Rt)DescriptorNumber registers should not be modified. The base address of
the descriptor array, as stored in the Tx(Rt)Descriptor register, must be aligned on a
16-byte address boundary. The status array base address, as stored in the
Tx(Rt)Status register, must be aligned on an 8-byte address boundary.
The TxConsumeIndex and TxProduceIndex registers are counters that start at 0 and
wrap back to 0 when they equal TxDescriptorNumber, which indicates the number of
descriptors that have been processed in the non-real-time transmit channel. The
TxRtConsumeIndex and TxRtProduceIndex perform the same function for the
real-time channel. The Tx(Rt)ProduceIndex contains the index of the next descriptor
that is going to be filled by the software driver. The Tx(Rt)ConsumeIndex contains the
index of the next descriptor that is going to be transmitted by the hardware. If
Tx(Rt)ProduceIndex == Tx(Rt)ConsumeIndex, then the transmit buffer is empty. If
Tx(Rt)ProduceIndex == Tx(Rt)ConsumeIndex – 1, then the transmit buffer is full, and
the software driver cannot add new descriptors unless the hardware has transmitted
some packets and freed up some descriptors.
As shown in
bytes) of memory. Likewise each Transmit Status Structure takes two words (8 bytes)
in memory. Each Transmit Descriptor Structure consists of a Packet word that points
to the data buffer containing transmit data, a Control word and a TimeStamp word
used for real-time transmission. For non-real-time transmission, the TimeStamp word
is ignored. The Pad word is always ignored and is just used to align the descriptors on
a 16-byte boundary. The Packet field has a zero address offset, the control field has a
4-byte address offset, the time-stamp field has an 8 byte offset with respect to the
descriptor address.
Table 8: Transmit Descriptor Fields
Name
Packet
Control
TimeStam
p
Pad
Address
Offset
0x0
0x4
0x8
0xC
Table
8, each Transmit Descriptor Structure takes four word locations (16
Rev. 3 — 17 March 2006
Siz
e
31:0 Base address of the data buffer containing transmit data.
31:0 Control information, see
31:0 Time stamp for real-time transmission. This time stamp
31:0 Unused word to pad to 8 byte boundary.
Chapter 23: LAN100 — Ethernet Media Access Controller
Function
indicates the moment when this packet is to be transmitted.
Table
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
9.
PNX15xx Series
23-31

Related parts for pnx1500