数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

DP8390D 数据表(PDF) 10 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
部件名 DP8390D
功能描述  NIC Network Interface Controller
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  NSC [National Semiconductor (TI)]
网页  http://www.national.com
标志 NSC - National Semiconductor (TI)

DP8390D 数据表(HTML) 10 Page - National Semiconductor (TI)

Back Button DP8390D Datasheet HTML 6Page - National Semiconductor (TI) DP8390D Datasheet HTML 7Page - National Semiconductor (TI) DP8390D Datasheet HTML 8Page - National Semiconductor (TI) DP8390D Datasheet HTML 9Page - National Semiconductor (TI) DP8390D Datasheet HTML 10Page - National Semiconductor (TI) DP8390D Datasheet HTML 11Page - National Semiconductor (TI) DP8390D Datasheet HTML 12Page - National Semiconductor (TI) DP8390D Datasheet HTML 13Page - National Semiconductor (TI) DP8390D Datasheet HTML 14Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 56 page
background image
70 Packet Reception (Continued)
then the packet will essentially be lost and re-transmit-
ted only after a time-out takes place in the upper level
software By determining that the packet was lost at the
driver level a transmit command can be reissued to the
NIC once the overflow routine is completed (as in step
11) Also it is possible for the NIC to defer indefinitely
when it is stopped on a busy network Step 5 also allevi-
ates this problem Step 5 is essential and should not be
omitted from the overflow routine in order for the NIC to
operate correctly
6 Place the NIC in either mode 1 or mode 2 loopback This
can be accomplished by setting bits D2 and D1 of the
Transmit Configuration Register to ‘‘01’’ or ‘‘10’’ re-
spectively
7 Issue the START command to the NIC This can be ac-
complished by writing 22H to the Command Register
This is necessary to activate the NIC’s Remote DMA
channel
8 Remove one or more packets from the receive buffer
ring
9 Reset the overwrite warning (OVW overflow) bit in the
Interrupt Status Register
10 Take the NIC out of loopback This is done by writing the
Transmit Configuration Register with the value it con-
tains during normal operation (Bits D2 and D1 should
both be programmed to 0)
11 If the ‘‘Resend’’ variable is set to a 1 reset the ‘‘Re-
send’’ variable and reissue the transmit command This
is done by writing a value of 26H to the Command Reg-
ister If the ‘‘Resend’’ variable is 0 nothing needs to be
done
Note
If Remote DMA is not being used the NIC does not need to be started
before packets can be removed from the receive buffer ring Hence
step 8 could be done before step 7
END OF PACKET OPERATIONS
At the end of the packet the NIC determines whether the
received packet is to be accepted or rejected It either
branches to a routine to store the Buffer Header or to anoth-
er routine that recovers the buffers used to store the packet
SUCCESSFUL RECEPTION
If the packet is successfully received as shown the DMA is
restored to the first buffer used to store the packet (pointed
Termination of Received PacketPacket Accepted
TLF8582 – 10
to by the Current Page Register) The DMA then stores the
Receive Status a Pointer to where the next packet will be
stored (Buffer 4) and the number of received bytes Note
that the remaining bytes in the last buffer are discarded and
reception of the next packet begins on the next empty 256-
byte buffer boundary The Current Page Register is then
initialized to the next available buffer in the Buffer Ring (The
location of the next buffer had been previously calculated
and temporarily stored in an internal scratchpad register)
BUFFER RECOVERY FOR REJECTED PACKETS
If the packet is a runt packet or contains CRC or Frame
Alignment errors it is rejected The buffer management log-
ic resets the DMA back to the first buffer page used to store
the packet (pointed to by CURR) recovering all buffers that
had been used to store the rejected packet This operation
will not be performed if the NIC is programmed to accept
either runt packets or packets with CRC or Frame Alignment
errors The received CRC is always stored in buffer memory
after the last byte of received data for the packet
Termination of Received PacketPacket Rejected
TLF8582 – 13
Error Recovery
If the packet is rejected as shown the DMA is restored by
the NIC by reprogramming the DMA starting address point-
ed to by the Current Page Register
REMOVING PACKETS FROM THE RING
Packets are removed from the ring using the Remote DMA
or an external device When using the Remote DMA the
Send Packet command can be used This programs the Re-
mote DMA to automatically remove the received packet
pointed to by the Boundary Pointer At the end of the trans-
fer the NIC moves the Boundary Pointer freeing additional
buffers for reception The Boundary Pointer can also be
moved manually by programming the Boundary Register
Care should be taken to keep the Boundary Pointer at least
one buffer behind the Current Page Pointer
The following is a suggested method for maintaining the
Receive Buffer Ring pointers
1 At initialization set up a software variable (next
pkt) to
indicate where the next packet will be read At the begin-
ning of each Remote Read DMA operation the value of
next
pkt will be loaded into RSAR0 and RSAR1
2 When initializing the NIC set
BNDRY e PSTART
CURR e PSTART a 1
next
pkt e PSTART a 1
10



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com