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.

DP83640: Create/Send PTP messages

Part Number: DP83640

Hi,

 

I'm pretty new to the PTP/IEEE1588 implementation. In fact, I never done an Ethernet design either, not from software or hardware side.

So forgive me if the answers to my questions are pretty obvious.

 

I wonder how to create/send (sync) messages, especially when layer2 messages are used. I’d assume the CPU/MAC has to assemble the messages, write them into the PHY via the MII interface and the PHY will than add the timestamps to the message.

My question is if there’s a way to let the PHY create the message on its own. I don’t have direct access to the MII in my application and I’d like to know if it’s possible to use PTP in this situation.

I think it is not possible but I might be mistaking.

  • Hi Marcel,

    The PTP stack does live above the PHY and is needed to implement a useful implementation where errors are calculated and the PHY's clock is corrected. If you do not have access to the MII, this will be extremely hard to do.

    Best Regards,
  • Hi Rob,

    thank you for your response. I'm aware of the fact that the PTP implementation has to be done in software, I just wonder if it's even possible to perform these hardware 'handshake' (sync, follow up, ...) and timestamping when you don't have access to the MII and only to the MDIO.

    I can access all of the PHY registers but not the MII interface to send data. The MII is blocked by a proprietary MAC and I can't get direct access.

    Marcel