Datasheet
KSZ8873MLL/FLL/RLL
DS00002348A-page 68 2017 Microchip Technology Inc.
4.6 Static MAC Address Table
The KSZ8873 supports both a static and a dynamic MAC address table. In response to a Destination Address (DA) look
up, the KSZ8873 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 the KSZ8873.
The static table is accessed by 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.
Register 196(0xC4): Sleep Mode
7-0 Sleep Mode R/W
This value is used to control the minimum period the
no energy event has to be detected consecutively
before the device enters the low power state when the
ED mode is on.
The unit is 20 ms. The default go_sleep time is 1.6
seconds.
0x50
Register 198 (0xC6): Forward Invalid VID Frame and Host Mode
7 Reserved RO
Reserved
Do not change the default value.
0
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 Reserved RO
Reserved
Do not change the default value.
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