Skip to main content
Visitor II
October 25, 2024
Question

MP23DB01HP MIC interface with STM32F105RB

  • October 25, 2024
  • 3 replies
  • 1255 views

Dear Sir

We are Interfacing STmicro part no MP23DB01HP which is a MEMS MIC with PDM output. We are interfacing this MIC with STM32F105RB microcontroller as it has I2S port.

We are unable to find any library for this and how to calculate all the parameters required. How to convert PDM to PCM in STM32F1.

Our main aim is to find DBm of sound level using the MIC

Kindly provide us support as we had already integrated all the hardware and after that its not working

 

 

    This topic has been closed for replies.

    3 replies

    Technical Moderator
    October 31, 2024

    Hello @amarz1981 

    The MP23DB01HP is a very specific ST MEMS microphone supporting different usage modes: High Performance, Normal, and Low Power.

    You are searching for the HP_PDMLibrary, available in the X-CUBE-MEMSMIC1 package.

    HP microphones are intended for high-performance setups running on powerful STM32 families. That's why the HP_PDMLibrary is released only for Cortex-M4, M7, and M33. Unfortunately, no support for Cortex-M3 is available.

    X-CUBE-MEMSMIC1 offers many examples for STM32F4, F7, L4, L4+, and WB. As already mentioned, STM32F1 is not supported, but you can still look into the HP_MicrophoneStreaming example for STM32F4 or F7 if you are interested and have the possibility to change the STM32 family.

     

    Best regards

    Simone

    amarz1981Author
    Visitor II
    October 31, 2024

    I can understand that the selected MIC is high end MIC. 

    But we are in phase we cannot change 48pin LQPF package of microcontroller.

     

    However please suggest 48 Pin LQPF package ST microcontroller supporting compatibility with STM32F105RB

    Also we can replace the MIC MP23DB01HP, can you suggest that which MIC we can use with I2S port provided in STM32F105RB series.

     

    Kindly suggest with valid and available part nos so we have a solution, because the above answer points towards no solution 

    Technical Moderator
    November 13, 2024

    Hello @amarz1981 

    I can suggest you to use MP34DT05 or MP34DT06J .

    MP34DT06J is the same mounted on X-NUCLEO-CCA02M2, that is the reference design used in X-CUBE-MEMSMIC1 package I cited in my previous comment.

     

    Best regards

    Simone

    Visitor II
    November 15, 2024

    This is quite a technical task. The user manual for the STM32Cube PDM2PCM software library might be useful for you. The documentation explains how to configure the library, set interface parameters, and how to convert PDM signals into PCM audio streams.
    Here is the link: UM2372 User Manual - STM32Cube PDM2PCM Software Library