cancel
Showing results for 
Search instead for 
Did you mean: 

Digital MEMS microphone configuration mode(mono/stereo) issue

rabbani_sk
Associate II

Hi community,

I am working with STM32H747I-DISCO Board(Dual cortex M7+M4)

MP34DT05-A digital MEMS microphone is integrated on the board and issues are facing while bringup.

Issues follows:

As per the schematic there is one digital microphone connected to the MCU using SAI Interface with default connections

I am trying to bringup it with the help of refernce document(Ref AN5027).

When i am understnading this document a few questions have been raised. Those question as follows.

1.There are two types of mode

  •  mono mode
  • stereo mode       

rabbani_sk_0-1768807225923.png

stereo mode

rabbani_sk_1-1768807252589.png

If we see the schematic:

rabbani_sk_2-1768807410791.png

One digital microphone is connected to stm32 MCU and it looks like mono mode configuration

But when I am following mono mode configuration process to bring up it then pins which are enabling while configuring is mismatching with pins which are connected to this digital microphone as per the schematic.

Connection pins – (SAI4_CK1) PE2, (SAI4_D1) PC1 (as per the schematic)

rabbani_sk_3-1768807536134.png

Enabling Pins :

rabbani_sk_4-1768807558897.png

In stereo mode configuration, pins are enabling as per the schematic but clock is not enabling

rabbani_sk_5-1768807604158.png

If I follow stereo mode configurations then it requires two digital microphones which shares single data line.

which configuration(mono/stereo) should I follow to bring up this digital microphone?

if stereo mode, why two digital microphones are not provided and how to solve clock issue?

FYI I have attach (ref.AN5027)

3 REPLIES 3
AScha.3
Super User

Hi,

>One digital microphone is connected to stm32 MCU and it looks like mono mode configuration

Right.

So use SAI4 ...and set "number of mic"  to 1, if using 1 mic. (otherwise no clock...)

+

>which configuration(mono/stereo) should I follow to bring up this digital microphone?

1 mic ->  = mono .

If you feel a post has answered your question, please click "Accept as Solution".
rabbani_sk
Associate II

For mono configuration I need to set  mode:Master as below figure but issue is some other pins are enabling when I selected to Master 

microphone is connected to PE2  and PC1(arrow indication)

rabbani_sk_0-1768825517096.png

How to solve this?

 

Ok, now i understand your problem....alternative pins !

So just ...Cube sets (on H743):

AScha3_0-1768828813382.png

Then just click on the pin , you want to have it, PC1 , then you get a drop down window with possible functions, select the sai4d1 function ->

AScha3_1-1768828937832.png

And its here now !  Thats all to select other alternative pin .

+

for pdm mic needs setting..

AScha3_2-1768829119942.png

 

If you feel a post has answered your question, please click "Accept as Solution".