The ADPCM algorithm in STM32F1xx and STM32L1xx microcontrollers

Audio data usually are very demanding in terms of memory storage, the needed memory space can be reduced by compressing the audio data via a specified compression method.

The STSW-STM32022 software solution reconstructs audio signals from compressed samples. A simple audio codec based on an adaptive differential pulse coded modulation (ADPCM) algorithm is used and advantage is taken of the powerful ARM® Cortex® M3 core.

The STSW-STM32022 is developed for standard library package and intended to be used with STM32L1xx discovery board or STM32F1xx evaluation board, therefore this implementation will be easily portable to other platforms.

For more details on ADPCM algorithm in STM32F1xx microcontrollers, refer to application note AN2931.

For more details on ADPCM algorithm in STM32L1xx microcontrollers, refer to application note AN4453.

主要特性

  • ADPCM algorithm features
    • Light memory footprint
    • Selectable sampling rates
    • Selectable quality/compression ratio
  • STM32F1 implementation features
    • Ease of use with the I²S Audio codec
    • Friendly user interface by the mean of the LCD
  • STM32L1 implementation features
    • Simple PWM audio signal generation
    • Limitation of the external components

资源

技术文档

产品规格
Description 版本 文档大小
DB2559 DB2559: Implementing the ADPCM algorithm in STM32F1xx and STM32L1xx microcontrollers 1.0 111.16 KB
应用手册
Description 版本 文档大小
AN4453 AN4453: Implementing the ADPCM algorithm in STM32L1xx microcontrollers 2.0 366.21 KB
AN2931 AN2931: 在高容量STM32F103xx微控制器中实现ADPCM 算法 2.4 217.28 KB

演示和培训资料

简报
Description 版本 文档大小
STM32 and STM8 embedded software solutions 7.0 3.12 MB

法律

许可协议
Description 版本 文档大小
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 5.2 87.58 KB

获取软件

型号 General Description Software Version Supplier Marketing Status GitHub link 下载
STSW-STM32022 The ADPCM algorithm in STM32F1xx and STM32L1xx microcontrollers 2.0.0 ST Active -

 

支持和社区


×