Skip to main content
Visitor II
December 3, 2020
Question

Support to find dB from digital MEMS mic using STM32MP157C-DK2

  • December 3, 2020
  • 1 reply
  • 640 views

Hello ST Support team,

I have MP23DB01HP digital MEMS MIC sensor which has PDM output. I was gone through "AN5027" application note.

I want to connect this digital MIC with DK2 to find dB data from it.

suggest me steps to connect and run mic on DK2 board.

Thanks in advance,

Nikunj

    This topic has been closed for replies.

    1 reply

    ST Employee
    December 3, 2020

    Hi @NPanc.1​ ,

    On DK2, It is possible to connect digital MEMS MIC to the 40pins connector (SPI5 and SAI2 are available).

    Nevertheless, the recommanded way to connect digital MEMS MIC is using DFSDM IP, but this is only available on EV1 board with its dedicated connector (connector 2 in the picture).

    I woudl suggest the following steps :

    • If you want to use SAI2, you will have to disconnect embedded audio codec (0 ohm to solder/unsolder). SPI5 only needs to be enabled in the DT.
    • Update device tree (SPI5 or SAI2) : AN5027 explains how to configure, And you can use CubeMx to build the DT.
    • update /etc/asound.conf accordingly

    BR,

    Christophe