Hello,
I have designed a board with 2 Audio ADCs chained for TDM16 mode. The board is hardwired to produce a TDM16 stream (where the first 8 slots are from the first ADC and the last 8 from the 2nd).
How can I adopt the USB Audio Example to support TDM16 mode? This will be also important for future products, as I am using a ADAU1467 DSP in TDM16 mode.
TDM16?
-
Verified
- XCore Legend
- Posts: 1071
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
Assume the word-clock/sync line is appropriate for "TDM 16"? i.e it has an edge every 16 samples, not 8?
This would come under "unsupported" but the first thing to try would be setting the following and see how you get on:
XUA_PCM_FORMAT = XUA_PCM_FORMAT_TDM
I2S_CHANS_PER_FRAME = 16
This would come under "unsupported" but the first thing to try would be setting the following and see how you get on:
XUA_PCM_FORMAT = XUA_PCM_FORMAT_TDM
I2S_CHANS_PER_FRAME = 16
Technical Director @ XMOS. Opinions expressed are my own
-
- New User
- Posts: 3
- Joined: Sun Sep 01, 2024 6:05 pm
Currently waiting for new boards to arrive - will report the results.
-
- Member++
- Posts: 25
- Joined: Sat Jul 08, 2023 5:15 am
I can’t speak to the USB stack but I’m using TDM16 (at 48k) in my mixer. It doesn’t use any of the lib_i2s code though.