Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Solution] INMP441 - values fluctuate or are zero #20

Open
flo199213 opened this issue Apr 11, 2023 · 1 comment
Open

[Solution] INMP441 - values fluctuate or are zero #20

flo199213 opened this issue Apr 11, 2023 · 1 comment

Comments

@flo199213
Copy link

I would like to briefly present a SOLUTION when the calculated dB values fluctuate or are permanently 0 with an INMP411 microphone. This may be due to the wrong selection of the microphone channel.

  1. If the pin L/R is tied to GND, then the channel "I2S_CHANNEL_FMT_ONLY_RIGHT" must be used in the initialisation of the I2S.
  2. If the pin L/R is tied to VCC, then the channel "I2S_CHANNEL_FMT_ONLY_LEFT" must be used in the initialisation of the I2S.
    (see picture)

Note: If the L/R pin is left open, the values will fluctuate incorrectly - if the L/R pin is not set to the appropriate channel, the values will be permanently 0.

INMP441_ValuesZero

@flo199213
Copy link
Author

This could possibly be included as a note in the documentation or as a comment in the code at the point where the microphone is selected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant