lpcware

Trying combined USB audio in and out on LPC1857

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Skyle on Thu Jun 20 03:59:08 MST 2013

I am trying to create an example with both a Mic and a speaker, using tje LPC open (1.03) USB lib. Using the support for the built in USB drivers. I have succeeded in geting microphone axample to work, and the speaker example works. But i am now trying to merge them into a combined device. The enumeration fails when I try to connect to a PC.


 


I am unsure if I just do something wrong with the descripotrs, or if there is something more "devious" with the code. I am unsure about how to handle the structure: USB class info. In the mic example it cintains the In endpoint number, in the speaker example it contains the out endpoint number (same?) and by looking at the initi code where the structure is referenced, it seems not to be possible to finn in both endpoint variables.


 


Hope someone has an example to share.


 


/Skyle

Outcomes