PTP on XCore-200 Topic is solved

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
RedDave
Active Member
Posts: 53
Joined: Fri Oct 05, 2018 4:26 pm

PTP on XCore-200

Postby RedDave » Fri Feb 01, 2019 2:32 pm

View Solution
RedDave
Active Member
Posts: 53
Joined: Fri Oct 05, 2018 4:26 pm

Postby RedDave » Tue Feb 05, 2019 11:04 am

Since I have no response here, I'll report back on my findings for future readers.

The Time Sensitive Networking has what I need. lib_tsn includes the ptp_server that should give me all the functionality that I need.
User avatar
akp
Respected Member
Posts: 258
Joined: Thu Nov 26, 2015 11:47 pm

Postby akp » Tue Feb 05, 2019 3:06 pm

lb_tsn has PTP but it's not compatible with every 1588 profile. It is 802.1AS which I guess is a particular profile of 1588? Or something to that effect. It uses raw ethernet frames, not UDP like you (or your customer) might be expecting. So it will work with specific NICs (e.g. Intel I210 with the OpenAvnu gPTP code and Macs with thunderbolt ports).

If you need to use UDP you might need to modify the underlying PTP code to work with xtcp or another udp interface (e.g. if you need lighter weight) rather than using raw ethernet frames like lib_tsn. You will probably want to still make use of the timestamping feature of the real time mac I suppose. Perhaps you could port linux ptp to work?? That might not be too hard to get working with xtcp.

Who is online

Users browsing this forum: No registered users and 3 guests