cancel
Showing results for 
Search instead for 
Did you mean: 

How to use PDM2PCM middleware/library for STM32WBxx Series ?

eloibonte
Associate II

Hello everyone,

I'm working with an STM32WB5MMG module (STM32WBxx Series) and I'm looking to process the information coming from a digital MEMS microphone.

I saw online that a PDM2PCM library existed at STM and I want to use it :)

I red that a few years ago this library was only available for the STM32F4/F7/H7 Series (Cortex-M4 and Cortex-M7). And indeed I can open and use it on CubeMx with an F4 project.

But as I said in introduction, I wanted to use it with the STM32WB5MMG.

2 evidences make me think that I can use it with the STM32WBxx series :

  • in the STM32Cube_FW_WB_V1.16.0 files, there seems to be the middleware and the files for STM32_Audio. (like the pdm2pcm_glo.h and the libPDMFilter for example).
  • in the STM32CubeWB Firmware Examples for STM32WBxx Series, there is the application “Audio_BVLINKWB�? :


_legacyfs_online_stmicro_images_0693W00000bjTDHQA2.png 

But I can’t see the middleware PDM2PCM in a WB Series CubeMx project like I could see in an F4 project :


_legacyfs_online_stmicro_images_0693W00000bjTH9QAM.png 

My questions are :

  • Is there a way to use the PDM2PCM middleware in a WB Series CubeMx project ?
  • If there’s no way to open it, do you know what is the procedure to manually add and use this library to an existing WB project ? Are there any special mistakes to avoid ?

Thanks a lot in advance !

Eloi Bonte

1 REPLY 1
Remyhx
Associate III

Would also be interested in a response