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.

Linux/DP83640: dp83640 SYNC without timestamp

Part Number: DP83640

Tool/software: Linux

hello:

  I use linuxptp1.8 as a slave test in my ARM  embed . use DP83640 as my phy to support hardware timestamp , use kernel 3.10 .
 I  implement ./ptp4l -E -4 -H -i eth0 -s -l 7 -m -q -p /dev/ptp0, I get the debug  message 
 port 1: received SYNC without timestamp,
in kernel  I choose like 
4) Go to Networking support -> Networking option -> Time stamping in phy devices [Select this option]
5) Go to Device drivers -> PTP clock support -> Driver for National semiconductor DP83640 PHYTER [select this option]
6) save and exit
7) build your code, DP83640 will be part of your kernel image
I read the linuxptp,timestamp for SYNC is not . I do not kown why. Can you tell me when DP83640 receive SYNC form MASTER PTP, how to general timestamp , in linux driver of d83640 I see 
PTP Receive Configuration Register 0 is be set 

Receive Timestamp Enable:
Enable Timestamp capture for Receive. 

is it enough to generate timestamp for received SYNC?

the timestamp is auto insert  to received SYNC? and how ?  is it necessary  I shoud modify drive? 

why  I  have this  "port 1: received SYNC without timestamp " wrong. what should I to do?

and  I can get   /dev/ptp0 can gettime of ptp0 ,   and  when I use linuxptp to test , my ptp clock is same to master ptp clock.
  • Hi user,

    I am not too familiar with LinuxPTP project.

    As a slave PHY, you should receive a timestamp from the master in the sync message. As you are missing the timestamp in the sync message, i believe there may be a setup problem with your master.

    What are you using as a master device?

    Best Regards,
  • Hi Rob Rodrigues
    thank you very much for your reply.

    I use a PTP master as my master . I see the linuxptp , it shows "received SYNC without timestamphave" when have not a hardware timestamp with in SYNC , IEEE1588 say when have a follown up , sync have a estimate timestamp and when it arrived, slave record it arrived time. I think I have not the arrived timestamp should be done in my slave DP83640 . when received SYNC packet , my DP83640 should analyze it and insert received timestamp and transmit to linuxptp. is it right? or how to deal with received SYNC in dp83640 ?
  • I use a PTP master as my master . I see the linuxptp , it shows "received SYNC without timestamphave" when have not a hardware timestamp with in SYNC , IEEE1588 say when have a follown up , sync have a estimate timestamp and when it arrived, slave record it arrived time. I think I have not the arrived timestamp should be done in my slave DP83640 . when received SYNC packet , my DP83640 should analyze it and insert received timestamp and transmit to linuxptp. is it right? or how to deal with received SYNC in dp83640 ?