How to determine timer offset between tiles?

If you have a simple question and just want an answer.
luator
Junior Member
Posts: 5
Joined: Mon Mar 18, 2019 2:54 pm

How to determine timer offset between tiles?

Post by luator »

Hello,
on this knowledge base page it is mentioned that the timers of separate tiles have a offset because "the
tiles may come out of reset on different times". Now we are wondering how we can measure the this offset.
We want to compare timestamps from different tiles for accurate synchronization between the tiles.


User avatar
akp
XCore Expert
Posts: 566
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

https://github.com/xmos/lib_tsn/blob/ma ... tp/gptp.xc starting at line 1397 should get what you need