xCORE-200-MC-AUDIO Question

If you have a simple question and just want an answer.
Alfred Goh
Newbie
Posts: 1
Joined: Fri Sep 01, 2017 6:16 pm

xCORE-200-MC-AUDIO Question

Postby Alfred Goh » Sat Sep 02, 2017 10:32 am

Hi,

I am new to this platform. Currently starting to look at xCORE-200-MC-AUDIO and development tools.

I have 2 questions:


1. Here is the issue, I downloaded and imported, sw_usb_audio_[sw]_6.15.2rc1, app_usb_aud_xk_216_mc.
The built configuration was 2i10o10xssxxx, no code was modified. When I connect to my Macbook Air and Pro, the audio plays. However, when I connect to my Window 10 Home system (after running XMOS_TUSBAudio_eval_v4.11.0_2017-05-16_setup) and directed to XMOS XK-AUDIO-216-MC-AB...the device status shows "This device cannot start (Code 10)...{Operation Failed} The requested operation was unsuccesful."...Same issue on Windows 7. What am I doing wrong?


2. 1. What is the firmware configuration that came with the xCORE-200-MC-AUDIO board? Anyway I can re-build with the same factory configuration and flash to the factory version that came with the board?


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

Postby infiniteimprobability » Mon Sep 11, 2017 3:09 pm

Hi,
1) may be the case if the device has crashed and is no longer available to service requests from the USB host. Have you run it on the debugger to find out what happens to the target in this state? xrun --dump-state can be handy if you do't want to use xgdb. It's only a guess.. Also, try something simpler liker 2i10o10xxxxxx and see if that runs. It should all work OK but I'm wondering if enabling spdif Rx is an issue for the driver..

2) Default image is app_usb_aud_xk_216_mc_2i10o10xsxxxx.xe (so no input SPDIF). I would recommend building and running a freshly built version rather than relying on the default image on a board that may have been in stock a while
alexjaw
Member++
Posts: 25
Joined: Wed Jan 24, 2018 9:13 am

Postby alexjaw » Wed Feb 07, 2018 11:05 am

I'm trying the build configurations app_usb_aud_xk_216_mc_2i10o10xsxxxx.xe and 2i10o10xssxxx without success. usb works but not spdif/toslink. I have used usb as source when testing spdif/toslink tx. There is no optical signal but there is a digital signal on spdif tx, however, it's there even without any input signals. Pk-Pk 1.2 V without coax connected, 600 mV when connected. Frq = 1.4MHz, LRCLK = 44.1kHz. Is there something that must be adjusted in the code (customdefines, etc...) or on the board (jumper settings?) in order to use spdif/toslink rx/tx?

(AN00231 _asrc demo and AN00162_i2s demo works out of the box)
User avatar
infiniteimprobability
XCore Legend
Posts: 1049
Joined: Thu May 27, 2010 10:08 am

Postby infiniteimprobability » Thu Feb 08, 2018 11:33 am

You know that SPDIF is mapped to channels 8/9 by default in customdefines.h?

/* Channel index of SPDIF Rx channels (duplicated DAC channels 1/2 when index is 0) */
#define SPDIF_TX_INDEX (8)

/* Channel index of SPDIF Rx channels */
#define SPDIF_RX_INDEX (8)


Make sure you are listening/sending on these channels or modify your config..

Who is online

Users browsing this forum: No registered users and 15 guests