Clock syncing between usb boards

Discussions about USB Audio on XMOS devices
breadbanana
Junior Member
Posts: 7
Joined: Mon Apr 03, 2023 10:08 pm

Clock syncing between usb boards

Post by breadbanana »

Probably my question is more about usb than XMOS specifically:
When using multiple usb boards, there is any mechanism to sync them? like make one act as a master clock source and other as a slave?
For my understand the mechanisms to sync clock already exists via hardware and software as this is need for spdif / aes stuff? i'm wrong?

So is it possible to sync the clocks between two usb boards with xmos devices?

Thanks in advance
User avatar
Ross
Verified
XCore Legend
Posts: 1071
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Without modding boards, the easiest way is S/PDIF (or ADAT) as you mention. Connect the transmit of one to the receive of another. For the receive board select the appropriate clock source in the host control panel.

This is possible as the device (by default) is a async usb audio device. (I’m assuming you’re asking about the usb audio reference design here).

If you’re playing with hardware you could just bridge the master clock from one to the other directly.

Think you need to let us know exactly what your use case is before we can give much useful advice.
Technical Director @ XMOS. Opinions expressed are my own