![Micrel KSZ8895ML Скачать руководство пользователя страница 12](http://html.mh-extra.com/html/micrel/ksz8895ml/ksz8895ml_user-manual_1784855012.webp)
KSZ8895ML Evaluation Board User’s Guide
Micrel Inc. Confidential
Page 12
3/26/2014
4.7 MDC/MDIO Interface for MIIM Registers mode and SMI mode
From MDC/MDIO interface to the KSZ8895ML, use a USB to MDC/MDIO converter that allows
accessing all of PHY related registers by MIIM mode and all of the KSZ8895ML registers by SMI
mode. The user can easily access the MDC/MDIO interface using a computer connected to the
evaluation board’s USB port interface. Micrel provides Windows based programs for the user to
evaluate for both MIIM and SMI. For the MIIM software to be used all of PHY related registers,
please use the software tool in the folder of MDC_MDIO MIIM of the software directory. For the
SMI software to be used all of registers, please use the software tool in the folder of MDC_MDIO
SMI of the software directory.
To prepare the KSZ8895ML evaluation board for MDC/MDIO configuration, please follow
these steps:
1. Copy the Micrel provided software on your computer.
2. Set JP2, JP3 and JP4 as specified in Table 8 for MDC/MDIO configuration.
Table 9 MDC/MDIO Settings for MIIM and SMI
Jumper
Description
Setting
JP1
MDIO/SDA
Close
JP2 MDC/SCL
Close
JP3 SPIQ/SDA
Close
JP9 EEPROM/SCL
Open
JP4
Serial Bus Config. (PS0)
Open (Close for SMI)
JP5
Serial Bus Config. (PS1)
Open
8.
Connect the computer’s USB port to the KSZ8895ML board with a USB port cable.
9.
There are two ways to power up the evaluation board:
a). Connect the 5 VDC power supply to the KSZ8895ML when JP44 pin1-2 is closed.
b). 5 VDC power source from the USB port when JP44 pin 2-3 is closed.
10.
The KSZ8895ML will power up initial default configuration with the start switch in register 1
bit 0 = ‘0’ which means the switch is “off”. You can set the bit 0 =’1’ to start switch in SMI
mode. When JP5 and JP4 are open, the switch will be started automatically when power up.
11.
Open the Windows and navigate to the directory where the Window MDC/MDIO files are
stored. Click its icon to invoke the software.
12.
Program the desired settings using the Micrel MDC/MDIO software. See the software
operation description section for details.