| Electronic Components Datasheet Search |
|
DP83936AVF Datasheet(PDF) 32 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
DP83936AVF Datasheet(HTML) 32 Page - National Semiconductor (TI) |
|
32 / 104 page ![]() 50 Buffer Management (Continued) TLF12597 – 24 FIGURE 5-13 Transmit Descriptor Area 5511 Transmit Configuration The TXpktconfig field allows the SONIC-T to be pro- grammed into one of the transmit modes before each trans- mission At the beginning of each transmission the SONIC-T reads this field and loads the PINTR POWC CRCI and EXDIS bits into the Transmit Control Register (TCR) The configuration bits in the TCR correspond directly with the bits in the TXpktconfig field as shown in Figure 5- 14 See Section 644 for the description on the TCR 15 14 13 12 11 10 9 8 PINTR POWC CRCI EXDIS X X X X 7654321 0 XXXXXXX X Note x e don’t care FIGURE 5-14 TXpktconfig Field 5512 Transmit Status At the end of each transmission the SONIC-T writes the status bits (k100l) of the Transmit Control Register (TCR) and the number of collisions experienced during the trans- mission into the TXpktstatus field ( Figure 5-15 res e re- served) Bits NC4 – NC0 indicate the number of collisions where NC4 is the MSB See Section 644 for the descrip- tion of the TCR 15 14 13 12 11 10 9 8 NC4 NC3 NC2 NC1 NC0 EXD DEF NCRS 76 5 4 3 2 1 0 CRSL EXC OWC res PMB FU BCM PTX FIGURE 5-15 TXpktstatus Field 552 Transmit Buffer Area (TBA) The TBA contains the fragments of packets that are defined by the descriptors in the TDA A packet can consist of a single fragment or several fragments depending upon the fragment count in the TDA descriptor The fragments also can reside anywhere within the full 32-bit address range and be aligned to any byte boundary When an odd byte boundary is given the SONIC-T automatically begins read- ing data at the corresponding word boundary in 16-bit mode or a long word boundary in 32-bit mode The SONIC-T ig- nores the extraneous bytes which are written into the FIFO during odd byte alignment fragments The minimum allowed fragment size is 1 byte Figure 5-12 shows the relationship between the TDA and the TBA for single and multi-frag- mented packets 553 Preparing To Transmit All fields in the TDA descriptor and the Current Transmit Descriptor Address (CTDA) register of the SONIC-T must be initialized before the Transmit Command (setting the TXP bit in the Command register) can be issued If more than one packet is queued the descriptors must be linked together with the TXpktlink field The last descriptor must have EOL e 1 and all other descriptors must have EOL e 0 To begin transmission the system loads the address of the first TXpktstatus field into the CTDA register Note that the up- per 16-bits of address are loaded in the Upper Transmit Descriptor (UTDA) register The user performs the following transmit initialization 1 Initialize the TDA 2 Load the CTDA register with the address of the first trans- mit descriptor 3 Issue the transmit command Note that if the Source Address of the packet being trans- mitted is not in the CAM the Packet Monitored Bad (PMB) bit in the TXpxtstatus field will be set (see Section 644) 5531 Transmit Process When the Transmit Command (TXP e 1 in the Command register) is issued the SONIC-T fetches the control informa- tion in the TDA descriptor loads its appropriate registers (shown below) and begins transmission (See Section 62 for register mnemonics) TCR wTXpktconfig TPS wTXpktpkt size TFC wTXpktfrag count TSA0 wTXpktfrag ptr0 TSA1 wTXpktfrag ptr1 TFS wTXpktfrag size CTDA wTXpktlink (CTDA is loaded after all fragments have been read and successfully transmitted If the halt transmit command is is- sued (HTX bit in the Command register is set) the CTDA register is not loaded) During transmission the SONIC-T reads the packet descrip- tor in the TDA and transmits the data from the TBA If TXpktfrag count is greater than one the SONIC-T after finishing transmission of the fragment fetches the next TXpktfrag ptr01 and TXpktfrag size fields and transmits the next fragment This process continues until all frag- ments of a packet are transmitted At the end of packet transmission status is written in to the TXpktstatus field The SONIC-T then reads the TXpktlink field and checks if EOL e 0 If it is ‘‘0’’ the SONIC-T fetches the next descrip- tor and transmits the next packet If EOL e 1 the SONIC-T generates a ‘‘Transmission Done’’ indication in the Interrupt Status register and resets the TXP bit in the Command reg- ister In the event of a collision the SONIC-T recovers its pointer in the TDA and retransmits the packet up to 15 times The SONIC-T maintains a copy of the CTDA register in the Tem- porary Transmit Descriptor Address (TTDA) register http www nationalcom 32 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |