PSoC® USB Audio Class Support – KBA93271

Version: *A

 

Question: Does the PSoC® family of devices support the USB Audio Class? If so, are there any example projects that can be used as a reference?

 

Answer:

All PSoC 3, PSoC 5LP and PSoC 4200L family devices that are USB capable support the USB Audio Class and conform to it as a slave device. Additionally, PSoC Creator™ supports the USB Audio Class by default. The potential applications for USB audio are quite large and at the moment, Cypress provides a limited number of example projects for reference. Two of the available example projects are included with PSoC Creator: USB_MIDI and USB_AUDIO. These projects can be obtained using the Code Example window, accessed via either the PSoC Creator Tool Bar (File > Code Example) or the PSoC Creator Start Page.

Additionally, there is a PSOC 4200L based project available as an example with CY8CKIT-046. This project with name CY8CKIT_046_USB_Audio is an advanced project. The kit software is available for download here. The project will be listed with the PSoC Creator Code Example section once the kit software has been installed.

Figure 1 shows the available USB audio projects that can be found using the USBFS keyword.

 

Figure 1. Find Example Project Window

Untitled.jpg

 

These three examples should provide the fundamental framework needed to develop a broad range of audio applications using isochronous (ISO) endpoints. In conjunction with these examples, you can use information provided in the Universal Serial Bus Device Class Definition for Audio Devices, provided by the USB Implementers Forum (USB-IF), to develop additional audio applications.

 

Note that Microsoft® Windows® 2000/XP and beyond are released with built-in Audio Class Drivers. No additional drivers need to be provided by the end user. For additional information on USB descriptors and ISO endpoints, refer to the following application notes or contact Cypress Technical Support.

 

AN57294 – USB 101: An Introduction to Universal Serial Bus 2.0

AN56377 – PSoC® 3 and PSoC 5LP USB Transfer Types