USB Audio problem with a new HID Endpoint

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
User avatar
franksanderdo
Experienced Member
Posts: 69
Joined: Sat Apr 30, 2011 6:19 pm

Post by franksanderdo »

Hi DIrk,

can you give me a hint were it went wrong?
Was my approach totally the wrong direction?

Regards
Frank
(P.S. is it that we could have discussed easier in german language?)


dirk1980
Active Member
Posts: 32
Joined: Fri Oct 07, 2011 3:20 pm

Post by dirk1980 »

Only inside the Buffer thread it is allowed to send Data.

But i don't have solved my problem.
Because i don't understand this system.
User avatar
franksanderdo
Experienced Member
Posts: 69
Joined: Sat Apr 30, 2011 6:19 pm

Post by franksanderdo »

Hi Dirk,

what do you mean with "I don't understand the system"
Is it the parallel Processing the issue?

I you feel for it we can discuss via Mail.

Regards
Frank
dirk1980
Active Member
Posts: 32
Joined: Fri Oct 07, 2011 3:20 pm

Post by dirk1980 »

I don't understand the USB Audio Software system and the way of sending Data.

Today , after some hours, i found the documentation of the USB stuff (thanks new Web Page).
Now i must read to understand what thy have done inside the USB Audio system.

The parallel Processing is nothing special.
All my systems are working with a RTOS, there is no big difference.

Dirk
dirk1980
Active Member
Posts: 32
Joined: Fri Oct 07, 2011 3:20 pm

Post by dirk1980 »

I have create a new Thread for my HID stuff and my System is now working.

But maybe some one can explain how the inline send function works.
There is not documentation about this.

Dirk
User avatar
Ross
XCore Expert
Posts: 966
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Sorry, I somehow missed this thread until now...

The new 6.1 release has HID support and you should find the USB buffering a bit easier to understand.
egawtry
Member
Posts: 12
Joined: Thu Aug 18, 2011 9:51 pm

Post by egawtry »

Ross wrote:The new 6.1 release has HID support and you should find the USB buffering a bit easier to understand.
What kind of HID support? We have found that the new driver is blocking our HID interface.

-Erik
User avatar
Ross
XCore Expert
Posts: 966
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

I've just had a look at your previous post regarding adding SetBuffer() in decouple. This SetBuffer() call will not complete until the host polls this endpoint for data - so you are going to hold up the whole audio system like this.
User avatar
Ross
XCore Expert
Posts: 966
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

egawtry wrote:
Ross wrote:The new 6.1 release has HID support and you should find the USB buffering a bit easier to understand.
What kind of HID support? We have found that the new driver is blocking our HID interface.

-Erik
By default items such as play/pause, back/next, vol up/down. Of course this can be customised.

A current restriction of the free driver is the blocking of other interfaces such as HID I'm afraid.