DP83934CVUL20 National Semiconductor, DP83934CVUL20 Datasheet - Page 19

no-image

DP83934CVUL20

Manufacturer Part Number
DP83934CVUL20
Description
Manufacturer
National Semiconductor
Datasheet

Specifications of DP83934CVUL20

Operating Supply Voltage (typ)
5V
Operating Supply Voltage (min)
4.75V
Operating Supply Voltage (max)
5.25V
Operating Temperature Classification
Commercial
Mounting
Surface Mount
Pin Count
160
Lead Free Status / RoHS Status
Not Compliant
3 0 Functional Description
Threshold Logic enables the Buffer Management Engine to
read a programmed number of 16- or 32-bit words (depend-
ing upon the selected data width) from the FIFO and trans-
fer them to the system interface (the system memory) using
DMA The threshold is reached when the number of bytes in
the receive FIFO is greater than the value of the threshold
For example if the threshold is 4 words (8 bytes) then the
Threshold Logic will not cause the Buffer Management En-
gine to write to memory until there are more than 8 bytes in
the FIFO
The Buffer Management Engine reads either the upper or
lower half (16 bits) of the FIFO in 16-bit mode or reads the
complete long word (32 bits) in 32-bit mode If after the
transfer is complete the number of bytes in the FIFO is less
than the threshold then the SONIC-T is done This is al-
ways the case when the SONIC-T is in Empty Fill Mode If
however for some reason (e g latency on the bus) the
number of bytes in the FIFO is still greater than the thresh-
old value the Threshold Logic will cause the Buffer Man-
agement Engine to do a DMA request to write to memory
again This latter case is usually only possible when the
SONIC-T is in Block Mode
When in Block Mode each time the SONIC-T requests the
bus only a number of bytes equal to the threshold value will
be transferred The Threshold Logic continues to monitor
the number of bytes written in from the deserializer and en-
ables the Buffer Management Engine every time the thresh-
old has been reached This process continues until the end
of the packet
Once the end of the packet has been reached the serializer
will fill out the last word (16-bit mode) or long word (32-bit
mode) if the last byte did not end on a word or long word
boundary respectively The fill byte will be 0FFh Immediate-
ly after the last byte (or fill byte) in the FIFO the received
packets status will be written into the FIFO The entire pack-
et including any fill bytes and the received packet status will
be buffered to memory When a packet is buffered to mem-
ory by the Buffer Management Engine it is always taken
from the FIFO in words or long words and buffered to mem-
ory on word (16-bit mode) or long word (32-bit mode)
boundaries Data from a packet cannot be buffered on odd
byte boundaries for 16-bit mode and odd word boundaries
for 32-bit mode (see Section 5 3) For more information on
the receive packet buffering process see Section 5 4
(Continued)
FIGURE 3-8 Receive FIFO
19
3 5 2 Transmit FIFO
Similar to the Receive FIFO the Transmit FIFO (Figure 3-9)
serves as a buffer between the 16 32-bit system interface
and the network (serializer) interface The Transmit FIFO is
also arranged as a 4 byte by 8 deep memory array (8 long
words or 32 bytes) controlled by three sections of logic
Before transmission can begin the Buffer Management En-
gine fetches a programmed number of 16- or 32-bit words
from memory and transfers them to the FIFO The Buffer
Management Engine writes either the upper or lower half
(16 bits) into the FIFO for 16-bit mode or writes the com-
plete long word (32 bits) during 32-bit mode
The Threshold Logic monitors the number of bytes as they
are written into the FIFO When the threshold has been
reached the Transmit Byte Ordering state machine begins
reading bytes from the FIFO to produce a continuous byte
stream for the serializer The threshold is met when the
number of bytes in the FIFO is greater than the value of the
threshold For example if the transmit threshold is 4 words
(8 bytes) the Transmit Byte Ordering state machine will not
begin reading bytes from the FIFO until there are 9 or more
bytes in the buffer The Buffer Management Engine contin-
ues replenishing the FIFO until the end of the packet It
does this by making multiple DMA requests to the system
interface Whenever the number of bytes in the FIFO is
equal to or less than the threshold value the Buffer Man-
agement Engine will do a DMA request If Block Mode is
set then after each request has been granted by the sys-
tem the Buffer Management Engine will transfer a number
of bytes equal to the threshold value into the FIFO If Emp-
ty Fill Mode is set the FIFO will be completely filled in one
DMA request
Since data may be organized in big or little endian byte or-
dering format the Transmit Byte Ordering state machine
uses one of four read pointers to locate the proper byte
within the 4 byte wide FIFO It also determines the valid
number of bytes in the FIFO For packets which begin or
end at odd bytes in the FIFO the Buffer Management En-
gine writes extraneous bytes into the FIFO The Transmit
Byte Ordering state machine detects these bytes and only
transfers the valid bytes to the serializer The Buffer Man-
agement Engine can read data from memory on any byte
boundary (see Section 5 3) See Section 5 5 for more infor-
mation on transmit buffering
TL F 11719– 11

Related parts for DP83934CVUL20