This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3356 PRU-ICSS Ethernet RX Packets but no TX over 10BASE-T with DP83640 PHY

Other Parts Discussed in Thread: AM3356, DP83640

I recently had the problem where there was no Ethernet connectivity to a network with a custom piece of hardware that has an AM3356 MPU and DP83640 Enet PHY on it.  We are running the Molex Profinet stack and using the PRUs to handle the MAC layer stuffs using the pre-canned hex images that come with the Profinet Slave example in the Industrial SDK.  I have the board auto-negotiating just fine, no matter the speed/duplex as I have some diagnostics running on the target board that gives me the current state of the PHY registers on PHY state change.  Also, 100BASE-T FD and HD speed/duplex pairs both work through PHY to application layers just fine whether I auto-negotiate or force the speed/duplex.  So I know that the hardware is plumbed up correctly, at least for 100BASE-T connections.

What I am stuck on is 10BASE-T FD and HD.  The PHY on the target board can make a physical connection with the PHY of an external device.  I can even PING the target board and see that the packet gets received and the the PONG response gets to the point where the packet is getting passed into the PRU.  But the external device never sees the PONG packet.  To me, that means that either the TX settings in the DP83640 need to be changed or some setting in the PRU or AM3356 need to be changed to handle 10BASE-T, but I am having trouble figuring out what exactly needs to be changed.  It looks like the DP83640 is set up properly after scouring the user's guide multiple times, thought the problem could still be there.  I suspect the problem lies in the PRU or some base AM3356 registers.  If I figure this out before I get a response I will post the resolution here.

Thanks,

Trevor

  • Hi Trevor,

    Profinet slave firmware for PRU's does not support 10 Mbps and Half Duplex modes. Profinet standard supports only full duplex and 100 Mbps modes. Is there any other reason you are trying 10 Mbps ?

    Are you facing any difficulty in 100 Mbps and Full duplex mode operations ?

    Regards,

    Robin Singh

     

     

  • Is there any other reason you are trying 10 Mbps? Yes.  The customer must be able to support ancient networks that still run on 10BASE-T networks, not running Profinet. The customer will have the the option to disable Profinet and run on legacy systems.

    Are you facing any difficulty in 100 Mbps and Full duplex mode operations? Nope!  It is working great on 100BASE-T networks.

    - Trevor

  • Hi Trevor,

    Profinet PRU Firmware doesn't support 10 Mbps.

    One way to deal with this issue is that you use "ethernetip_adapter" application from our SDK. It supports both the 10 Mbps and half-duplex mode. So, you will have to switch between the Profinet and "ethernetip_adapter" applications.

    Regards,

    Robin Singh

     

  • Thank you very much Robin. I was able to make this work. Not sure what the customer is going to do from a production/marketing perspective, but hey, it is what it is.

    - Trevor