Note the following details of the code protection feature on Microchip devices:
YSTEM
CERTIFIE DBYDNV
== ISO/TS16949==
•Microchip products meet the specification contained in their particular Microchip Data Sheet.
•Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
•There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
•Microchip is willing to work with the customer who is concerned about the integrity of their code.
•Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device applications and the like is provided only for your convenience and may be
superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO
REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE,
MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold
harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or
otherwise, under any Microchip intellectual property rights unless otherwise stated.
Trademarks
The Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BeaconThings, BitCloud, CryptoMemory, CryptoRF,
dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KEELOQ, KEELOQ logo, Kleer, LANCheck, LINK MD, maXStylus, maXTouch, MediaLB, megaAVR,
MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, Prochip Designer, QTouch, RightTouch, SAM-BA, SpyNIC,
SST, SST Logo, SuperFlash, tinyAVR, UNI/O, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and
other countries.
ClockWorks, The Embedded Control Solutions Company, EtherSynch, Hyper Speed Control, HyperLight Load, IntelliMOS, mTouch, Precision
Edge, and Quiet-Wire are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BodyCom, chipKIT, chipKIT logo, CodeGuard,
CryptoAuthentication, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN,
EtherGREEN, In-Circuit Serial Programming, ICSP, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, Mindi, MiWi, motorBench,
MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit,
PICtail, PureSilicon, QMatrix, RightTouch logo, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher,
SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.
Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.
GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other
countries.
All other trademarks mentioned herein are property of their respective companies.
DS50002755A-page 2 2018 Microchip Technology Inc.
Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
DS50002755A-page 4 2018 Microchip Technology Inc.
EVB-KSZ8563
EVALUATION BOARD
USER’S GUIDE
Preface
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each
ge, in front of the page number. The numbering convention for the DS number is
pa
“DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the
document.
®
For the most up-to-date information on development tools, see the MPLAB
Select the Help menu, and then Topics to open a list of available online help files.
IDE online help.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
KSZ8563. Items discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• The Microchip Web Site
• Development Systems Customer Change Notification Service
• Customer Support
• Document Revision History
DOCUMENT LAYOUT
This document describes how to use the EVB-KSZ8563 Evaluation Board as a
development tool for the KSZ8563, 3-Port Fast Ethernet Switc
and IEEE 1588v2 / 802.1AS support.
• Chapter 1. “Overview” – This chapter provides a brief description of the
EVB-KSZ8563 Evaluation Board.
• Chapter 2. “Board Details and Configuration” – This chapter includes instruc-
tions on how to get started with the EVB-KSZ8563 Evaluation Board.
• Appendix A. “EVB-KSZ8563 Evaluation Board” – This appendix shows the
phys
• Appendix B. “EVB-KSZ8563 Schematics” – This appendix shows the
EVB-KSZ8563 Evaluation Board schematics.
• Appendix C. “EVB-KSZ8563 Bill of Materials (BOM)” – This appendix includes
the EVB-KSZ8563 Evaluation Board Bill of Materials (BOM).
• Appendix D. “EVB-KSZ8563 Silk Screen” – This appendix includes the
This manual uses the following documentation conventions:
DescriptionRepresentsExamples
Arial font:
Italic charactersReferenced booksMPLAB® IDE User’s Guide
Emphasized text...is the only compiler...
Initial capsA windowthe Output window
A dialogthe Settings dialog
A menu selectionselect Enable Programmer
QuotesA field name in a window or
dia
log
Underlined, italic text with
right angle bracket
Bold charactersA dialog buttonClick OK
N‘RnnnnA number in verilog format,
Text in angle brackets < >A key on the keyboardPress <Enter>, <F1>
Courier New font:
Plain Courier NewSample source code
Italic Courier NewA variable argument
Square brackets [ ]Optional arguments
Curly brackets and pipe
character: { | }
Ellipses...Replaces repeated textvar_name [,
A menu pathFile>Save
A tabClick the Power tab
whe
re N is the total number of
digits, R is the radix and n is a
digit.
Filenames
File paths
Keywords
Command-line options-
Bit values
Constants
Choice of mutually exclusive
arguments; an OR selection
Represents code supplied by
user
“Save project before build”
4‘b0010, 2‘hF1
#define START
autoexec.bat
c:\mcc18\h
_asm, _endasm, static
Opa+
, -Opa-
0, 1
0xFF, ‘A’
.o
file
any valid filename
mcc18 [options]
[opti
errorlevel {0|1}
var_name...]
void main (void)
{ ...
}
, where
ons]
file
ca
n be
file
DS50002755A-page 6 2018 Microchip Technology Inc.
Preface
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at www.microchip.com. This web
site is used as a means to make files and information easily available to customers.
Accessible by using your favorite Internet browser, the web site contains the following
information:
• Product Support – Data sheets and errata, application notes and sample
programs, design resources, user’s guides and hardware support documents,
latest software releases and archived software
• General Technical Support – Frequently Asked Questions (FAQs), technical
support requests, online discussion groups, Microchip consultant program
member listing
• Business of Microchip – Product selector and ordering guides, latest Microchip
press releases, listing of seminars and events, listings of Microchip sales offices,
distributors and factory representatives
DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE
Microchip’s customer notification service helps keep customers current on Microchip
products. Subscribers will receive e-mail notification whenever there are changes,
updates, revisions or errata related to a specified product family or development tool of
interest.
To register, access the Microchip web site at www.microchip.com, click on Customer
Change Notification and follow the registration instructions.
The Development Systems product group categories are:
• Compilers – The latest information on Microchip C compilers, assemblers, linkers
and other language tools. These include all MPLAB C compilers; all MPLAB
assemblers (including MPASM assembler); all MPLAB linkers (including MPLINK
object linker); and all MPLAB librarians (including MPLIB object librarian).
• Emulators – The latest information on Microchip in-circuit emulators.This
includes the MPLAB REAL ICE and MPLAB ICE 2000 in-circuit emulators.
• In-Circuit Debuggers – The latest information on the Microchip in-circuit
debuggers. This includes MPLAB ICD 3 in-circuit debuggers and PICkit 3 debug
express.
• MPLAB IDE – The latest information on Microchip MPLAB IDE, the Windows
Integrated Development Environment for development systems tools. This list is
focused on the MPLAB IDE, MPLAB IDE Project Manager, MPLAB Editor and
MPLAB SIM simulator, as well as general editing and debugging features.
• Programmers – The latest information on Microchip programmers. These include
production programmers such as MPLAB REAL ICE in-circuit emulator, MPLAB
ICD 3 in-circuit debugger and MPLAB PM3 device programmers. Also included
are nonproduction development programmers such as PICSTART Plus and
PIC-kit 2 and 3.
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
Customers should contact their distributor, representative or field application engineer
(FAE) for support. Local sales offices are also available to help customers. A listing of
sales offices and locations is included in the back of this document.
Technical support is available through the web site at:
http://www.microchip.com/support
DOCUMENT REVISION HISTORY
RevisionsSection/Figure/EntryCorrection
DS50002755A
(05-10-18)
Initial release.
DS50002755A-page 8 2018 Microchip Technology Inc.
1.1INTRODUCTION
DSC1001CI2-025.0000
MEMS OSC (25MHz)
Plug-in to Microchip host
processor/controller board
(e.g., SAMA5D3-EDS Board)
Pin Strappings
(pu/pd steering resistors)
RESET
RC/Diode
Port_1Port_2
DualLED
DualLED
Port_3
RGMII
SPI
AVDDL core
DVDDL core
AVDDH
(transceiver)
VDDIO
(digital pins)
5V_HS_Connector
3V3_HS_Connector
2V5_HS_Connector (option)
VARIO_HS_Connector
GPIOs for
1588/AVB
10/100
RJ45 Magnetic Jack
10/100
RJ45 Magnetic Jack
RGMII Port
High-Speed Connector
(bottom PCB mount)
KSZ8563
MIC33153YHJ
Buck Regulator
1.2V adjustable output
The EVB-KSZ8563 evaluation board is a plug-in card that interfaces directly with a mating Microchip host processor/contro
features the KSZ8563, a highly-integrated networking device that incorporates a
layer-2+ managed
transceivers (PHYs) and associated MAC units, and one MAC port configured as the
RGMII interface. The board’s two PHY ports are connected to RJ45 Ethernet jacks with
integrated magnetics, and the RGMII MAC interface is brought out to a high-speed
multi-pin (HS) connector.
As a set, the EVB-KSZ8563 and SAMA5D3-EDS Board provide a highly-flexible platform to allow evaluation of basic KSZ8563 PHY/Switch features using static control-status registers (CSRs) to develop firmware of advanced KSZ8563 MAC/Switch
atures, such as IEEE1588 PTP, AVB, and RSTP/MSTP that require interaction with
fe
upper network layers.
The scope of this document is me
setup and its user interface features. A simplified block diagram of the board is shown
in Figure 1-1.
EVB-KSZ8563
EVALUATION BOARD
USER’S GUIDE
Chapter 1. Overview
ller board, such as the SAMA5D3-EDS Board. It
Fast Ethernet switch, two 10BASE-T/100BASE-TX physical layer
Concepts and materials available in the following documents may be helpful when
reading this document. Visit www.microchip.com for the latest documentation.
• KSZ8563 Data Sheet
• EVB-KSZ8563 Schematics
• SAMA5D3-EDS Schematics
• SAMA5D3-EDS Board User’s Guide
• MIC33153YHJ Data Sheet
• DSC1001 Data Sheet
DS50002755A-page 10 2018 Microchip Technology Inc.
Chapter 2. Board Details and Configuration
2.1INTRODUCTION
The EVB-KSZ8563 is designed as a plug-in card to interface directly with a mating
Microchip host processor or controller board, such as the
supplies full power and provides full register access and configuration via IBA, SPI, or
2
I
C bus management.
2.2POWER SOURCE
The EVB-KSZ8563 is completely bus-powered from its mating Microchip host processor or controller board. Input power is delivered via the high-speed multi-pin (HS) connector.
Refer to Figure 2-3 and board schematics in Appendix B. “EVB-KSZ8563 Schemat-
ics” for details.
2.2.1Power Probe Points
EVB-KSZ8563
EVALUATION BOARD
USER’S GUIDE
SAMA5D3-EDS Board, that
2.3CLOCK
The power probe points along with the ground test points are shown in Figure 2-2.
2.2.2Current Access Rework/Probe Points
The EVB-KSZ8563 design is not intended to perform current measurements on the
device. If needed, the current access points to measure the current consumption of the
KSZ8563 power rails are across the following series ferrite beads to the board powers.
•DVDDL: FB2
• AVDDL: FB3
• VDDIO: FB6
• AVDDH: FB4 for 3.3V (default populate); FB1 for 2.5V (default not populate)
Note:Populate either FB4 only or FB1 only. If 2.5V AVDDH is desired, FB4 should
be 'do not populate' (DNP) and FB1 should be populated.
Remove the above ferrite beads and place the current probes in series across the
power probe points (
rite beads. See also Appendix B. “EVB-KSZ8563 Schematics”.
Board LED components are connected to the VDDIO power rail, and thus the measured current is higher than the amount consumed by only the KSZ8563 device.
The EVB-KSZ8563 utilizes the on-board Microchip DSC1001CI2-025.0000 clock chip,
a 25-MHz MEMS oscillator, as the input reference clock to the
to
Figure 2-1 and board schematics in Appendix B. “EVB-KSZ8563 Schematics” for
details.
Section 2.2.1 “Power Probe Points”) that are joined by the fer-
The discrete RC/Diode (R12, C8, D3) circuit provides power-on reset to the KSZ8563
device.
2.4.2Manual Reset
The SW1 reset button can be pressed and released to provide manual reset to the
KSZ8563 device after power-up. Refer to Figure 2-1 and board schematics in Appen-
dix B. “EVB-KSZ8563 Schematics” for details.
2.5BOARD FEATURES AND CONFIGURATION
The following sub-sections describe the board features and configuration settings.
Figure 2-1 displays the top view of the EVB-KSZ8563 with key features, jumpers, and
h
eaders highlighted in red, and with Microchip components highlighted in blue.
FIGURE 2-1:
EVB-KSZ8563 TOP VIEW WITH CALLOUTS
DS50002755A-page 12 2018 Microchip Technology Inc.
Board Details and Configuration
5V from HS_Connector, J7
(TP2)
1.2V Output of
MIC33153YHJ
Buck Regulator
(TP8)
Ground
(TP20)
Ground
(TP18)
Ground
(TP4)
Ground (TP7)
VARIO from HS_Connector, J7
(TP3)
2V5 from HS_Connector, J7
(TP6)
3V3 from HS_Connector, J7
(TP9)
VDDIO rail of KSZ8563
(TP11)
AVDDL rail of KSZ8563
(TP12)
AVDDH rail of KSZ8563 (TP5)
DVDDL rail of KSZ8563 (TP10)
Figure 2-2 displays the power probe points along with the ground test points.
Figure 2-3 displays the bottom view of the EVB-KSZ8563 with the HS connector (J7)
(highlighted in red) that plugs directly into a mating Microchip MAC processor or controller board.
FIGURE 2-3:
EVB-KSZ8563 BOTTOM VIEW WITH CALLOUT
DS50002755A-page 14 2018 Microchip Technology Inc.
Board Details and Configuration
2.5.1PHY Ports - Integrated Magnetic Jacks
PHY ports 1 and 2 (J2 and J6) support 10BASE-T/100BASE-TX with both Auto-Negotiation and Auto MDI/MDI-X enabled as the power-up defaults.
2.5.2PHY Ports - LEDs
Two Dual-LEDs (D2 and D6) provide the link status for PHY ports 1 and 2, respectively.
The LED descriptions are listed in Ta b le 2-1.
TABLE 2-1:
LEDLED ColorDescription
D2, D6RedSolid Color: 100-Mbps Link
PHY PORTS - LED DESCRIPTION
Blinking: Activity (RX, TX)
OrangeSolid Color: 10-Mbps Link
Blinking: Activity (RX, TX)
OffLink off
2.5.3Pin Strapping Configuration
As the power-up or reset defaults, the KSZ8563 device is configured via internal or
external pull-up/down resistors to the following settings:
• PHY Ports 1 and 2: Aut
(EEE) enabled
• MAC P
• Start Switch:
• Ma
ort 3: RGMII Mode at 1000-Mbps speed
The switch forwards the packets immediately after hardware reset.
nagement: SPI Slave mode
The In-band Management Access (IBA) Mode and Quiet-Wire
enabled or disabled using the 3-pin jumpers in Tab le 2-2. Set the desired jumper settings prior to board power-up, hardware reset, or both.
TABLE 2-2:
PIN STRAPPING JUMPERS
o-Negotiation enabled and Energy-Efficient Ethernet
®
pin strappings can be
JumperLabelDescription
J1IBA ModeIBA provides full register read and write
access via any one
ports.
When enabled by pin strapping, IBA
lts to PHY port 1. SPI or I2C man-
defau
agement access is required to enable
IBA for MAC port 3 or PHY port 2.
J5Quiet-WireQuiet-Wire filtering is implemented
ip to enhance 100BASE-TX EMC
on-ch
performance by reducing both conducted and radiated emissions from the
TXP/M sig
nal differential pair.
of the three data
Close Pins
1-2
DisableEnable
EnableDisable
Close Pins
2-3
(default)
(default)
Refer to the board schematics in Appendix B. “EVB-KSZ8563 Schematics” and the KSZ8563 Data Sheet fo
r further details on the pin strappings.
2.5.4GPIO Signal Headers
Ta bl e 2-3 shows the GPIO signals that support the IEEE 1588 Precision Time Protocol
implement IEEE1588 event trigger
outputs and time stamp capture inputs
support real-time application
to
requirements.
ment IEEE1588 event trigger
imple
outputs and time stamp capture inputs
support real-time application
to
requirements.
No
Connect
GroundGPIO_1
GPIO_2
8563
(KSZ
pin 41)
(KSZ
8563
pin 40)
Refer to the board schematics in Appendix B. “EVB-KSZ8563 Schematics” and the KSZ8563 Data Sheet f
or further details and usage on the GPIO signal pins.
2.5.5INTRP_N Output
The INTRP_N output at test point TP14 provides the interrupt output from the KSZ8563
device. By default, it is active low and drives low to turn on D4 when asserted.
Refer to board schematics in Appendix B. “EVB-KSZ8563 Schematics” and
KSZ8563 Data Sheet f
or further details and usage on the INTRP_N signal.
2.5.6PME_N Output
The PME_N output at test point TP16 provides the Power Management Event (PME)
interrupt output for Wake-on-LAN (WoL) from the KSZ8563 device. By default, it is
tive low and drives low to turn on D5 when asserted.
ac
Refer to the board schematics in Appendix B. “EVB-KSZ8563 Schematics” and the KSZ8563 Data Sheet f
2.6USING THE EVB-KSZ8563
The EVB-KSZ8563 plugs in directly to a mating Microchip host controller or processor
board, such as the SAMA5D3-EDS Board, that delivers full power and provides full register access and configuration via IBA, SPI, or I
Together, the EVB-KSZ8563 and the SAMA5D3-EDS enable Ethernet traffic switching
a
cross all three data ports of the KSZ8563 device with RGMII MAC port 3 connecting
e SAMA5D3 processor and PHY ports 1 and 2 connecting via copper Ethernet
to th
cable (CAT-5 UTP or better) to external Ethernet devices.
All KSZ8563 registers are accessible via IBA, SPI, or I
SAMA5D3-EDS Board, enabling full evaluation and firmware development for all
KSZ8563 MAC/Switch features and interact
Refer to SAMA5D3-EDS Board documentation on its usage.
Figure 2-4 shows the EVB-KSZ8563 connected to the SAMA5D3-EDS Board.
or further details and usage on the PME_N signal.
2
C bus management.
2
C bus management from the
ion with upper network layers.
DS50002755A-page 16 2018 Microchip Technology Inc.
Solid Color : 100M Link
Blinking : Activity (RX, TX)
[1, 0]
Solid Color : 10M Link
Blinking : Activity (RX, TX)
[0, 0]
[1, 1]Link off
Tri-color Dual-LED Mode
Pins
[LEDx_1, LEDx_0]
Description
Green
Red
Orange
[1, toggling]
[toggling, toggling]
<off>
Dual-LED
Color
(power-up default setting)
LED1_1 2
LED1_0 2
VDDIO
VDDIO
330R
R45
LED2_1 2
LED2_1
LED2_0 2
LED2_0
330R
R46
42
13
GREEN
RED
GREEN, RED
D2
42
13
GREEN
RED
GREEN, RED
D6
330R
R9
LED1_1
LED1_0
330R
R4
MH6
MTHOLE 4-40 120DL 220PAD
MH1
Mounting Holes (for RJ45_Chassis)
RJ45_Chassis RJ45_Chassis
25REFCLK_QTS
TXD0
TXD1
TXD2
TXD3
TX_EN
TX_CLK
TX_ER
RX_CLK
RX_DV
SDI_SDA_MDIO
RESET_N_QTS
INTRP_N
PME_N
i
Net Class
ClassName: QTS-PHY-RX
RX_C
RX_DV
RX_ER
SCL_MDC
SDO
SCS_N
MII / RMII / RGMII Port
PHY Mode
(mount on Bottom Side of Board)
TOP VIEW - component placement side pin-outs
For the xMII pins, Micrel parts naming convention is
referenced to the PHY side regardless of whether the
switch is in MAC mode or PHY mode. That is, "TX"
named pins are inputs and "RX" named pins are outputs
for MAC mode and PHY mode.