Skip to main content
Renesas India - Knowledgebase

sf_audio_playback Module Guide Resources

Last Updated:02/28/2018


Where can I find the references to module guide resources for the Audio Playback Framework module on sf_audio_playback?


Information on the module guide itself and the associated resources and known issues are available here.


The Audio Playback Framework module provides high-level APIs for audio playback applications and handles the synchronization needed to play 16-bit pulse-code modulation (PCM) samples. The Audio Playback Framework uses the audio interface (DAC or I2S), timer (AGT or GPT) and data-transfer (DMA or DTC) peripherals on a Synergy MCU. A user-defined callback can be created to respond to the need for additional data.

The Audio Playback Framework module supports the following features:

  • Plays long buffers by splitting the data into manageable chunks.
  • Repeats playback until a ThreadX timeout (for repeated audio like sine wave tones or looped background music).
  • Requests next data using callback after last buffer playback begins.
  • Software volume control.
  • Pause and resume functions.
  • Scaling, for example to move signed 16-bit PCM data into range of the unsigned 12-bit DAC.
  • Basic mixing for multiple streams.

Module Guide

The Audio Playback Framework is used as the higher level module for the DAC and I2S hardware implementations. Refer to these module guides for the details on and resources for the Audio Playback Framework.

Audio Playback DAC Module Guide: Available here.

Audio Playback I2S Module Guide: Not yet available.

Suitable Products
SSP 1.2.0 and above
  • Was this article helpful?