Translation - Japanese: PSoC® の USB Audio Class サポート - KBA93271 - Community Translated (JA)
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?
All PSoC 3, PSoC 5LP, PSoC 4200L, and PSoC 6 family devices that are USB-capable, support the USB Audio Class. Additionally, PSoC Creator™ supports the USB Audio Class, by default. The potential applications for USB audio are quite large and currently a limited number of example projects are provided for reference. Two of the available example projects, USB_MIDI and USB_AUDIO, are included with PSoC Creator. You can obtain these projects using the Code Example window, accessed from either the PSoC Creator menu (File > Code Example) or the PSoC Creator Start Page.
There is a PSoC 4200L based project available as an example with CY8CKIT-046. This project, CY8CKIT_046_USB_Audio, is an advanced project. You can download the kit software here. The project will be listed with the PSoC Creator Code Example section once you install the kit software.
Figure 1 shows the available USB audio projects that can be found using the USBFS keyword.
Figure 1. Find Example Project Window in PSoC Creator
For PSoC 6, two code examples are provided: PSoC 6 MCU: USB Audio Recorder and PSoC 6 MCU: USB Audio Device with FreeRTOS. Both code examples are supported by ModusToolbox®. You can get the code examples here. In ModusToolbox, select New Application. In the Project Creator dialog, select the appropriate device and click Next. In the search box, type USB to find the list of available USB audio projects. Figure 2 shows the list of available USB audio projects for PSoC 6.
Figure 2. Select Application Window in ModusToolbox
These code 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 the 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, see the following application notes or contact Technical Support: