changing input/output number in app_usb_aud_xk_216_mc

All technical discussions and projects around startKIT
PhilippeV
Newbie
Posts: 1
Joined: Sun May 03, 2020 1:37 pm

changing input/output number in app_usb_aud_xk_216_mc

Postby PhilippeV » Thu May 07, 2020 8:28 am

We have purchased a XC-AUDIO-216-MC-AB evaluation board to evaluate the XMOS audio platform solution. We want to develop a 4 to 6 channels inputs and 2 channels output system for data acquisition.

1) The Windows 10 UAC2 driver functions with the version 6.12.2 of the embedded (and flashed) application but not with a compiled 6.15.2 version (from downloaded source code).
Why the version 6.15.2 of the firmware cannot be used with the Windows 10 UAC2 driver ?

2) I am trying to compile a version of the embedded application with less than 10 inputs but the capture no longer works on the PC if I change NUM_USB_CHAN_IN (I tested with 8, 6 and 4).

If I modify only I2S_CHANS_ADC, for example 4 instead of 8, I can see that the acquisition is done only on the first 4 inputs (the samples are 0 on the other 4 inputs).
I placed a break point in the decouple function (decouple.xc file, line 742, after "else if (tmp == SET_STREAM_FORMAT_IN)").
If NUM_USB_CHAN_IN = 10, I go through the break point but not with a lower even value of NUM_USB_CHAN_IN.

Is there a reason why it is not possible to decrease the number of inputs and outputs in the embedded application?

NB: I used the build configuration: 2i10o10xxxxxx
User avatar
mon2
XCore Legend
Posts: 1849
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Thu May 07, 2020 11:26 am

Hello and welcome.

Please see if this helps:

viewtopic.php?t=6806

Who is online

Users browsing this forum: No registered users and 1 guest