Company  
ST Home | Microcontrollers | STM32 | STM32 DSP software library

STM32 DSP software library

The STM32 speech-codec software library enables you to transmit longer messages and store more speech data. The Speex codec high-compressionformat and small embedded-memory footprint allows you to design cost-effective solutions for narrowband bitrates. Speech is sampled at 8 kHz by the STM32’s on-chip 12-bit 1 µs ADC and encoded and compressed at a 16:1 ratio fixed 8 Kbit/s bitrate. Encoded compressed data is stored in the STM32 embedded Flash (1 Kbyte/s of speech). Speech decoded data is output by the STM32 16-bit PWM timer.  
 
STM32 speech codec software library - 32-bit microcontroller families
The STM32 speech codec software library includes:
bullet Playback: decoding and playing of a Speex-encoded message stored in the embedded STM32 microcontroller Flash memory
bullet Record and play: storing voice messages in the STM32 embedded Flash and playback
bullet Loopback: encoding and decoding processes are executed in real-time
The STM32 speech codec software library is developed in C and assembled on the latest IAR and KEIL tool chains. It is supported by well-documented application notes for the STM32 family.
 
STM32 Speex-codec resources:
STM32 Speex-codec narrowband mode resources
Encoder Program memory size
32 KB
RAM memory size
6.5 KB
Encoder CPU load @ 72 MHz
52 %
Decoder Program memory size
32 KB
RAM memory size
3.7 KB
Decoder CPU load @ 72 MHz
8 %
 

Applications

Building and home security systems
bullet Alarm panels
bullet Security cameras
 
Portable medical equipment
bullet Alarm panels
bullet Security cameras
 
Home appliances
bullet Answering machines
bullet Washing machines
 
Various speech codec-enabled applications
bullet Toys
bullet Educational toys
bullet Voice recorders
bullet Radar detectors
bullet GPS
bullet Fleet management
 

Software and documents

STM32 Speech Codec Software library