Electronic Components Datasheet Search
  English  ▼

X  

LAN89218 Datasheet(PDF) 29 Page - Microchip Technology

Part # LAN89218
Description  High-Performance Single-Chip 10/100 Ethernet Controller for Automotive Applications
PDF  148 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

LAN89218 Datasheet(HTML) 29 Page - Microchip Technology

Back Button LAN89218 Datasheet HTML 25Page - Microchip Technology LAN89218 Datasheet HTML 26Page - Microchip Technology LAN89218 Datasheet HTML 27Page - Microchip Technology LAN89218 Datasheet HTML 28Page - Microchip Technology LAN89218 Datasheet HTML 29Page - Microchip Technology LAN89218 Datasheet HTML 30Page - Microchip Technology LAN89218 Datasheet HTML 31Page - Microchip Technology LAN89218 Datasheet HTML 32Page - Microchip Technology LAN89218 Datasheet HTML 33Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 148 page
background image
 2008-2015 Microchip Technology Inc.
DS60001255B-page 29
LAN89218
3.7
Host Bus Operations
3.7.1
32-BIT VS. 16-BIT HOST BUS WIDTH OPERATION
The LAN89218 can be configured to communicate with the host bus via either a 32-bit or a 16-bit bus. The external
strap D32/nD16 (on the EEDIO pin) is used to select between the two modes. 32-bit mode is the native environment
for the LAN89218 Ethernet controller and no special requirements exist for communication in this mode. However,
when this part is used in the 16-bit mode, two writes or reads must be performed back to back to properly
communicate.
The bus width is set by strapping the EEDIO pin; this setting can be read from bit 2 of the HW_CFG—Hardware
Configuration Register.
3.7.2
16-BIT 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 LAN89218 disregards the
transfer.
3.7.3
16-BIT 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 LAN89218 will reset its read counters and restart a new cycle on the
next read. The Upper 16 data pins (D[31:16]) are not driven by the LAN89218 in 16-bit mode. These pins have
internal pull-downs and the signals are left in a high-impedance state.
3.7.4
MIXED ENDIAN SUPPORT
In order to allow flexibility with a range of designs, the LAN89218 supports dynamic bus endianness selection.
Support for big and little endian host byte ordering is provided based on the END_SEL signal. This signal has the
same timing characteristics as FIFO_SEL and the address line input pins. When END_SEL is low, bus accesses
utilize little endian byte ordering. When END_SEL is high, bus accesses utilize big endian byte ordering. In a typical
application, END_SEL may be connected to a high-order address line, making the endian selection address-based.
This highly flexible interface provides mixed endian access for registers and memory for both PIO and host DMA
access. For example, PIO transfers to/from the host control and status registers can utilize a different byte ordering
than host DMA transactions to/from the receive and transmit data FIFOs.
In addition to mixed endian support, the LAN89218 provides a word swap function, as described in Section 3.7.5.
The word swap function combined with the endianness select bits described above determines how the Data/Status
FIFOs and CSR host access byte ordering is applied. Table 3-9 describes the various operation modes of the
endianness and word swap ordering logic. Figure 3-10 illustrates the FIFO access byte ordering under various
endianness and word swap settings. Refer to Section 3.7.5 for additional details.
3.7.5
WORD SWAP FUNCTION
In addition to mixed endian functionality, the LAN89218 supports a Word Swap Function when its Host Bus Interface
is configured to operate in 16-bit mode. This feature is controlled by the Word Swap register, which is described in
Section 5.3.17. 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.
Logic within LAN89218 reorders bytes based on the host bus width (D32/nD16 strap), the setting of the
WORD_SWAP register (16-bit mode of operation only), the state of the endian select signal (END_SEL), and the
Note:
All internal buses of the LAN89218 are 32-bits wide with little endian byte ordering.
Note:
The Word Swap register only takes effect when the LAN89218 is configured to operate in 16-bit mode. In
32-bit mode, this register is ignored and the upper data bits, D[31:16], are always mapped to the high-order
word, and the lower data bits, D[15:0], are always mapped to the low-order word.



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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


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