Different audio formats for USB IN and OUT

Technical questions regarding the XTC tools and programming with XMOS.
genap
Experienced Member
Posts: 99
Joined: Sat Aug 31, 2013 11:23 pm

Different audio formats for USB IN and OUT

Post by genap »

Is it possible to use different audio formats for USB IN and OUT?
In my current design (XUF208) due to DSP limitations I need to use 8 IN channels (TDM8) and 4 OUT channels (TDM4).
I realize that it would require 2 sets of audio clocks.
If it is possible, what would be a way to implement it?

Thank you,
Gennady


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

Post by akp »

Hi

I don't think those are USB IN and OUT formats. Those look more like TDM out and in formats (i.e. to dac / from adc), so I don't think the USB interface itself would care. All it needs to know is you have 8 in channels and 4 out channels. Do you have to use TDM8? Why not use 2 lanes of TDM4 for the IN and 1 lane of TDM4 for the OUT. That wouldn't require a 2nd bitclock.
genap
Experienced Member
Posts: 99
Joined: Sat Aug 31, 2013 11:23 pm

Post by genap »

Thank you, akr.
You are right, I meant digital in and out audio formats.
I used tdm8 due to absence of available port on dsp.
I am trying now to free another dsp port so I can use two tdm4 instead of tdm8.