KSZ8864RMN Micrel Inc, KSZ8864RMN Datasheet - Page 94

no-image

KSZ8864RMN

Manufacturer Part Number
KSZ8864RMN
Description
IC ETHERNET SW 4PORT 64QFN
Manufacturer
Micrel Inc
Datasheet

Specifications of KSZ8864RMN

Controller Type
Ethernet Switch Controller
Interface
MII, RMII
Voltage - Supply
1.8V, 2.5V, 3.3V
Operating Temperature
0°C ~ 70°C
Mounting Type
*
Package / Case
*
Lead Free Status / RoHS Status
Supplier Unconfirmed
Current - Supply
-
Lead Free Status / RoHS Status
Supplier Unconfirmed, Lead free / RoHS Compliant
Other names
576-3787
KSZ8864RMN

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
KSZ8864RMNI
Manufacturer:
MICREL
Quantity:
7 143
Part Number:
KSZ8864RMNUB
Manufacturer:
MICREL
Quantity:
101
January 2011
Programming Examples:
Note:
To read out all the counters, the best performance over the SPI bus is (160+3) × 8 × 80 = 104us, where there are 160 registers, three overhead,
eight clocks per access, at 12.5MHz. In the heaviest condition, the byte counter will overflow in two minutes. It is recommended that the software
read all the counters at least every 30 seconds. The per port MIB counters are designed as “read clear.” A per port MIB counter will be cleared
after it is accessed. All port dropped packet MIB counters are not cleared after they are accessed. The application needs to keep track of overflow
and valid conditions on these counters.
(1) MIB counter read (read port 1 Rx64Octets counter)
(2) MIB counter read (read port 2 Rx64Octets counter)
(3) MIB counter read (read port 1 tx drop packets)
Write to Register 110 with 0x1c (read MIB counters selected)
Write to Register 111 with 0x2e (trigger the read operation)
Then
Read Register 117 (counter value 31-24)
// If bit 31 = 1, there was a counter overflow
// If bit 30 = 0, restart (reread) from this register
Read Register 118 (counter value 23-16)
Read Register 119 (counter value 15-8)
Read Register 120 (counter value 7-0)
Write to Register 110 with 0x1c (read MIB counter selected)
Write to Register 111 with 0x4e (trigger the read operation)
Then
Read Register 117 (counter value 31-24)
//If bit 31 = 1, there was a counter overflow
//If bit 30 = 0, restart (reread) from this register
Read Register 118 (counter value 23-16)
Read Register 119 (counter value 15-8)
Read Register 120 (counter value 7-0)
Write to Register 110 with 0x1d
Write to Register 111 with 0x01
Then
Read Register 119 (counter value 15-8)
Read Register 120 (counter value 7-0)
94
M9999-012011-1.2

Related parts for KSZ8864RMN