We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X

Our PIC32 digital audio solutions currently focus on three areas:

  • Audio Decoders/Encoders: MP3, AAC, WAVE, FLAC, etc.
  • USB Audio: Audio playback from a personal computer, Android™ device, or Apple® device; also supports other functions like capturing microphone data, bidirectional headset functionality, communicating data for Made for iPod® (MFi) applications, as well as acting as a USB host
  • Bluetooth® Audio, Voice and Data: Wireless audio streaming via Bluetooth Classic, wireless data transmission via Bluetooth Low Energy (LE) and other functionality including Hands-Free Profile (HFP)/Handset Profile (HSP)

PIC32 Decoders and Encoders

Audio decoders are the foundation of audio playback. They decode the digital audio file information for playback via some type of speaker (headphones, PC speakers, etc.). We offer the following decoders for developing a variety of USB audio and Bluetooth audio applications:

  • AAC(1)
  • MP3(1)
  • FLAC
  • WAVE
  • SPEEX
  • OPUS
  • ADPCM

These audio decoders are the basis for many USB audio and Bluetooth audio solutions. Some of these audio decoders may need to be licensed from a third party. Visit the PIC32 Audio Decoders page for more information. We also offer PCM and ADPCM audio encoders.

(1) The MP3 and AAC decoder libraries are available for purchase from the Microchip purchasing portal.

PIC32 USB Audio

USB audio solutions enable audio streaming over USB. To support the growing number of Android and Apple devices, such as tablets and smartphones, we offer solutions that enable USB connections for Android Open Accessory (AoA), MFi and Samsung audio applications.

Our PIC32 USB audio solutions offer a flexible range of playback options and support for high-resolution audio up to 192 kHz/24 bits per sample.

In addition, the MPLAB® Harmony USB Device Libraries support both USB Audio Class 1.0 and USB Audio Class 2.0.

The MPLAB USB Audio Host Client Driver Library allows host applications to interact with and support USB Audio Class 1.0 devices.

Bluetooth Audio

Bluetooth is the standard protocol for wireless audio in smartphones, laptops and media players.

Bluetooth audio is commonly associated with the Advanced Audio Distribution Profile (A2DP), where the audio is encapsulated with Advanced Audio Coding (AAC), Sub-Band Coding (SBC) codec and high-resolution codecs like Sony LDAC™.

Our Bluetooth Library includes support for these codecs and the A2DP profile. It also includes options for HFP, HSP and Audio-Video Remote Control Profile (AVRCP) as well as for Serial Port Profile (SPP) for data.

We also offer the BM83 audio module that is Bluetooth 5 enabled for high-resolution audio (24-bit/96 kHz) and Bluetooth LE for data transmission.

Libraries and solutions are also available for implementing DSP functionality:

  • CMSIS Library: DSP functions for Arm® Cortex®-M based microcontrollers
  • DSP Fixed-Point Math Library: Dedicated libraries for the PIC32MZ family of microcontrollers

Documentation


Title
AN1422 - High-Quality Audio Applications Using the PIC32 Download
AN1367 - Porting the Helix MP3 Decoder onto Microchip’s PIC32MX 32-bit MCUs Download
AN1152 - Achieving Higher ADC Resolution Using Oversampling Download
Title
PIC24FJ1024GA610/GB610 Family Data Sheet Download
dsPIC33EPXXX(GP/MC/MU)806/810/814 and PIC24EPXXX(GP/GU)810/814 Data Sheet Download
dsPIC33FJXXXGPX06A/X08A/X10A Data Sheet Download
PIC32MZ Embedded Connectivity with Floating Point Unit (EF) Family Download
PIC32MX1XX/2XX Family Data Sheet Download
PIC32MX330/350/370/430/450/470 Data Sheet Download
PIC32MX1XX/2XX 28/44-pin XLP Family Data Sheet Download

Development Tools


Description Part Number
PIC32MX Curiosity Development Board DM320103
PIC32MM USB Curiosity Development Board DM320107
PIC32MZ Embedded Connectivity with FPU (EF) Starter Kit DM320007
PIC32MZ Embedded Graphics with Stacked DRAM (DA) Starter Kit DM320010
PIC32MZEF Curiosity Development Board DM320209
Description Part Number
BM64 Bluetooth Radio Daughter Board AC320032-3
Audio Codec Daughter Card – AK4642 AC320100
Audio Coder Daughter Card – AK7755 AC327755
PIC32 Audio DAC Daughter Card AC320032-2
Description Part Number
Explorer 16/32 Development Board
DM240001-2
MPLAB Starter Kit for dsPIC DSC
DM330011

Software Libraries


Recording and Playback Software Libraries


Audio Functions Resource Type Title and Link Supported Families
Audio and Speech Library MP3 Decoder Library for PIC32MX PIC32 MCU
Audio and Speech Library PIC32 Audio Equalizer Filter Library PIC32 MCU
Bluetooth Audio Library PIC32 Bluetooth®Audio Software Suites PIC32 MCU
AAC Playback Library AAC Decoder Library for PIC32 PIC32 MCU
Streaming Audio Demo USB Audio Headset Demo PIC32MM MCU
Record and Playback, Streaming Audio Library dsPIC33E Sample Rate Conversion dsPIC33E
Record Application Note and Source Code AN1152 - Achieving Higher ADC Resolution Using Oversampling dsPIC33E, dsPIC33F
Record and Playback, Voice Communications Library SW300026 - dsPIC® DSC/PIC24 MCU G.711 Speech Encoding and Decoding Library dsPIC33E, dsPIC33F
Record and Playback, Voice Communications Library SW300090 - dsPIC DSC G.726A Speech Encoding/Decoding Library dsPIC33E, dsPIC33F
Record and Playback, Voice Communications Library SW300070 - Speex Speech Encoding/Decoding Library dsPIC33E, dsPIC33F
Record and Playback, Voice Communications Library dsPIC DSC Equalizer Library dsPIC33E, dsPIC33F
Voice Communcations Library SW300060 - Aucostic Echo Cancellation Library dsPIC33E, dsPIC33F
Voice Communcations Library SW300080 - Line Echo Cancellation Library dsPIC33E, dsPIC33F
Voice Communcations Library SW300040 - Noise Suppression Library dsPIC33E, dsPIC33F
Voice Communcations Library dsPIC DSC Automatic Gain Control Library dsPIC33E, dsPIC33F
Record and Playback, Voice Communications GUI dsPIC DSC Speech and Audio Fast Forward (SAFF) Tool dsPIC33E, dsPIC33F
Record and Playback, Voice Communications GUI Digital Filter Design dsPIC33E, dsPIC33F
Record and Playback, Voice Communications GUI dsPICworks Data Analysis and DSP Software (use to convert PCM to WAV and back) PIC24F, dsPIC33E, dsPIC33F