Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

AN3998 Datasheet(PDF) 6 Page - STMicroelectronics

Part # AN3998
Description  PDM audio software decoding on STM32 microcontrollers
Download  10 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3998 Datasheet(HTML) 6 Page - STMicroelectronics

Back Button AN3998 Datasheet HTML 2Page - STMicroelectronics AN3998 Datasheet HTML 3Page - STMicroelectronics AN3998 Datasheet HTML 4Page - STMicroelectronics AN3998 Datasheet HTML 5Page - STMicroelectronics AN3998 Datasheet HTML 6Page - STMicroelectronics AN3998 Datasheet HTML 7Page - STMicroelectronics AN3998 Datasheet HTML 8Page - STMicroelectronics AN3998 Datasheet HTML 9Page - STMicroelectronics AN3998 Datasheet HTML 10Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 6 / 10 page
background image
Software interface: digital signal processing
AN3998
6/10
Doc ID 022391 Rev 1
4
Software interface: digital signal processing
The data coming from the microphone is sent to the decimation process, which consists of
two parts: a decimation filter converting 1-bit PDM data to PCM data, followed by two
individually configurable IIR filters (low pass and high pass). The reconstructed audio is in
16-bit pulse-code modulation (PCM) format. After the conversion, it produces raw data that
can be handled depending on the application implementation (stored as wave/compressed
data in a mass storage media, transferred to an external audio codec DAC through I2S
peripheral...).
Figure 2.
Digital signal processing
4.1
PDM digital filtering and decimation
The PDM signal from the microphone is filtered and decimated in order to obtain a sound
signal at the required frequency and resolution.
The frequency of the PDM data output from the microphone (which is the clock input to the
microphone) must be a multiple of the final audio output needed from the system. For
example, to perform a decimation of 80, for the output rate of 30 kHz, we need to provide a
clock frequency 2.4MHz to the microphone.
The output of the filter pipeline is a 16-bit value, we consider [-32768, 32767] as the output
range for a unitary gain (0 dB).
4.2
Digital signal conditioning
The digital audio signal resulting from the previous filter pipeline is further processed for
proper signal conditioning.
The first stage is a high pass filter designed mainly to remove the signal DC offset. It has
been implemented via an IIR filter with a cut-off frequency below the audible frequency
range in order to preserve signal quality.
The second stage is a low pass filter implemented using an IIR filter.
Both filters can be enabled/disabled and configured (cut-off frequencies) by using the filter
initialization function.Gain can be controlled by an external integer variable (MicGain) as
shown in the following equation: G = MicGain/64.
MS19893V1
PDM digital filtering
and decimation
Digital signal
conditioning
PDM in
Audio out


Similar Part No. - AN3998

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN3991 STMICROELECTRONICS-AN3991 Datasheet
585Kb / 15P
   How to drive multiple stepper motors with the L6470 motor driver
AN3992 STMICROELECTRONICS-AN3992 Datasheet
850Kb / 22P
   Using an STM8L162M8 AES hardware accelerator with a CR95HF to encrypt contactless tag data memory
AN3994 STMICROELECTRONICS-AN3994 Datasheet
2Mb / 53P
   One of the bigger challenges
AN3995 STMICROELECTRONICS-AN3995 Datasheet
372Kb / 49P
   Getting started tutorial
AN3997 STMICROELECTRONICS-AN3997 Datasheet
174Kb / 15P
   Audio playback and recording using the STM32F4DISCOVERY
More results

Similar Description - AN3998

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN3126 STMICROELECTRONICS-AN3126 Datasheet
835Kb / 24P
   Audio and waveform generation using the DAC in STM32 microcontrollers
UM1525 STMICROELECTRONICS-UM1525 Datasheet
2Mb / 41P
   Discovery kit for STM32 F0 microcontrollers
AN3225 STMICROELECTRONICS-AN3225 Datasheet
263Kb / 13P
   Audio software codec
AN1482 STMICROELECTRONICS-AN1482 Datasheet
48Kb / 8P
   MPEG2 Main Profile Video Decoding on ST100
X-CUBE-LPTIMER STMICROELECTRONICS-X-CUBE-LPTIMER Datasheet
118Kb / 3P
   Low-power timer (LPTIM) applicative use-cases on STM32 MCUs, software expansion for STM32Cube
June 2017
AN4566 STMICROELECTRONICS-AN4566 Datasheet
369Kb / 19P
   Extending the DAC performance of STM32 microcontrollers
STM32-EXPERIMENT STMICROELECTRONICS-STM32-EXPERIMENT Datasheet
162Kb / 3P
   IAR Systems짰 Experiment! kits for STM32 microcontrollers
November 2013 Rev 1
logo
Maxim Integrated Produc...
MAX98358ETE MAXIM-MAX98358ETE Datasheet
1Mb / 28P
   PDM Input Class D Audio Power Amplifier
19-7734; Rev 4; 3/20
MAX98356 MAXIM-MAX98356 Datasheet
3Mb / 22P
   PDM Input Class D Audio Power Amplifier
Rev 0; 5/12
logo
NXP Semiconductors
TFA9881_1104 PHILIPS-TFA9881_1104 Datasheet
408Kb / 32P
   3.4 W PDM input class-D audio amplifier
Rev. 2-1 April 2011
More results


Html Pages

1 2 3 4 5 6 7 8 9 10


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com