How many I2S with different sample rates can be used on xCORE-200 eXplore

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
Post Reply
ciphertext
Member
Posts: 9
Joined: Mon Nov 08, 2021 10:40 am

How many I2S with different sample rates can be used on xCORE-200 eXplore

Post by ciphertext »

Hi all,

Recently, I got a new requirement with using xCORE-200 eXplore, that command was "It needs xCORE-200 eXplore to offer two I2S / TDM signal sets with different sampling rate"

For example, due to our application, we have all ready configured the first I2S set as master with SR = 32KHZ.
Now we need to configure another set of I2S as master with offering BCLK & LRCK only with with SR=16Hz or 8Khz.

The only method in my mind is to use counters to divide the signals of the first set.
Is it any other smarter methods?
Thanks


mmar
Experienced Member
Posts: 122
Joined: Fri Jul 05, 2013 5:55 pm

Post by mmar »

I dont see problem on X200 for this. You can use based on free pins... And no you dont need counter all can be sync or independent
ciphertext
Member
Posts: 9
Joined: Mon Nov 08, 2021 10:40 am

Post by ciphertext »

I have tried to control I2S on the different Tile, and it seemed successful. There were two I2S signals can be captured by LA.
Is it any other method to make the two I2S on the same tile?
User avatar
akp
XCore Expert
Posts: 578
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

There's no fundamental reason you can't do it so long as you have enough IO and cores available. I think using two cores will work better than one core. It's a pretty low bandwidth so you might be able to do it in a single core but it will probably be a little harder. You might have to change some existing code, in case it was written like there can only be one I2S task per tile.
Post Reply