USB slicekit Audio

If you have a simple question and just want an answer.
Post Reply
ejolson9
Member
Posts: 12
Joined: Mon Aug 10, 2015 8:55 pm

USB slicekit Audio

Post by ejolson9 »

Hello,
I'm trying to run the USB 2.0 Audio Device software from here: https://www.xmos.com/support/boards?pro ... 3&secure=1 

on an xCore - USB slicekit. I don't have an audio slice, so obviously I won't actually be able to listen to the output.  Does not having this audio slice mess up the usb audio code though?  I am running the 2io_tdm16 build configuration if it matters.

For example, I've added printf() to trace the calls in endpoint0.c in module_usb_audio(using the xscope print), and currently it at line ~348 (will be slightly off because I have print statements) the software seems to hang  at :

chkct(c_audioControl, XS1_CT_END);
For context, this is the surrounding code, with my debug prints still there: 

--removed becuase I couldn't format it nicely,  see the attached snippet--

Is this hang intentional?  If I need the an audio slice, is there some way to modify the code to not need this?
 
The reason for this question is I need to add an additional usb interface for configuring a custom developed board.  This works in a separate test application where I only have the configuration interface, but when I try to add it to the usb audio example I am running into driver issues...
 
Thanks,
Erik 
Attachments
endpoint0_code_snippet.c
(1.31 KiB) Downloaded 437 times
endpoint0_code_snippet.c
(1.31 KiB) Downloaded 437 times


Post Reply