KSZ8893-MQL Micrel Semiconductor, Inc., KSZ8893-MQL Datasheet - Page 91
KSZ8893-MQL
Manufacturer Part Number
KSZ8893-MQL
Description
Integrated 3-Port 10/100 Managed Switch with PHYs
Manufacturer
Micrel Semiconductor, Inc.
Datasheet
1.KSZ8893-MQL.pdf
(106 pages)
- Current page: 91 of 106
- Download datasheet (508Kb)
Additional MIB Counter Information
“Per Port” MIB counters are designed as “read clear.” These counters will be cleared after they are read.
“All Port Dropped Packet” MIB counters are not cleared after they are accessed and do not indicate overflow or
validity; therefore, the application must keep track of overflow and valid conditions.
To read out all the counters, the best performance over the SPI bus is (160+3)*8*200 = 260ms, where there are
160 registers, 3 overheads, 8 clocks per access, at 5MHz. In the heaviest condition, the counters will overflow in 2
minutes. It is recommended that the software read all the counters at least every 30 seconds.
A high performance SPI master is also recommended to prevent counters overflow.
Micrel
November 2005
Examples:
1. MIB Counter Read (Read port 1 “Rx64Octets” Counter)
2. MIB Counter Read (Read port 2 “Rx64Octets” Counter)
3. MIB Counter Read (Read “Port1 TX Drop Packets” Counter)
Then
Then,
Then
Write to reg. 121 (0x79) with 0x1c
Write to reg. 122 (0x7A) with 0x0e
Read reg. 128 (0x80), overflow bit [31]
Read reg. 129 (0x81), counter bits [23:16]
Read reg. 130 (0x82), counter bits [15:8]
Read reg. 131 (0x83), counter bits [7:0]
Write to reg. 121 (0x79) with 0x1c
Write to reg. 122 (0x7A) with 0x2e
Read reg. 128 (0x80), overflow bit [31]
Read reg. 129 (0x81), counter bits [23:16]
Read reg. 130 (0x82), counter bits [15:8]
Read reg. 131 (0x83), counter bits [7:0]
Write to reg. 121 (0x79) with 0x1d
Write to reg. 122 (0x7A) with 0x00
Read reg. 130 (0x82), counter bits [15:8]
Read reg. 131 (0x83), counter bits [7:0]
valid bit [30]
counter bits [29:24]
valid bit [30]
counter bits [29:24]
91
// Read MIB counters selected
// Trigger the read operation
// Read MIB counter selected
// Trigger the read operation
// Read MIB counter selected
// Trigger the read operation
// If bit 31 = 1, there was a counter overflow
// If bit 30 = 0, restart (reread) from this register
// If bit 31 = 1, there was a counter overflow
// If bit 30 = 0, restart (reread) from this register
KSZ8893MQL/MQLI
M9999-111705
Related parts for KSZ8893-MQL
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
UCAP NEGATIVE LOW DROPOUT REGULATOR
Manufacturer:
Micrel Semiconductor, Inc.
Part Number:
Description:
1.8V, 3.3V 10/100BASE-T/TX/F Physical Layer Transceiver
Manufacturer:
Micrel Semiconductor, Inc.
Datasheet:
Part Number:
Description:
IC PHY 1CH 10/100MBPS 48LQFP T/R
Manufacturer:
Micrel Semiconductor, Inc.
Part Number:
Description:
IC PHY 1CH 10/100MBPS 48LQFP T/R
Manufacturer:
Micrel Semiconductor, Inc.
Datasheet:
Part Number:
Description:
Ethernet MAC Controller with PCI Interface2 pages, 163.24 KbOriginal
Manufacturer:
Micrel Semiconductor, Inc.
Part Number:
Description:
2-Port Ethernet Switch with PCI Interface
Manufacturer:
Micrel Semiconductor, Inc.
Part Number:
Description:
Single Port MAC/PHY Controller with Non PCI Interface
Manufacturer:
Micrel Semiconductor, Inc.
Part Number:
Description:
UCAP NEGATIVE LOW DROPOUT REGULATOR
Manufacturer:
Micrel Semiconductor, Inc.