I have an application with the ultrascale that has 4 PHYs in 1 GEM (i.e. XEmacPs).
I am able to detect all 4 PHYs and set them up appropriately, but I am uncertain how to specify which PHY the GEM should use for transmission/reception.
Ideally I'd like to test the HW by doing a round-robin on each PHY.
I'm not using LWIP. I've started off using the driver example "xemacps_example_intr_dma_1".
Once the PHYs are setup, how do I specify which one to use?
Please check the EmacPsUtilEnterLoopback() function under xemacps_example_util.c in dma example application.
It gives you idea of how to connect to different PHY devices.