Hi all,
I'm using the XK-USB-MIC-UF216 board (8 microphones, Processor: xCORE-200 XUF216) and need to dump the recorded PCM samples to the PC please somehow,
(I need it so I could analyze the 8 channels offline building some voice algorithm),
Does anyone have any experience doing so please? Any suggestions on how to do it please?,
Thanks!
Dumping Recorded PCM samples
-
- Member
- Posts: 14
- Joined: Sun Jan 08, 2017 3:56 pm
-
- XCore Addict
- Posts: 185
- Joined: Tue Mar 26, 2013 12:10 pm
Hi,
Yes, you should be able to do this with the standard firmware.
I do this all the time, with Audacity.
Have you plugged the board into a USB port to confirm connectivity ?
If the board is not programmed you can download the USB Audio 2.0 Device Software - source code from the mic array page : https://www.xmos.com/support/boards?product=20258
You can build the firmware in xtimecomposer and flash the board.
Best regards,
John
Yes, you should be able to do this with the standard firmware.
I do this all the time, with Audacity.
Have you plugged the board into a USB port to confirm connectivity ?
If the board is not programmed you can download the USB Audio 2.0 Device Software - source code from the mic array page : https://www.xmos.com/support/boards?product=20258
You can build the firmware in xtimecomposer and flash the board.
Best regards,
John
-
- Member
- Posts: 14
- Joined: Sun Jan 08, 2017 3:56 pm
Thanks John for the quick response,
I've installed TUSBAudio_v3.34.0 (Thesycon) but the board is not recognized - No connectivity,
Do I need to program the board first? If so, how do I do it please?, under USB Audio 2.0 Device Software... Which project do I use and how do I flash the board please?,
Thanks,
David
I've installed TUSBAudio_v3.34.0 (Thesycon) but the board is not recognized - No connectivity,
Do I need to program the board first? If so, how do I do it please?, under USB Audio 2.0 Device Software... Which project do I use and how do I flash the board please?,
Thanks,
David
-
- XCore Addict
- Posts: 185
- Joined: Tue Mar 26, 2013 12:10 pm
Hi David,
You need to build the app_usb_aud_mic_array. You only need the driver if you build for uac2.
The flash button is in the button bar at the top of xtimecomposer or you can right click on the project and it is in the pop-up menu.
The USB Audio Design Guide provides full details. It is on the mic array downloads webpage.
All the best,
John
You need to build the app_usb_aud_mic_array. You only need the driver if you build for uac2.
The flash button is in the button bar at the top of xtimecomposer or you can right click on the project and it is in the pop-up menu.
The USB Audio Design Guide provides full details. It is on the mic array downloads webpage.
All the best,
John
-
- Member
- Posts: 14
- Joined: Sun Jan 08, 2017 3:56 pm
Hi John,
I've tried compiling app_usb_aud_mic_array with both 1i8o2 & 2i8o2 options but “app_usb_aud_mic_array_2i8o2.xe” is not created,
I’m using “sw_usb_audio-[sw]_6.15.2rc1” package,
Not sure why would hat happen,
Thanks,
David
I've tried compiling app_usb_aud_mic_array with both 1i8o2 & 2i8o2 options but “app_usb_aud_mic_array_2i8o2.xe” is not created,
I’m using “sw_usb_audio-[sw]_6.15.2rc1” package,
Not sure why would hat happen,
Thanks,
David
-
- XCore Addict
- Posts: 185
- Joined: Tue Mar 26, 2013 12:10 pm
Are you using the correct tools version ?
What is the error message ?
John
What is the error message ?
John
-
- XCore Addict
- Posts: 185
- Joined: Tue Mar 26, 2013 12:10 pm
This might help : https://www.xmos.com/news/videos/17694
It's not for the mic array but might be useful.
John
It's not for the mic array but might be useful.
John
-
- Member
- Posts: 14
- Joined: Sun Jan 08, 2017 3:56 pm
Console output when building the project:
.
.
Few warnings
.
. ^
1 warning generated.
Compiling i2c_shared.c
Compiling flashlib_user.c
xmake: *** [bin/1i8o2/app_usb_aud_mic_array_1i8o2.xe] Error 2
Tools version: Community_14.2.3 (build 15642, Oct-17-2016)
.
.
Few warnings
.
. ^
1 warning generated.
Compiling i2c_shared.c
Compiling flashlib_user.c
xmake: *** [bin/1i8o2/app_usb_aud_mic_array_1i8o2.xe] Error 2
Tools version: Community_14.2.3 (build 15642, Oct-17-2016)
-
- XCore Addict
- Posts: 185
- Joined: Tue Mar 26, 2013 12:10 pm
Did you create a new workspace and import the USB firmware as per the video ?
John
John
-
- Member
- Posts: 14
- Joined: Sun Jan 08, 2017 3:56 pm
Yes I did and I have found the problem with it,
Need to tick "Copy projects into workspace",
In your video it is ticked by default,
Once ticked the .xe is created under the right folder,
Moving forward now to the flash...
Need to tick "Copy projects into workspace",
In your video it is ticked by default,
Once ticked the .xe is created under the right folder,
Moving forward now to the flash...