Datasheet
2017 Microchip Technology Inc. DS00002335B-page 65
KSZ8863MLL/FLL/RLL
4.6 Static MAC Address Table
KSZ8863 supports both a static and a dynamic MAC address table. In response to a Destination Address (DA) look-up,
KSZ8863 searches both tables to make a packet forwarding decision. In response to a Source Address (SA) look-up,
only the dynamic table is searched for aging, migration, and learning purposes.
The static DA look-up result takes precedence over the dynamic DA look-up result. If there is a DA match in both tables,
the result from the static table is used. The entries in the static table will not be aged out by KSZ8863.
The static table is accessed with an external processor via the SMI, SPI, or I2C interfaces. The external processor per-
forms all addition, modification, and deletion of static MAC table entries.
Examples:
1. Static Address Table Read (Read the 2nd Entry)
Write to reg. 121 (0x79) with 0x10 // Read static table selected
Write to reg. 122 (0x7A) with 0x01 // Trigger the read operation
Then,
Read reg. 124 (0x7C), static table bits [57:56]
Read reg. 125 (0x7D), static table bits [55:48]
Read reg. 126 (0x7E), static table bits [47:40]
Read reg. 127 (0x7F), static table bits [39:32]
6-4
Forward Invid VID
Frame
R/W Forwarding ports for frame with invalid VID 3b’0
3
P3 RMII Clock
Selection
R/W
1 = Internal
0 = External
0
2
P1 RMII Clock
Selection
R/W
1 = Internal
0 = External
0
1-0 Host Interface Mode R/W
00 = I
2
C master mode
01 = I
2
C slave mode
10 = SPI slave mode
11 = SMI mode
Strapped value
of P2LED1,
P2LED0.
TABLE 4-10: FORMAT OF STATIC MAC TABLE (8 ENTRIES)
Bit Name R/W Description Default
57-57 FID R/W Filter VLAN ID – identifies one of the 16 active VLANs 0000
53 Use FID R/W
1 = use (FID+MAC) for static table look ups
0 = use MAC only for static table look ups
0
52 Override R/W
1 = override port setting “transmit enable=0” or
“receive enable=0” setting
0 = no override
0
51 Valid R/W
1 = this entry is valid, the lookup result will be used
0 = this entry is not valid
0
50-48 Forwarding Ports R/W
These 3 bits control the forwarding port(s):
001, forward to port 1
010, forward to port 2
100, forward to port 3
011, forward to port 1 and port 2
110, forward to port 2 and port 3
101, forward to port 1 and port 3
111, broadcasting (excluding the ingress port)
000
47-0 MAC Address R/W 48-bit MAC Address
0x0000_0000
_0000
TABLE 4-9: ADVANCED CONTROL REGISTERS (REGISTERS 96-198) (CONTINUED)
Bit Name R/W Description Default