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.

SYNC Transmit timestamps of PTPV2 on the DP83640

Hi,
I can't get the SYNC transmit timestamps of PTPV2 on the DP83640.
I use Two_Step that means it has a follow up message.I use "wireshark" to monitor transmit packets what I sent is PTPV2.I see ''Software Development Guide 3.1.2.1 Transmit Timestamp Configuration'' and "DP83640 Software Design Guide and C Software Reference Library" to configurate the DP83640.
When read the PTP_TDR, I see the time run.
When send SYNC message, the code below has no events and the fllow up message has no origintimestamp.
        events = PTPCheckForEvents( portHandle);
        if ( events & PTPEVT_EVENT_TIMESTAMP_BIT)
        {
             PTPGetEvent( portHandle, &eventNum, &riseFlag, &seconds_ts, &nanoseconds_ts, &eventsMissed);
        }
  • Hi,

    Transmit timestamps and event timestamps are associated with different functionality.  An event timestamp is not normally generated upon transmission of a Sync packet.  

    The lack of a transmit timestamp in the Follow_Up packet could be due to the register configuration or to the format of the Sync packet.  Could you provide the complete register configuration for the device and the Wireshark output in .pcap format?

    Patrick

  • Hi,
    Patrick
    I get you.If I sent a Sync packet(v2), the transmit timestamp will be in the Follow_Up packet and the event will not be respond.

    Now, The transmit timestamp can be filled in the Sync packet with One-Step and Two-Step.I can understand the transmit timestamp of Sync packet in the One-Step, but why is it in the Two-Step of Sync and not in the Follow_Up?