English
Language : 

MDS213 Datasheet, PDF (52/120 Pages) Zarlink Semiconductor Inc – 12-Port 10/100Mbps + 1Gbps Ethernet Switch
MDS213
Data Sheet
13.2 Physical Pins
There are 6 related pins to Port Mirroring functions:
• PM_DI [1:0] Port Mirroring Input Data Bit [1:0]
Receive the mirrored data signal from the remote MDS213.
• PM_DENI
Port Mirroring Data Enable signal for PM_DI Input
Provide Data Enable signal for PM_DI signals
• PM_DO[1:0] Port Mirroring Output Data Bit [1:0]
Transmit the mirrored data signal to remote MDS213.
• PM_DENO Port Mirroring Data Enable Output.
Provide Data Enable signal for PM_DO signals
Refer to Figure 20 for connecting above pins.
13.2.1 Setting Register For Port Mirroring
The APMR register controls the mirrored port, the designated mirroring port. The definition of the register is shown
as follows:
13.2.1.1 APMR- Port Mirroring Register
31
15 14 13 12
11
0
MP Rx/ L/R
0 Tx
Mirror Port
Bit [11:0]Mirr_Port10/100 port is chosen to be mirrored, (port bit map)
Bit [12] Local/RemoteIndicate the mirrored port from local or remote device.
0=local 1=remote
(Note: Not support 1G port Mirroring.)
Note that at most only one of bit in Bit[11:0] can be set to 1.
Bit [13] Rx/TxWhether mirror receiving data or transmitting data
0= Transmission Mirroring, 1=Receiving Mirroring
Bit [14] MP0Mirror to Port 0 (Default=0)
MP0=1 Mirror to port 0
MP0=0 Mirror not go to port 0. i.e., to PM_DO pins.
Bit [31:15]Reserve
We use examples to illustrate how to set the APMR register. The following examples are based on the configuration
of Figure 20.
52
Zarlink Semiconductor Inc.