KSZ8864RMNI MICREL [Micrel Semiconductor], KSZ8864RMNI Datasheet - Page 89

no-image

KSZ8864RMNI

Manufacturer Part Number
KSZ8864RMNI
Description
Integrated 4-Port 10/100 Managed Switch with Two MACs MII or RMII Interfaces
Manufacturer
MICREL [Micrel Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
KSZ8864RMNI
Manufacturer:
MICREL
Quantity:
7 143
September 2011
Examples:
The table of the follow shows the relationship of the indirect address/data registers and VLAN ID.
(1) VLAN Table Read (read the VID=2 entry)
(2) VLAN Table Write (write the VID=10 entry)
Indirect Address
high/low bit[9-0]
for VLAN sets
Write the indirect control and address registers first
Write to Register 110 (0x6E) with 0x14 (read VLAN table selected)
Write to Register 111 (0x6F) with 0x0 (trigger the read operation for VID=0, 1, 2, 3 entries)
Then read the indirect data registers bits [38-26] for VID=2 entry
Read Register 116 (0x74), (register116[6:0] are bits 12-6 of VLAN VID=2 entry)
Read Register 117 (0x75), (register117[7:2] are bits 5-0 of VLAN VID=2 entry)
Read the VLAN set that contains VID=8, 9, 10, 11.
Write to Register 110 (0x6E) with 0x14 (read VLAN table selected)
Write to Register 111 (0x6F) with 0x02 (trigger the read operation and VID=8, 9, 10, 11 indirect address)
Read the VLAN set first by the indirect data registers 114, 115, 116, 117, 118, 119, 120.
Modify the indirect data registers bits [38-26] by the register 116 bit [6-0] and register 117 bit [7-2] as
follows:
Write to Register 116 (0x74), (register116 [6:0] are bits 12-6 of VLAN VID=10 entry)
Write to Register 117 (0x75), (register117 [7:2] are bits 5-0 of VLAN VID=10 entry)
Then write the indirect control and address registers
Write to Register 110 (0x6E) with 0x04 (write VLAN table selected)
Write to Register 111 (0x6F) with 0x02 (trigger the write operation and VID=8, 9, 10, 11 indirect address)
1023
1023
1023
1023
0
0
0
0
1
1
1
1
2
2
2
2
:
:
:
Registers Bits for
each VLAN entry
Indirect Data
Bits[25-13]
Bits[38-26]
Bits[51-39]
Bits[25-13]
Bits[38-26]
Bits[51-39]
Bits[25-13]
Bits[38-26]
Bits[51-39]
Bits[25-13]
Bits[38-26]
Bits[51-39]
Bits[12-0]
Bits[12-0]
Bits[12-0]
Bits[12-0]
Table 15. VLAN ID and Indirect Registers
:
:
:
Numbers
4092
4093
4094
4095
VID
10
11
0
1
2
3
4
5
6
7
8
9
:
:
:
89
VID bit[12-2] in
VLAN Tag
1023
1023
1023
1023
0
0
0
0
1
1
1
1
2
2
2
2
:
:
:
VID bit[1-0] in VLAN
M9999-092011-1.4
Tag
0
1
2
3
0
1
2
3
0
1
2
3
0
1
2
3
:
:
:

Related parts for KSZ8864RMNI