I2S_WIRES_ADC value is too large!

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
grinux
New User
Posts: 3
Joined: Thu Dec 21, 2017 10:11 pm

I2S_WIRES_ADC value is too large!

Post by grinux »

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.


Post Reply