Microchip KSZ9563 Manual de Usario

Lee a continuación 📖 el manual en español para Microchip KSZ9563 (11 páginas) en la categoría No categorizado. Esta guía fue útil para 5 personas y fue valorada con 4.5 estrellas en promedio por 2 usuarios

Página 1/11
Author: Parthiv Pandya
Microchip Technology, Inc.
2017 Microchip Technology Inc. DS00002577A-page 1
INTRODUCTION
Microchip’s family of gigabit Ethernet switches have powerful capabilities that may be enabled using various methods
of configuration. Depending on the features needed in the network application, there are four primary methods to con-
figure these switches. This application note describes available switch configuration methods and options with their
associated trade-offs, allowing the developer to choose the best method for their application.
The following configuration options are available (applicable Microchip parts):
Configuration Straps (KSZ9896C, KSZ9897R, KSZ9897S)
Microcontroller Configuration (KSZ9897R, KSZ9897S)
Ethernet In-Band Access (IBA) Configuration (KSZ9897R, KSZ9897S)
Host Processor Configuration (KSZ8567R, KSZ9897R, KSZ9897S, KSZ9567R, KSZ9567S, KSZ9477S)
TABLE 1: AVAILABLE CONFIGURATION METHODS PER FEATURE - REFERENCE TABLE
Basic
Auto-Neg
EEE
VLAN
QoS
IEEE
1588 v2
802.1x
Security
ACL
PME
WoL
AVB
DLR/HSR
Config. Strap X X
8-bit MCU X X X X X X X X X X
IBA XXXXX X
Host Processor X X X X X X X X X X X X
Note: The user should take note of the difference between switch configuration mode and switch management
mode. Switch management mode provides the added ability to send and receive Ethernet frames during
normal operation. Switch configuration mode does not provide this ability.
CONFIGURATION STRAPS
The configuration strap option is a hardware method to configure the switch where pull-up or pull-down resistors are
used to set the logic level high or low on strapping pins of the switch. For example, the KSZ9896C has several strapping
pins with internal weak pull-up or pull-down resistors which allow the switch to operate in the unmanaged mode. A user
can add 1K to 10K external pull-up resistors on non-LED pins, or 750 to 1K pull-down resistors on LED strapping
pins to override the effect of the weak internal resistors.
The strapping pins exhibit very high impedance when the device is in reset. They are internally sampled at the rising
edge of the reset pin, RESET_N. Once the RESET_N pin is high, all of these pins become driven outputs.
The user must be aware that the internal pull-up/pull-down resistors are weak. Therefore, if the application board uses
any external pull-up or pull-down resistors, care must be taken. If an external processor is connected with a switch, the
processor should also be checked for internal pull-ups or pull-downs, and it may be necessary to add an external resistor
to reinforce the default internal resistor of the Microchip switch. The KSZ9xxx family’s datasheet lists all the strapping
pins, their functionalities and default values.
AN2577
Getting Started with Gigabit Ethernet Switch
Configuration Options
AN2577
DS00002577A-page 2 2017 Microchip Technology Inc.
An unmanaged Ethernet switch allows a quick and easy commissioning of the Ethernet network. A wide range of appli-
cations, including industrial control applications, can benefit tremendously from adding an unmanaged Ethernet switch,
as it reduces the cost and complexity for the Ethernet network.
Unlike a managed switch, an unmanaged Ethernet switch does not require any external microcontroller, microprocessor
or SoC to manage its functions. It can easily be configured using strap-in options of the switch. Because of its ease of
use it is also known as a “plug and play” device.
Example Configuration
The Figure 1 example circuit details the KSZ9896C switch in unmanaged mode using configuration straps. The circuit
enables auto-negotiation and the SPI interface (to access the internal registers for debugging purposes), sets port 6 to
100Mbps RMII mode. It can be seen from the datasheet table that apart from configuring port 6 in RMII mode and select-
ing the 100Mbps port 6 speed, the remaining options are set by default. Therefore, a user only needs to use external
pull-up resistors as shown in the Table 2.
FIGURE 1: EXAMPLE CONFIGURATION CIRCUIT
KSZ9896C
10KOhm
RXD6_2
RXD6_0
VDDIO
10KOhm
VDDIO
TABLE 2: CONFIGURATION EXAMPLE
PIN NUMBER CONFIGURATION
STRAP PIN DESCRIPTION
62, 63 RXD6_3, RXD6_2 Port 6 Mode
01: RMII
Note: RXD6_3 includes an internal pull-down resistor.
65 RXD6_0 Port 6 Speed Select
1: 100Mbps Mode
Note: If Port 6 is configured for MII or RMII, set the speed to
100Mbps.
2017 Microchip Technology Inc. DS00002577A-page 3
AN2577
MICROCONTROLLER CONFIGURATION
In this switch configuration method, the switch’s serial bus such as, SPI or I
2C is connected to a small microcontroller
to configure its internal functions. The switch acts as a I
2C slave device in the system. Using this serial bus, the micro-
controller writes configuration registers during power up of the device, as described in the management interface portion
of the data sheet. Configuration strap pins are used to determine the interface mode the switch operates in. For exam-
ple, in the KSZ9897R, the LED4_1 and LED3_1 pins decide the configuration interface:
LED4_1 LED3_1 = 01 = I2C Interface Mode
LED4_1 LED3_1 = 1X = SPI Slave Mode
In this method, the serial interface provides access to the switch and PHY access registers. The serial interface pro-
vides access to the switch and PHY access registers. Between these two interfaces, SPI is the fastest speed. For exam-
ple, the KSZ9897 supports up to a 50 MHz bus speed in SPI mode, whereas it only supports a 400Kb bus speed in I
2C
mode.
Example Configuration
In this example, the switch’s VLAN will be enabled via the SPI or I
2C interface. Figure 2 3 and Figure detail the example
circuits for SPI and I2C interfaces, respectively. To enable the VLAN, the user must write the following register:
Switch Lookup Engine Control 0 Register: Address 0x0310, bit 7 = 1b
FIGURE 2: SPI INTERFACE CONNECTIONS WITH MCU
SPIInterface
10K
VDDIO
StraptoenableSPI
MCU KSZ9897R
SCL
SDI
SDO
SCS_N
SCL
SDO
SDI
SCS_N
10K
VDDIO
1K – 4.7K
LED4_1

Especificaciones del producto

Marca: Microchip
Categoría: No categorizado
Modelo: KSZ9563

¿Necesitas ayuda?

Si necesitas ayuda con Microchip KSZ9563 haz una pregunta a continuación y otros usuarios te responderán




No categorizado Microchip Manuales

No categorizado Manuales

Últimos No categorizado Manuales