AVB with TDM slave X200 ? using lib_tsn

New to XMOS and XCore? Get started here.
User avatar
benbiles
Member
Posts: 11
Joined: Sat Jul 11, 2015 5:17 am

AVB with TDM slave X200 ? using lib_tsn

Post by benbiles »

AVB TDM slave exteranl clock source.png
I would like to connect SD from my DSP for AVB 8 channel IO and make an AVB endpoint.
The DSP is MASTER and generates MCLK LRCLK BCLK

I am using custom hardware but it shares the same design as evaluation boards regarding the PHY.
the audio is supplied over TDM 8 from DSP rather the directly from ADC and DAC.

I took a look at TSN 7.0.2 and AN00203 ( gigabit ethernet AVB endpoint example using TDM master.

I am wondering if its possible to make the TDM interface as SLAVE to my other MCLK generated from a DSP.

would the media clock server need to share the same clock source for the listener to stay in sync or can it sync
to the audio interface regardless ?

if its a requirement that AVB drives the MCLK of the audio hardware to stay in sync with other endpoints on the network
then I suppose the answer is that XMOS must be MASTER ( be able to condition the speed of the MCLK and the hardware ! )

if this is the case the I will need to use a CS2100-CP ( or similar ) to drive the DSP clock source while the device is in AVB mode.
You do not have the required permissions to view the files attached to this post.
User avatar
benbiles
Member
Posts: 11
Joined: Sat Jul 11, 2015 5:17 am

Post by benbiles »

I think I just answered my own question here , but any additional thoughts would be appreciated !