| Electronic Components Datasheet Search |
|
LAN9220 Datasheet(PDF) 26 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
LAN9220 Datasheet(HTML) 26 Page - Microchip Technology |
|
26 / 142 page ![]() LAN9220 DS00002417A-page 26 2006-2017 Microchip Technology Inc. 3.7 Host Bus Operations 3.7.1 BUS WRITES The host processor is required to perform two contiguous 16-bit writes to complete a single DWORD transfer. This DWORD must begin and end on a DWORD address boundary (A[2] and higher, cannot change during a sixteen bit write). No ordering requirements exist. The processor can access either the low or high word first, as long as the next write is performed to the other word. If a write to the same word is performed, the LAN9220 disregards the transfer. 3.7.2 BUS READS The host processor is required to perform two consecutive 16-bit reads to complete a single DWORD transfer. This DWORD must begin and end on a DWORD address boundary (A[2] and higher, cannot change during a sixteen bit read). No ordering requirements exist. The processor can access either the low or high word first, as long as the next read is performed from the other word. If a read to the same word is performed, the data read is invalid and should be re-read. This is not a fatal error. The LAN9220 will reset its read counters and restart a new cycle on the next read. 3.7.3 MIXED ENDIAN SUPPORT In order to allow flexibility with a range of designs, theLAN9220 supports mixed endian Data FIFO accesses. The LAN9220 provides the ability to select Data FIFO endianess separately for accesses through the Data FIFO ports (addresses 00h-3Ch) or using the FIFO_SEL input signal. This is accomplished via the FPORTEND and FSELEND bits of the HW_CFG—Hardware Configuration Register, respectively. The FPORTEND bit determines the endianess of RX and TX Data FIFO host accesses made through the Data FIFO port addresses (00h-3Ch). When FPORTEND is cleared, Data FIFO port accesses utilize little endian byte ordering. When FPORTEND is set, Data FIFO port accesses utilize big endian byte ordering. The FSELEND bit determines the endianess of RX and TX Data FIFO host accesses when using the FIFO_SEL signal. When FSELEND is cleared, FIFO_SEL accesses utilize little endian byte ordering. When FSELEND is set, FIFO_SEL accesses utilize big endian byte ordering. In addition to mixed endian support, the LAN9220 provides a word swap function, as described in Section 3.7.4. The word swap function combined with the endianess select bits described above determines how the Data/Status FIFO’s and CSR host access byte ordering is applied. Table 3-8 describes the various operation modes of the endianess and word swap ordering logic. Figure 3-9 illustrates the FIFO access byte ordering under various endianess and word swap settings. Refer to Section 3.7.4 for additional details. 3.7.4 WORD SWAP FUNCTION In addition to mixed endian functionality, the LAN9220 supports a Word Swap Function. This feature is controlled by the Word Swap Register, which is described in Section 5.3.17, "WORD_SWAP—Word Swap Control," on page 84. This register affects how words on the data bus are written to or read from the Control and Status Registers and the Transmit and Receive Data/Status FIFOs. Both the word swap function and the mixed endian control bits contain the ability to change the byte ordering of host data path accesses. Figure 3-8 illustrates the order in which the word swap and endianess select logic is applied within the LAN9220. Logically, the endian control logic is applied after the word swap logic for write operations, and before the word swap logic for read operations. Note: CSR and status FIFO accesses are not affected by the FPORTEND and FSELEND endianess select bits. |
|
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 |