×
32-Bit MCUs
-
32-Bit MCUs
- SAM 32-bit MCUs
- PIC 32-bit MCUs
- CEC 32-bit MCUs
- Legacy Products
- Development Boards
- Software Tools for PIC, SAM and AVR MCUs
-
Applications, Reference Designs and Solutions
- Audio Player/Recorder
- Bluetooth® Low Energy-Based Weather Station
- Die Cutting Machine
- Fitness Tracker/Wearable Solution
- Graphical User Interface
- Human Machine Interface (HMI) for Diagnostic Tool
- Location-Tagged SOS, Asset Tracking or Vehicle Tracking
- Motor Control
- Robotic Vacuum
- SD Card Audio Player
- Smart Home Lock
- TCP/IP Networking
- USB Device/Host Applications with 32-bit Microcontrollers
- USB Mass Storage Device with Multiple Drives
- Wi-Fi® Remote Control for Lighting or Appliances
- 32-bit Embedded Security
- 32-bit Functional Safety
- 32-bit Motor Control
- 32-bit Low Power
- Graphics
- Softpacks
- Other Tools and Resources
- Third Party Partners
- PIC18F to PIC24F to SAMD2x Migration and Performance Enhancement Guide
SD Card Audio Player
Audio provides a means of communication, improves the usability of a product and delivers entertainment. It can transform the mood of an environment, help us escape a noisy commute, make a device simple and intuitive to use and improve the quality of life for the visually impaired.
This SD card audio player reads .wav format audio files from an SD card and plays the audio through a codec. It also provides a feature to switch to the next track on the media.
Here’s a brief overview of the demo:
- The Curiosity PIC32MZ EF 2.0 Development Board reads the audio files from the SD card, which is mounted on the microSD click board
- The audio is played through the codec provided by the PIC32 Audio Codec Daughter Card – AK4954, which is placed on the X32 header interface on the Curiosity board
- The sdcard_player application plays .wav files from the SD card and uses the File System Service to read/write data on the SD card
- The SD card driver uses the SPI driver to interact with the SD card
- The audio data read from the SD card is decoded by passing it to the WAV decoder
- The codec driver sends the audio data to the AK4954 codec via the I2S™ driver, which uses Direct Memory Access (DMA) to transfer the audio data



Application Demos
Resources
Related Products
Required Hardware Tools | Design Files |
---|---|
Curiosity PIC32MZ EF 2.0 Development Board | Download |
PIC32 Audio Codec Daughter Card - AK4954 | Download |
microSD click from MikroElektronika | Download |
microSD™ Card |