Audio Driver

An audio peripheral can be interfaced to most available codec devices to provide microcontroller-based audio solution. The audio driver is designed to provide raw data read and write function through different audio peripherals.

The following driver variants are available:

  • Audio DMA Driver: The driver uses a DMA system to transfer data from audio peripheral to memory buffer in RAM.

Audio Basics and Best Practice

Audio peripheral is a serial bus standard for connecting to most available codec devices to provide microcontroller-based audio solution. The driver only focus on raw data transfer, so it supports most audio protocols like I2S, TDM, PCM, even though a PDM microphone.

In most use case, the audio driver should work with some of decoder libraries. Like AAC/FLAC/MP3/Opus/Speex/WMA Decoder Library. And a thirdpart codec driver maybe included if the audio peripheral connected to a configable codec device, Like AK4662 codec have a I2C Control Interface.