Skip to main content
Visitor II
March 4, 2022
Question

DM2PCM library for STM32WL microcontrollers missing

  • March 4, 2022
  • 3 replies
  • 1020 views

Dear @Imen DAHMEN​ ,

Is there any plan to have the PDM2PCM library in the Middleware for STM32WL microcontrollers?

Thank you much.

    This topic has been closed for replies.

    3 replies

    ST Employee
    March 4, 2022

    Hi @frnt​ ,

    I'm clearly not an expert of STM32WL but it is based on cortex-M4.

    The PDM2PCM library is available for cortex M4 in X-CUBE-MEMSMIC1 package. (folder : ...\Middlewares\ST\STM32_Audio\Addons\PDM

    I suppose you can reuse it for STM32WL.

    Hope it helps.

    Regards,

    Sebastien.

    frntAuthor
    Visitor II
    March 4, 2022

    Thanks @Sebastien DENOUAL​ ,

    I'll try, the strange thing is that it is not appearing among the middleware available in the .ioc file.

    Therefore I'm not sure it will work our...

    Best,

    frntAuthor
    Visitor II
    March 11, 2022

    Dear @Sebastien DENOUAL​ ,

    I have tried porting the library into the project but it gives hard fault when executing the code.

    It appears that the STM32WL has no FPU, therefore both the “hard�? and “softfp�? gcc switch cannot be used.

    I would have tried the “soft�? switch but no binary of that version of the library is provided by ST.

    Do you have any suggestion?