Two Port 10/100 Managed Ethernet Switch with
Datasheet
Chapter 8 Host Bus Interface (HBI)
8.1Functional Overview
The Host Bus Interface (HBI) module provides a
The following is an overview of the functions provided by the HBI:
Asynchronous
Host data bus endianess control: The HBI supports dynamic selection of big and little endian host byte ordering based on the END_SEL input pin. This highly flexible interface provides mixed endian access for registers and memory.
Direct FIFO access modes: When the FIFO_SEL input pin is high during host access, all host write operations are to the TX data FIFO and all host read operations are from the RX data FIFOs. This feature facilitates operation with host DMA controllers that do not support FIFO operations.
System CSR’s: The HBI allows for configuration and monitoring of the various LAN9311/LAN9311i functions through the System Control and Status Registers (CSRs). These registers are accessible to the host via the Host Bus Interface and allow direct (and indirect) access to all the LAN9311/LAN9311i functions. For a full list of all System CSR’s and their descriptions, refer to Section 14.2, "System Control and Status Registers".
Interrupt support: The HBI supports a variety of interrupt sources. Individual interrupts can be monitored and enabled/disabled via registers within the System CSRs for output on the IRQ pin. For more information on interrupts, refer to Chapter 5, "System Interrupts," on page 49.
For a list of all HBI related pins, refer to Table 3.4 on page 30 in Chapter 3, Pin Description and Configuration.
8.2Host Memory Mapping
The host memory map has two unique modes: normal operation mode, and direct FIFO access mode. During normal operation, the base address decode map is as described in Figure 14.1 on page 167, allowing access to the full range of System Management CSRs and the TX/RX Data and Status FIFOs. This is the default mode of operation. The second mode of operation is the direct FIFO access mode. In direct FIFO access mode, all host write operations are to the TX Data FIFO and all host read operations are from the RX Data FIFO. Refer to Section 14.1.3, "Direct FIFO Access Mode," on page 168 for additional information.
8.3Host Data Bus
The host data bus is
Note: When accessing the device, the pair of cycles must be atomic. The first host bus cycle is performed to the low/high WORD and the second host bus cycle is performed to the high/low WORD forming a
SMSC LAN9311/LAN9311i | 99 | Revision 1.4 |
| DATASHEET |
|