3 Replies Latest reply on Sep 27, 2018 1:30 PM by Carlos_A

    i210 PPS output offset

    susami Community Member

      Hello, I have two devices connected by ethernet and synchronized through hardware PTP.

       

      Device1: i.MX6

      Device2: i210

       

      I use linuxptp(The Linux PTP Project ) for the software on both devices and use testptp(linux/tools/testing/selftests/ptp at master · torvalds/linux · GitHub ) to enable

      PPS output from i210. The platform on both devices are Linux.

       

      Currently the synchronization looks good.

      When Device 1 is master and Device 2 is slave,

      the master offset on Device 2 is around 100ns.

       

      But when I measure the PPS timing difference of the two devices on an oscilloscope,

      i210 is 7.8us behind and the PPS timing seems to be locked (the offset is always around 7.8us).

       

      Is there a particular register for setting timing offset between phc(PTP hardware clock) and PPS on i210?

      or is it specified anywhere that there is a fixed offset from the phc to PPS output?

      or is it just that I have some configuration mistakes on either of the devices?

       

      ## The command I entered on i210 is as follows

      $ ./testptp -L0,2 -i 0

      $ ./testptp -p 1000000000 -i 0

       

      Thank you.

        • Re: i210 PPS output offset
          Carlos_A Brown Belt

          Hello, susami:

           

          Thank you for contacting Intel Embedded Community.

           

          We suggest you verify that your implementation fulfills with the requirements stated in sections 7.8.5, 7.1.6, 7.8.2, 7.8.2.2.2, 7.8.2.3, and 7.8.3.2; on pages 352, 353, 354, 355, 280, 344, 345, 347, 348, 349, and 350 of the Intel(R) Ethernet Controller I210 Datasheet document # 333016.

           

          We hope that this information is useful to you.

           

          Best regards,

          Carlos_A.

            • Re: i210 PPS output offset
              susami Community Member

              Hello Carlos,

               

              Thank you for your response.

               

              I have already checked the requirements in the i210 datasheets and was not able to

              figure out what the problem was.

               

              Are there any other suggestions?

                • Re: i210 PPS output offset
                  Carlos_A Brown Belt

                  Hello, susami:

                   

                  Thanks for your reply.

                   

                  In order to be on the page, could you please let us know if you tested 2x I210 connected back to back? In case that you answer is affirmative, please let us know a detailed description of the results.

                   

                  By the way, could you please give us the Operating System(OS) version, driver version, ptp4l version, and exact command that are related to the cited issue?

                   

                  Finally, Could you please confirm us if you have contacted the manufacturer of the other device to verify if this problem is related to their product? In case that you answer is positive, please provide all the details.

                   

                  Waiting for your answer to these questions.

                   

                  Best regards,

                  Carlos_A.