English
Language : 

MDS213 Datasheet, PDF (53/120 Pages) Zarlink Semiconductor Inc – 12-Port 10/100Mbps + 1Gbps Ethernet Switch
MDS213
Data Sheet
Example 1: Mirroring port 1 to port 0 and Mirror transmission direction.
For Chip 0
Set APMR[11:0]=0x002; mirrored port= 1
Set APMR[12]=0 ; local mirrored port
Set APMR[13]=0; Transmission mirroring
Set APMR[14]=1; Port 0 is the mirroring port
For Chip 1:
Don't Care
Example 2: Mirroring port 1 to port 13 and Mirror receiving direction.
For Chip 0
Set APMR[11:0]= 0x002; mirrored port= 1
Set APMR[12]=0 ; local mirrored port
Set APMR[13]=1; receiving mirroring
Set APMR[14]=0; Port 0 is not the mirroring port
For Chip 1:
Set APMR[11:0]=0x000
Set APMR[12]=1 ; remote mirrored port
Set APMR[13]=Don't careBit[13] has meaning only in the chip of mirrored port
Set APMR[14]=1; Port 13 is the mirroring port
Example 3: Mirroring port 1 to MII Mirroring port Mirror receiving direction.
For Chip 0
Set APMR[11:0]= 0x002; mirrored port= 1
Set APMR[12]=0 ; local mirrored port
Set APMR[13]=1; receiving mirroring
Set APMR[14]=0; Port 0 is not the mirroring port
For Chip 1:
Set APMR[11:0]= 0x000
Set APMR[12]=1 remote mirrored port
Set APMR[13]= Don't careBit[13] has meaning only in the chip of mirrored port
Set APMR[14]=0Port 13 is not the mirroring port
Note that CPU needs to find out the speed of the mirrored port and configures the mirroring port to the same speed.
53
Zarlink Semiconductor Inc.