STM32-MP3NL/DEC. STM32 audio engine MP3 decoder library. Description. Features

Similar documents
AN2667 Application note

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

AN2676 Application note

AN4113 Application note

AN2672 Application note

STEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description

AN626 Application note

AN3996 Application Note

STM3210B-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

STM32-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

STM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description

AN2470 Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features Description

AN2143 Application note

EV-VNQ5E050AK VNQ5E050AK evaluation board

AN3980 Application note

AN3354 Application note

AN3279 Application Note

UM1572 User manual. STEVAL-IPE020V1: ST energy meter application based on the Android platform. Introduction

EVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx.

STTS V memory module temperature sensor. Features

UM0693 User manual. 1 Introduction. STM8L101-EVAL demonstration firmware

STM32-SK/RAIS,STR91X-SK/RAI,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS

AN2261 APPLICATION NOTE

OSPlus USB Extension. OSPlus USB 2.0 extension. Description. Features. Application. TCP/IP stack NexGenOS NexGenIP VFS. FAT Ext2 LVM Device layer

AN2474 Application note

AN2855 Application note

STM32 embedded target for MATLAB and Simulink release 3.1. Summary for STM32 embedded target for MATLAB and Simulink release 3.1:

AN3965 Application note

AN2673 Application note

SOT23-6L ESDALCL6-2SC6

AN2240 Application note

AN3154 Application note

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction

AN2825 Application Note

AN2734 Application note S-Touch design procedure Introduction

UM1488 User manual. STPMC1 evaluation software. Introduction

STM8 I 2 C optimized examples

ST19WR08 Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Features Contactless specific features

ST33F1M. Smartcard MCU with 32-bit ARM SecurCore SC300 CPU and 1.25 Mbytes high-density Flash memory. Features. Hardware features.

STEVAL-IHM028V1. 2 kw 3-phase motor control demonstration board featuring the IGBT intelligent power module STGIPS20K60. Features.

STICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect

EMIF02-SPK02F2. 2-line IPAD, EMI filter and ESD protection. Features. Application. Description. Complies with the following standards

STLC2500D. Bluetooth V2.1 "Lisbon" + EDR. Features. Description

TN0132 Technical note

UM1084 User manual. CR95HF development software user guide. Introduction. Reference documents

AN2737 Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction

STA bit single chip baseband controller for GPS and telematic applications. Features

AN3250 Application note

AN2557 Application note

ST19NP18-TPM-I2C Trusted Platform Module (TPM) with I²C Interface Features

Main components USB charging controller with integrated power switch

EMIF01-SMIC01F2 IPAD. Single line EMI filter including ESD protection. Main application. Description. Benefits. Pin configuration (Bump side view)

AN2594 Application note

Obsolete Product(s) - Obsolete Product(s)

AN3001 Application note

STM8L-PRIMER STM32-PRIMER STMPRIMER

EMIF02-MIC01F2 2-line IPAD, EMI filter including ESD protection Features Application Description Complies with the standards:

AN2408 Application note

RN0046 Release note. 1 Introduction. SimpleMAC library for STM32W108xx kits. About this release note

STMicroelectronics. STxP70-4 assembler. User manual Rev A. October

Main components 1 A, high efficiency adjustable single inductor dual mode buckboost DC-DC converter

STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS

SMP75. Trisil for telecom equipment protection. Features. Description. Applications. Benefits

AN3362 Application note

Description SPC564A-DISP. March 2014 DocID Rev 3 1/5

AN4321 Application note

TN0189 Technical note

AN4058 Application note

AN2361 Application note

AN2430 Application note

Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension

AN4440 Application note

LD A very low drop adjustable positive voltage regulator. Description. Features

AN4274 Application note

AN3988 Application note

AN2592 Application note


STM8L-PRIMER STM32-PRIMER STMPRIMER

ST21NFCB. Near field communication controller. Features. RF communications. Hardware features. Communication interfaces. Electrical characteristics

AN3174 Application note

AN2781 Application note

AN3140 Application note

How to interpret the LPS331AP pressure and temperature readings. Main components mbar absolute barometer with digital output

EMIF03-SIM06F3. 3-line IPAD, EMI filter including ESD protection. Description. Features. Application. Complies with the following standards:

AN2202 Application note

ST33F1M, ST33F1M0, ST33F896, ST33F768, ST33F640, ST33F512

AN3265 Application note

AN3975 Application note

AN3099 Application note

The following table provides a general information of the considered toolchains. Toolchain Company Version Release date Hardware emulator

AN3155 Application note

AN3991 Application note

AN2792 Application note

STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS

ST10F271B/E, ST10F272B/E Errata sheet

AN2768 Application note LIS331DL 3-axis digital MEMS accelerometer: translates finger taps into actions Introduction

L6460. SPI configurable stepper and DC multi motor driver. Features. Description

SMP30. Trisil for telecom equipment protection. Features. Applications. Description. Benefits

Transcription:

STM32 audio engine MP3 decoder library Data brief Features MPEG-1, 2 or 2.5 formats Layers 1, 2 and 3 Constant bit rate and variable bit rate Mono or stereo input streams PCM (Pulse Code Modulation) output Solution optimized for STM32 MP3 decoder with built-in equalizer Audio utilities: Channel mixer utility (for volume and mute control) Standalone 5-band parametric equalizer utility Loudness control utility Object codes, accessed by the user application through an extensive API in C Full documentation included, demo software available Demo project available for IAR EWARM, Keil MDK-ARM and Raisonance RIDE Description STMicroelectronics STM32 Audio Engine is a set of software libraries allowing customers to build audio applications with high-quality and professional results. The popular MP3 format is part of the formats a professional application should support to ensure the best musical experience. Therefore, the MP3 decoder library is a must. It removes the need for an external MP3 decoding component. Moreover, unlike many open-source solutions, it was written specifically for STM32, and is therefore highly optimized, leaving room for other application tasks to run concurrently with the audio decoding. In addition, it comes with a set of impressive addons such as a channel mixer, a standalone 5- band parametric equalizer and loudness control to provide a complete plug-and-play solution for STM32 customers. The MP3 decoder library is not available for all STM32 family members (see further). April 2011 Doc ID 018574 Rev 1 1/5 For further information contact your local STMicroelectronics sales office. www.st.com 5

Functional description STM32-MP3NL/DEC 1 Functional description 1.1 MP3 background The popular MP3, short for MPEG-1/MPEG-2 Layer 3, is a format allowing to store digital audio using lossy compression algorithms. It was patented by Technicolor. 1.2 Royalties and part numbers Some royalties are due to the patent owner. For the MP3 decoder, STMicroelectronics proposes to embed the royalties in the chip prices, in order to ease customers life, and to leverage royalty costs on high volumes. In order to know the quantities of delivered ships, STMicroelectronics is therefore proposing specific part numbers. Please refer to the product datasheets for more information, or contact your local ST sales representative. 1.3 Operating principle The delivered package contains four libraries, one per main feature: MP3 decoder Channel mixer Equalizer Loudness control While the MP3 decoder is using a Pull mechanism, in which the decoding function calls a callback function to retrieve the data, the three other libraries use a Push mechanism, thus accepting one input buffer (or several) and generating an output buffer at the time of a call. Figure 1. MP3 decoder flow, in Pull mode: callback way User application MP3 decoder Code: Main() Start decoding Code: User-supplied callback() Feed MP3 data Data: PCM buffer Code: Decoding() Loop call callback Decode internal MP3 data buffer Copy to main PCM buffer Data: internal MP3 data buffer Data: internal PCM buffer MS18689V1 2/5 Doc ID 018574 Rev 1

Functional description Figure 2. Push mode: no callback User application F.I.: equalizer Data: buffer Code: Equalizer_Apply() Code: Main() Start equalizing Treat buffer MS18690V1 The developer is then free to use PCM buffers as needed by his application - streaming them out to I 2 S, for instance. Table 1. STM32 audio engine Performance and memory size Average MIPS Peak MIPS (1) Flash memory size in bytes Code Constant RAM size in bytes MP3 decoder 20 22 15508 7108 12344 Channel mixer 2.9 2.9 584 0 16 Parametric equalizer 19 22 (2) 1560 124 300 Loudness control 5.3 5.5 1992 1256 632 1. Worst- case MIPS estimated for 320 kbps 48 KHz stereo audio, using STM32 with 0 wait-state flash access. 2. Worst-case MIPS estimated for 5-band peaking. Doc ID 018574 Rev 1 3/5

Ordering information STM32-MP3NL/DEC 2 Ordering information For any further information, or to order the product, please contact your nearest ST sales office. 3 Revision history Table 2. Document revision history Date Revision Changes 18-Apr-2011 1 Initial release. 4/5 Doc ID 018574 Rev 1

Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. 2011 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com Doc ID 018574 Rev 1 5/5