dp83902a National Semiconductor Corporation, dp83902a Datasheet - Page 22

no-image

dp83902a

Manufacturer Part Number
dp83902a
Description
St-nictm Serial Network Interface Controller For Twisted Pair
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
dp83902aV
Quantity:
5 510
Part Number:
dp83902aV
Manufacturer:
NS
Quantity:
16
Part Number:
dp83902aV
Manufacturer:
ST
0
Part Number:
dp83902aV
Manufacturer:
NS/国半
Quantity:
20 000
Part Number:
dp83902aV/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
dp83902aV/NOPB
Manufacturer:
NS/国半
Quantity:
20 000
Part Number:
dp83902aVJD
Manufacturer:
NSC
Quantity:
1 831
Part Number:
dp83902aVJG
Manufacturer:
NS
Quantity:
37
Part Number:
dp83902aVJG
Manufacturer:
NS/国半
Quantity:
20 000
Part Number:
dp83902aVJG/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
dp83902aVLJ
Manufacturer:
NS
Quantity:
2 500
Part Number:
dp83902aVLJ
Manufacturer:
RAYCHEM
Quantity:
2 500
Part Number:
dp83902aVLJ
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
dp83902aVLJ
Manufacturer:
NS/国半
Quantity:
20 000
8 0 Packet Transmission
The Local DMA is also used during transmission of a pack-
et Three registers control the DMA transfer during trans-
mission a Transmit Page Start Address Register (TPSR)
and the Transmit Byte Count Registers (TBCR0 1) When
the ST-NIC receives a command to transmit the packet
pointed to by these registers buffer memory data will be
moved into the FIFO as required during transmission The
ST-NIC will generate and append the preamble synch and
CRC fields
TRANSMIT PACKET ASSEMBLY
The ST-NIC requires a contiguous assembled packet with
the format shown The transmit byte count includes the
Destination Address Source Address Length Field and
Data It does not include preamble and CRC When trans-
mitting data smaller than 46 bytes the packet must be pad-
ded to a minimum size of 64 bytes The programmer is re-
sponsible for adding and stripping pad bytes
TRANSMISSION
Prior to transmission the TPSR (Transmit Page Start Regis-
ter) and TBCR0 TBCR1 (Transmit Byte Count Registers)
must be initialized To initiate transmission of the packet the
TXP bit in the Command Register is set The Transmit
Status Register (TSR) is cleared and the ST-NIC begins to
prefetch transmit data from memory (unless the ST-NIC is
currently receiving) If the interframe gap has timed out the
ST-NIC will begin transmission
CONDITIONS REQUIRED TO BEGIN TRANSMISSION
In order to transmit a packet the following three conditions
must be met
1 The Interframe Gap Timer has timed out the first 6 4 ms
2 At least one byte has entered the FIFO (This indicates
3 If a collision has been detected the backoff timer has
In typical systems the ST-NIC prefetchs the first burst of
bytes before the 6 4 ms timer expires The time during which
ST-NIC transmits preamble can also be used to load the
FIFO
Note If carrier sense is asserted before a byte has been loaded into the
COLLISION RECOVERY
During transmission the Buffer Management logic monitors
the transmit circuitry to determine if a collision has occurred
If a collision is detected the Buffer Management logic will
reset the FIFO and restore the Transmit DMA pointers for
retransmission of the packet The COL bit will be set in the
TSR and the NCR (Number of Collisions Register) will be
incremented If 15 retransmissions each result in a collision
the transmission will be aborted and the ABT bit in the TSR
will be set
Note NCR reads as zeroes if excessive collisions are encountered
TBCR0 1
Transmit
of the Interframe Gap
that the burst transfer has been started )
expired
Count
Byte
FIFO the ST-NIC will become a receiver
General Transmit Packet Format
Pad (If Data
Destination Address
Source Address
Type Length
Data
k
46 Bytes)
t
6 Bytes
6 Bytes
2 Bytes
46 Bytes
22
TRANSMIT PACKET ASSEMBLY FORMAT
The following diagrams describe the format for how packets
must be assembled prior to transmission for different byte
ordering schemes The various formats are selected in the
Data Configuration Register
BOS
This format is used with Series 32xxx or 808xx processors
BOS
This format is used with 680x0 type processors
BOS
This format is used with general 8-bit processors
Note All examples above will result in a transmission of a packet in order of
D15
D15
Destination Address 1
Destination Address 3
Destination Address 5
Destination Address 0
Destination Address 2
Destination Address 4
e
e
e
DA0 DA1 DA2 DA3
least significant bit first
DA
Source Address 1
Source Address 3
Source Address 5
Source Address 0
Source Address 2
Source Address 4
0 WTS
1 WTS
0 WTS
Type Length 1
Type Length 0
e
Destination Address
Data 1
Data 0
D1
e
e
e
1 in Data Configuration Register
1 in Data Configuration Register
0 in Data Configuration Register
Destination Address 0
Destination Address 1
Destination Address 2
Destination Address 3
Destination Address 4
Destination Address 5
Source Address 0
Source Address 1
Source Address 2
Source Address 3
Source Address 4
Source Address 5
D8 D7
D8 D7
bits within each byte will be transmitted
Destination Address 0
Destination Address 2
Destination Address 4
Destination Address 1
Destination Address 3
Destination Address 5
Source Address 0
Source Address 2
Source Address 4
Source Address 1
Source Address 3
Source Address 5
Type Length 0
Type Length 1
Data 0
Data 1
D0
D0
D0

Related parts for dp83902a