Skip to main content
josef2
Associate III
July 27, 2021
Solved

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

  • July 27, 2021
  • 3 replies
  • 1202 views

..

This topic has been closed for replies.
Best answer by Peter BENSCH

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

3 replies

Peter BENSCH
ST Technical Moderator
July 27, 2021

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
josef2Author
Associate III
July 27, 2021

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
Peter BENSCHBest answer
ST Technical Moderator
July 27, 2021

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.