In today’s example we are including a demonstration project for supporting Audio playback and audio recording using USB digital audio. The PSoC 5LP communicates with any USB host, provides a high-quality recording interface to it, and extras high-quality digital audio from the USB host. In this example we show the PSoC 5LP device communicating to:
- Raspberry Pi
- BeagleBone Black
This example project utilizes the PSoC 5LP device on the PSoC 4 Pioneer Kit. This example has the following features:
- Audio-out (I2S)
- Audio-in (PDM Mic)
- USB Host Interface
- Volume Control
The firmware was designed and tested with PSoC Creator 2.2 SP1.
Forum Post Attachments:
At the bottom of this post we are including the following items:
- Example Project Zip File
- Project Images
- Example Documentation
The user can download the example project at the bottom of this post. The project uses the following list of Creator Components:
The main.c firmware is included in the example project. Please review the commented sections for more details.
Attached to this example project is a detailed example description. In this file we include a detailed write up of the external hardware used in the example, the internal firmware architecture, and how to recreate the system on your own. Please feel free to review this document for a detailed understanding of how the example is designed and used.
We are also listing the custom components, hardware, and firmware files necessary to create this example. Please feel free to download the zip file for more information.
The hardware connections are detailed in the attached zip project. We include the codec board schematics in the documentation folder.
Test Your Project:
Please see the below image of the example in action.
I hope this example can help you in your design.