USB Audio 2.0 Refer. Design XR-USB-AUDIO-2.0 support file fo

If you have a simple question and just want an answer.
david4xmox
New User
Posts: 2
Joined: Sun Dec 07, 2014 8:00 pm

USB Audio 2.0 Refer. Design XR-USB-AUDIO-2.0 support file fo

Post by david4xmox »

Please help if some one has sample codes to implement USB composite Audio and HID on this board:

XR-USB-AUDIO-2.0

User avatar
infiniteimprobability
Verified
XCore Legend
Posts: 1164
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

The reference design already does this (application is app_usb_aud_l1)

In customdefines.h the following is defined:

/* Enables HID EP */

#define HID_CONTROLS       (1)
 
..so HID endpoints are there and enabled.
 
I beleive the buttons acivate the volume control on the host. The file vendorhid.xc contains the button mapping
Engineer at XMOS
davidtle
New User
Posts: 2
Joined: Sat Jan 10, 2015 7:10 am

Post by davidtle »

Please let me know where is the vendorhid.xc file located