Part Number: AM4378
Other Parts Discussed in Thread: DP83822IF
Tool/software: TI-RTOS
Hello,
We have a custom board with the AM4378 and dual ethernet phys DP83822IF connected to the PRU MII interface. We run the HSR/PRP firmware release 01.00.02 on the PRUs in PRP mode.
When the TIRTOS starts the phy link gets reset, e.i. the speed and link led turn off and we get a link down interrupt, multiple times and we observe TCP retransmissions on the NDK side. After a few minutes the link stabilizes and we don't see any link drops after a month of continuous operation. This does not happen every time and it depends on what type of network we are connected.
If we disable the NDK stack from starting and let the HSR/PRP switch tasks run the link is not reset. If we interrupt the MDIO connection to the phy the link is not reset.
Currently it seems that for some reason the HSR/PRP firmware on the PRU resets the link on the phys via MDIO. We haven't checked the contents of the MDIO communication during link resets yet.
Does the PRU firmware for HSR/PRP have the ability to signal the phy over MDIO to reset the link?
If it does, what are the circumstances in which this happens?
Kind regards, Marko