| поискавой системы для электроныых деталей |
|
DP83901 датащи(PDF) 18 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
DP83901 датащи(HTML) 18 Page - National Semiconductor (TI) |
|
18 / 62 page ![]() 80 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 SNIC receives a command to transmit the packet point- ed to by these registers buffer memory data will be moved into the FIFO as required during transmission The SNIC will generate and append the preamble synch and CRC fields General Transmit Packet Format Transmit Destination Address 6 Bytes Byte Source Address 6 Bytes Count TypeLength 2 Bytes TBCR0 1 Data Pad (If Data k 46 Bytes) t 46 Bytes TRANSMIT PACKET ASSEMBLY The SNIC requires a contiguous assembled packet with the format shown The transmit byte count includes the Destina- tion Address Source Address Length Field and Data It does not include preamble and CRC When transmitting data smaller than 46 bytes the packet must be padded to a minimum size of 64 bytes The programmer is responsible 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 SNIC begins to prefetch transmit data from memory (unless the SNIC is cur- rently receiving) If the interframe gap has timed out the SNIC 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 64 ms of the Interframe Gap 2 At least one byte has entered the FIFO (This indicates that the burst transfer has been started) 3 If a collision had been detected then before transmission the packet time must have timed out In typical systems the SNIC prefetchs the first burst of bytes before the 64 ms timer expires The time during which SNIC transmits preamble can also be used to load the FIFO Note If carrier sense is asserted before a byte has been loaded into the FIFO the SNIC will become a receiver 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 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 D15 D8 D7 D0 Destination Address 1 Destination Address 0 Destination Address 3 Destination Address 2 Destination Address 5 Destination Address 4 Source Address 1 Source Address 0 Source Address 3 Source Address 2 Source Address 5 Source Address 4 TypeLength 1 TypeLength 0 Data 1 Data 0 BOS e 0 WTS e 1 in Data Configuration Register This format is used with Series 32xxx or 808xx processors D15 D8 D7 D0 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 TypeLength 0 TypeLength 1 Data 0 Data 1 BOS e 1 WTS e 1 in Data Configuration Register This format is used with 680x0 type processors D1 D0 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 BOS e 0 WTS e 0 in Data Configuration Register This format is used with general 8-bit processors Note All examples above will result in a transmission of a packet in order of DA0 DA1 DA3 bits within each byte will be transmitted least significant bit first DA e Destination Address 18 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |