I would like to ask the question if XVF3000 support multiple I2S input?

If you have a simple question and just want an answer.
New User
Posts: 2
Joined: Mon Mar 12, 2018 3:44 am

I would like to ask the question if XVF3000 support multiple I2S input?

Postby sunny.lin » Mon Mar 12, 2018 11:05 am

The circuit design must have I2S output x1, I2S input x2
The I2S output successfully designed according to reference documents. By using X1D36、X1D37、X1D38、X1D39 connection.
But i come across the problem to design the I2S input.
Which IO port should put the I2S input?
Any one could help? Appreciated!
User avatar
XCore Expert
Posts: 984
Joined: Thu May 27, 2010 10:08 am

Postby infiniteimprobability » Wed Mar 14, 2018 4:13 pm

Hi, modifying the number of I2S should be quite straightforward. Do you use USB at all? I will assume you are using the I2S only config with xmos being I2S slave..

So the I2S in is port 1P (X1D39) and the I2S out is 1D X1D11. You can see how ports and pins map here https://www.xmos.com/published/xcore-20 ... ion=latest

Any 1b port can be an I2S input or output. So for example, you could define the following to get pin 10 from the I2S header to be an input:

Code: Select all

            <Port Location="XS1_PORT_1D"  Name="PORT_I2S_ADC1"/>

in vfspk_base_i2s_master.xn and

Code: Select all

              -DNUM_USB_CHAN_IN_FS=4 -DNUM_USB_CHAN_OUT_FS=2 \
              -DI2S_CHANS_ADC=4 -DI2S_CHANS_DAC=2

in Makefile

The extra two I2S input channels can be accessed in UserBufferManagement() in beclear_int.xc in the array sampsFromAudioToUsb[2] and sampsFromAudioToUsb[3]

Who is online

Users browsing this forum: No registered users and 21 guests