Integer clock cycle slip with AVB-DC + Mac Aggregate

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
User avatar
larry
Respected Member
Posts: 275
Joined: Fri Mar 12, 2010 6:03 pm

Post by larry »

Could it be the Mac that's slipping? Do streams have identical timestamps before and after failure?


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

Post by akp »

I really don't know how to show that but if you give me an idea I can try it out. What I have found is that playback doesn't seem to be affected, just record.

It occurs when the frame clocks on two boards go out of sync and then resync. Usually the 48kHz clocks are phase locked. But sometimes they go out of lock and then relock. This is when the cycle slipping in record appears.
User avatar
larry
Respected Member
Posts: 275
Joined: Fri Mar 12, 2010 6:03 pm

Post by larry »

If you can find a way to capture traffic outgoing from the Mac, then we can look for the point of failure and check that 1722 timestamps remain valid on both streams at the point of failure and that they are in sync with each other. A wire-tap such as the throwing star is perfect for this.

https://greatscottgadgets.com/throwingstar

It could be that the unlocking is how an endpoint reacts to a timestamp discontinuity after which everything is off by 1 (or more) for some reason.
Post Reply