Please help if some one has sample codes to implement USB composite Audio and HID on this board:
XR-USB-AUDIO-2.0
USB Audio 2.0 Refer. Design XR-USB-AUDIO-2.0 support file fo
-
- New User
- Posts: 2
- Joined: Sun Dec 07, 2014 8:00 pm
-
Verified
- XCore Legend
- Posts: 1164
- Joined: Thu May 27, 2010 10:08 am
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
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