Channel limits for I2S

Discussions about USB Audio on XMOS devices
Zip
New User
Posts: 2
Joined: Fri Oct 24, 2025 9:24 pm

Channel limits for I2S

Post by Zip »

I've been reading the manual for lib_i2s and I'm kind of confused about the resource usage limits. Looking in table 4, I see that with a MCLK of 24.576 MHz and 32-bit words, the MAX IN and MAX OUT is 1. Does that mean that I can only have one input data port and one output data port? I was hoping I could use XMOS chips to build a serious multichannel interface with 24 output channels and 16 input channels. That means 12 input ports and 8 output ports.
User avatar
Ross
Verified
XCore Legend
Posts: 1311
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

These values do look rather pessimistic and the table is a little hard to interpret, IMO. Will chase this internally.

Though, for those kinds of channel counts we'd typically expect to use a TDM interface.

Are you just wanting to do I2S -> I2S or USB -> I2S?
Technical Director @ XMOS. Opinions expressed are my own