| 数据搜索系统,热门电子元器件搜索 |
|
DP83902A 数据表(PDF) 19 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
DP83902A 数据表(HTML) 19 Page - National Semiconductor (TI) |
|
19 / 70 page ![]() 70 Packet Reception (Continued) Enabling the ST-NIC On An Active Network After the ST-NIC has been initialized the procedure for dis- abling and then re-enabling the ST-NIC on the network is similar to handling Receive Buffer Ring overflow as de- scribed previously 1 Program Command Register for page 0 (Command Reg- ister e 21H) 2 Initialize Data Configuration Register (DCR) 3 Clear Remote Byte Count Registers (RBCR0 RBCR1) 4 Initialize Receive Configuration Register (RCR) 5 Place the ST-NIC in LOOPBACK mode 1 or 2 (Transmit Configuration Register e 02H or 04H) 6 Initialize Receive Buffer Ring Boundary Pointer (BNDRY) Page Start (PSTART) and Page Stop (PSTOP) 7 Clear Interrupt Status Register (ISR) by writing 0FFH to it 8 Initialize Interrupt Mask Register (IMR) 9 Program Command Register for page 1 (Command Reg- ister e 61H) i Initialize Physical Address Registers (PAR0 – PAR5) ii Initialize Multicast Address Registers (MAR0 – MAR7) iii Initialize CURRent pointer 10 Put ST-NIC in START mode (Command Register e 22H) The local receive DMA is still not active since the ST-NIC is in LOOPBACK 11 Initialize the Transmit Configuration for the intended value The ST-NIC is now ready for transmission and reception END OF PACKET OPERATIONS At the end of the packet the ST-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 the DMA is restored to the first buffer used to store the packet (pointed 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 recep- tion of the next packet begins on the next empty 256-byte buffer boundary The Current Page Register is then initial- ized 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) Termination of Received PacketPacket Accepted TLF11157 – 14 19 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |