How to test Ethernet PHY’s MDI interface through JTAG Boundary scan

boundary-scanethernetjtagphy

We now use SCANWORKS Boundary Scan Tool from ASSET to make Ethernet SWITCH's manufacturing test. But in almost all PHY chips from broadcom corp, the MDI interfaces are "Linkage" bits. It means that there are no Boundary-Scan Cells(BSC), so we could not access them through JTAG interface. Is there any other method,except function test(because it needs more complicated firmware), to test MDI interfaces between the PHY chips and RJ45 connectors while manufacturing test?
Thanks.

Best Answer

As for a 100BASE-TX PHY you can use an approach like this:

enter image description here

You need to physically loop the MDI at the RJ45 jack and then generate test patterns on TX path to the PHY TX path internal logic (i.e. digital and analog logic circuits), receive patterns at RX path---writing and reading the appropriate boundary scan cells (BSC) correspondingly---and compare them (patterns).

In 1000BASE-T case, you need a compatible link partner organizing the remote loop.

Also, the MDI circuits are analog (@Paebbels is right in full here), differential, and they reach out the RJ45 jack pins not direct but thru a transformer with a center frequency of about 30-35 MHz which are unreachable to be generated from JTAG boundary scan even as digital waveforms.

IMO, upgrading the firmware is simpler than using the boundary scan there.

If you need to test a switch IC with integrated PHYs, you need an external test pattern generator/receiver/comparator with internal loopbacks in each tested PHY path. I see no place for and/or advantage of JTAG BS there too.