FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6486 Discussions

LinuxPTP using intel TSE MAC IP

vitor_woyakewicz
Beginner
1,229 Views

This is my first time on the Intel Community Forum, so I apologize if i dont follow some community guidelines.

 

I am trying to make an implementation for PTP time synchronization using a DP83640 PHY + intel TSE MAC + LinuxPTP stack. The Hardware Time Stamps are created in the PHY and the Linux PTP stack receive this information through the TSE MAC via MII. 

 

Checking the time stamp capabilties of my ethernet adapter using ethtol -t eth0 i get the following:

thumbnail_image001.png

Apparently, i should be okay to use the linuxPTP software, however, when i try to run it or even use the debug tool hwstamp_ctl i get the following:

thumbnail_image002.png

I thought i configured all the drivers correctly, as well as the device tree. It seems to be a driver related problem. Does anyone have any idea of what the problem could be?

 

I am using Linux Kernel Version: 5.4.94 and LinuxPTP Version: 3.1

 

 

 

 

0 Kudos
6 Replies
paveetirrasrie_Intel
1,194 Views

Hello Vitor,


I'm currently discussing with teammates on this issue. Will definitely come back on this once I have a proper fix for this.

Meanwhile, can you confirm that the ping is working, just to make sure the ethernet link is up and running.


Regards,

Pavee


0 Kudos
vitor_woyakewicz
Beginner
1,186 Views

Hi Paveetirra,

 

I apreciate the response. The ethernet link is perfectly fine, i am using it for a few months now. SSH and SCP works with no problem. The only thing that doesnt seems to work is the ptp timestamping.

 

Best regards,

Vitor.

0 Kudos
paveetirrasrie_Intel
1,162 Views

Hello Vitor,


Apologize for the delay. I don't think we have tested Linux PTP on TSE. Well not that I'm aware of.

I would suggest is to check hardware PTP clock master ad its connection. From software point of view, try to understand TSE IP register enablement.


Regards,

Pavee


0 Kudos
vitor_woyakewicz
Beginner
1,152 Views

Hello Pavee,

 

I appreciate the help. I will study the TSE IP and PTP clock master connections.

 

Best regards,

Vitor Augusto Woyakewicz

0 Kudos
paveetirrasrie_Intel
1,147 Views

Hello Vitor,


Good day.

You could also check TSE MAC configuration through example design in AN647. I have attached the link for your reference. Try to compare the MAC configuration with your design.

Kindly download the example design and unarchive, there is a file called "config.tcl", this file contains the TSE MAC register setting. System console will source this file to configure the TSE MAC register.


https://www.intel.com/content/www/us/en/docs/programmable/683344/current/single-port-triple-speed-ethernet-and.html


Regards,

Pavee



0 Kudos
paveetirrasrie_Intel
1,135 Views

We do not receive any response from you to the previous reply that I have provided. This thread will be transitioned to community support. 

If you have a new question, feel free to open a new thread to get the support from Intel experts. 

Otherwise, the community users will continue to help you on this thread. 

Thank you.



0 Kudos
Reply