Other Parts Discussed in Thread: AM4376
Hello experts,
this thread has been created as a duplicate for the processor forum thread e2e.ti.com/.../943825.
Dhaval Khandla asked me to create this thread, because he assumes an issue regarding the PHY startup time. So we would like to include the PHY experts.
Issue description
We are operating with out custom hardware platform that uses a TI AM4376 CPU and two TI DP38322 PHYs. Both PHYs are utilized by the PRU-ICSS and the EtherNet/IP adapter v1.0.3.4. Whith this configuration, we observe the following behavior:
- After initialization of the ICSS_EMAC and the PRU firmware a link is successfully detected on one external port and a link interrupt is being issued.
- The ISR informs the ICSS_EmacLinkISR and the application about the changed link status.
- The application then sets-up a static IP address and then sends one or more a broadcast ARP requests to the network.
Depending on the link partner one or more ARP packets are not transmitted on the network. Adding a delay before calling ICSS_EmacTxPacket the first time, all ARP packet are being sent on the Ethernet bus.
I did some further testing with two different link-partners using automatically negotiated and fixed speed settings:
NIC: Intel(R) Ethernet I210-T1 GbE
Autonegotiation: Initial packets are lost on link up.
100M/HD/FD: Initial packets are lost on link up.
NIC: Intel(R) PRO/1000 PT
No packet loss detected.
Switch: D-LINK DGS-1210-10P
Autonegotiation: Initial packets are lost on link up.
100M/HD/FD: Initial packets are lost on link up.
It seems that the issue does not occur when using my "Intel(R) PRO/1000 PT" NIC which is quite an old hardware.
Using a newer NIC or a managed switch, the issue can be observed.
Best regards
Stefan