MU9C8338A 10/100Mb Ethernet Filter Interface
Software Model
Port Registers
The MU9C8338A supports one port. This port is
addressed as an offset to the CHIP_BASE for the
MU9C8338A in which it is implemented. Table 21 shows
the Port registers and their address values.
Table 21: Port Registers
Name
R/W
R/W
R/W
R/W
R/W
Description
Address
Default
0H
PID
Port ID
CHIP_BASE + 40H
CHIP_BASE + 41H
CHIP_BASE + 42H
CHIP_BASE + 44H
PCFG
Configure Port
Target Port
0H
PTARG
0H
PCFG_EXT
Port ID Register
Configure Port Extended
0H
Port Target Register
The Port Target register allows the operating conditions of
the port to be set. Bits 3:0 are Reserved and should be set to
0H. Bits 5 and 4 determine what action is taken after the
DA is extracted from a frame that was received on the MII
port. Bits 7 and 6 determine what action is taken after the
SA is extracted from a frame that was received on the MII
port.
The Port ID register stores the ID associated with the MII
port. The 6-bit value is the value added to LANCAM
entries when the SA search routine is performed.
Table 22: PID: Port ID Register Mapping
Name
Bits
Description
PORT_ID
5:0
6-Bit Port ID
Table 24: PTARG: Port Target Register Mapping
Port Configure Register
Name
Bits Description
The Port Configure register enables or disables the
10Base-X CRC check facility. If the facility is enabled,
10Base-X packets found to have CRC errors will not have
their Source address processed. If the facility is disabled,
the Source address of 10Base-X packets are processed
regardless of CRC errors, assuming the PTARG register is
configured appropriately. This register only enables a CRC
check for 10Base-X packets. The facility should be disabled
(bit 1=0) for 100Base - X packets.
SA
7:6
5:4
00: SAs are ignored
01: SAs are processed
10: RESERVED
11: RESERVED
DA
00: DAs are ignored
01: DAs are processed
10: DAs are processed and trigger a
CPU interrupt
11: RESERVED
Table 23: PCFG: Port Configure Register Mapping
RESERVED
3:0
Must be set to 0H.
All other values: RESERVED
Name
Bits
0
Description
RESERVED
Enable CRC Check
Write 0
1
0 = Disable (default)
1 = Enable
16
Rev. 0a