Hi.
We designed a board based upon Am3357; the board has only two ethernet PHYs (PHY0 and PHY1, at address 0x00 and 0x01 respectively) which can be multiplexed the following ways:
1 - CPSW_RMII1 --> PHY0 and CPSW_RMII2 --> PHY1
2 - PRU_MII0 --> PHY0 and PRU_MII1 --> PHY1
3 - PRU_MII0 --> PHY0 and CPSW_RMII2 --> PHY1
Configurations 1 and 2 work perfectly; configuration 2 works when both ECAT_IN (PHY0) and ECAT_OUT (PHY1) are actually connected to the EtherCAT network and works also when only ECAT_IN (PHY0) is actually connected (that is, my Sitara is the last node in the network).
I'using SDK 1.1.0.4 (the last released by TI - long time ago, let me say).
I'm trying to use mixed configuration 3, but it seems PRU firmware is not happy with it.
I've bypassed all MDIO operations with PHY1 (during initialization of EtherCAT stack and when handling leds), of course.
Is there some way to tell the firmware running on PRUs that PHY1 is not present? Maybe writing a magic number in register 0x0E09 (Port1 PHY address) ...
Thank you for your help.
Mario