Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

KSZ9563R Datasheet(PDF) 193 Page - Microchip Technology

Part # KSZ9563R
Description  3-Port Gigabit Ethernet Switch with RGMII/MII/RMII Interface and IEEE 1588v2
PDF  226 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

KSZ9563R Datasheet(HTML) 193 Page - Microchip Technology

Back Button KSZ9563R Datasheet HTML 189Page - Microchip Technology KSZ9563R Datasheet HTML 190Page - Microchip Technology KSZ9563R Datasheet HTML 191Page - Microchip Technology KSZ9563R Datasheet HTML 192Page - Microchip Technology KSZ9563R Datasheet HTML 193Page - Microchip Technology KSZ9563R Datasheet HTML 194Page - Microchip Technology KSZ9563R Datasheet HTML 195Page - Microchip Technology KSZ9563R Datasheet HTML 196Page - Microchip Technology KSZ9563R Datasheet HTML 197Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 193 / 226 page
background image
 2017-2018 Microchip Technology Inc.
DS00002419D-page 193
KSZ9563R
5.3.6.2
MIB Counter Freeze and Flush Functions
Counter freeze and flush functions are available on a port-by-port basis. Freezing or flushing counters is initiated by
setting the appropriate bit in the Switch MIB Control Register. The freeze or flush function will be applied to all ports for
which the flush and freeze functions have been enabled. To enable flush and freeze for a port, set bit 24 in the Port MIB
Control and Status Register.
The following steps show an example of how flush and freeze are used to collect MIB statistics for all ports for a period
of 1 second:
1.
Set the MIB Flush and Freeze Enable bit 24 in the Port MIB Control and Status Register for all ports N.
2.
Write 0x40 to the Switch MIB Control Register to freeze the MIB counters for all enabled ports.
3.
Write 0xC0 to the Switch MIB Control Register to clear the MIB counters for all enabled ports (while continuing
to also freeze the counters).
4.
At the beginning of the 1 second period, write 0x00 to the Switch MIB Control Register to enable the counters.
5.
At the end of the 1 second period, write 0x40 to the Switch MIB Control Register to freeze the counters.
6.
Read each counter for each port.
5.4
MDIO Manageable Device (MMD) Registers (Indirect)
MMD registers provide indirect read/write access to up to 32 MMD device addresses with each device supporting up to
65,536 16-bit registers, as defined in Clause 22 of the IEEE 802.3 Specification. However, the KSZ9563R uses only a
small fraction of the available registers. Refer to Table 5-7, "MMD Register Map" for a list of accessible MMD device
addresses and their associated register addresses. Detailed descriptions of the supported MMD registers are provided
in the following subsections.
The following two standard port registers serve as the portal registers to access the indirect MMD registers.
• PHY MMD Setup Register
• PHY MMD Data Register
Example: MMD Register Write
Write MMD - Device Address 2h, Register 00h = 0010h to enable single-LED mode.
1.
Write the PHY MMD Setup Register with 0002h // Set up register address for MMD – Device Address 2h.
2.
Write the PHY MMD Data Register with 0000h // Select Register 00h of MMD – Device Address 2h.
3.
Write the PHY MMD Setup Register with 4002h // Select register data for MMD – Device Address 2h, Reg. 00h.
4.
Write the PHY MMD Data Register with 0010h // Write value 0010h to MMD – Device Address 2h, Reg. 00h.
Example: MMD Register Read
Read MMD - Device Address 2h, Register 11h – 13h for the LED mode status.
1.
Write the PHY MMD Setup Register with 0002h // Set up register address for MMD – Device Address 2h.
2.
Write the PHY MMD Data Register with 0000h // Select Register 00h of MMD – Device Address 2h.
3.
Write the PHY MMD Setup Register with 4002h // Select register data for MMD – Device Address 2h, Reg. 00h.
4.
Read the PHY MMD Data Register
// Read data in MMD – Device Address 2h, Reg. 00h.
TABLE 5-7:
MMD REGISTER MAP
Device Address
(hex)
Register Address
(hex)
Description
2h
00h
MMD LED Mode Register
7h
3Ch
MMD EEE Advertisement Register



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