cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, how can I change the gain of the input signal of a mems microphone? best regards

josef2
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

OK, you are talking about a digital MEMS microphone.

Correct, the DFSDM module does not contain any amplification, because this can easily be done by simple multiplication of the sample values in the core afterwards. The DFSDM Extreme Detector function can also be very helpful in this regard, in order to avoid clipping due to amplification factors that are too high.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
Peter BENSCH
ST Employee

A MEMS microphone typically does not contain its own amplifier. A gain can therefore only be set with a subsequent amplifier, with analog microphones with an opamp, with digital microphones via software.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
josef2
Associate II

I know this, but is it not possible to change the gain via DFSDM filter or channel setting in the STM32 controller.

best regards

Josef

Peter BENSCH
ST Employee

OK, you are talking about a digital MEMS microphone.

Correct, the DFSDM module does not contain any amplification, because this can easily be done by simple multiplication of the sample values in the core afterwards. The DFSDM Extreme Detector function can also be very helpful in this regard, in order to avoid clipping due to amplification factors that are too high.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.