I2S_WIRES_ADC value is too large!

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
grinux
New User
Posts: 3
Joined: Thu Dec 21, 2017 10:11 pm

I2S_WIRES_ADC value is too large!

Postby grinux » Fri Jul 06, 2018 9:38 am

Hi.
In my USB apllication based on xk-audio-216-mc configuration i need only 16 input channels using 8 stereo ADC.
After modifying the sources i got "I2S_WIRES_ADC value is too large!" because i need I2S_WIRES_ADC = 8.

#if I2S_WIRES_ADC > 0
on tile[AUDIO_IO_TILE] : buffered in port:32 p_i2s_adc[I2S_WIRES_ADC] =
{PORT_I2S_ADC0,
#endif
#if I2S_WIRES_ADC > 1
PORT_I2S_ADC1,
#endif
#if I2S_WIRES_ADC > 2
PORT_I2S_ADC2,
#endif
#if I2S_WIRES_ADC > 3
PORT_I2S_ADC3,
#endif
#if I2S_WIRES_ADC > 4
PORT_I2S_ADC4,
#endif
#if I2S_WIRES_ADC > 5
PORT_I2S_ADC5,
#endif
#if I2S_WIRES_ADC > 6
PORT_I2S_ADC6,
#endif
#if I2S_WIRES_ADC > 7
#error I2S_WIRES_ADC value is too large!
#endif
#if I2S_WIRES_ADC > 0
};
#endif

is it safe to disable this error?
What i should do to get 8 i2s stereo (16 mono) inout channels?

Thanks.
User avatar
infiniteimprobability
XCore Legend
Posts: 1070
Joined: Thu May 27, 2010 10:08 am

Postby infiniteimprobability » Fri Jul 06, 2018 5:10 pm


Who is online

Users browsing this forum: No registered users and 29 guests