Re: ESP32 with INM441 I2S microphone.
Posted: Mon Jan 19, 2026 5:11 pm
Sorry, yes its a pulldown and just measured 54K, so ok.
My esp is a esp32-c3.
My esp is a esp32-c3.
https://docs.espressif.com/projects/esp ... td-rx-modeMy esp is a esp32-c3.
So slot_bit_width must always be I2S_SLOT_BIT_WIDTH_32BIT, but data_bit_width can still be set to I2S_DATA_BIT_WIDTH_16BIT if the application only needs 16 bits.
Makes no real sense to me either. However, I think your original code used the least significant bits (0...15 or so) of the signal, while I2S_DATA_BIT_WIDTH_16BIT will give you only the most significant bits (8...23). Maybe there's important signal/frequencies in that low amplitude area (lowest 8 bits)? (- If you're on an ESP32, also remember to swap the odd/even samples.)using I2S_DATA_BIT_WIDTH_16BIT the samples I got sounded like it had been s-l-o-w-e-d down (but not actually slow!), seeming to be missing the high frequencies.
I2S_DATA_BIT_WIDTH_16BIT will give you only the most significant bits (8...23)
If you're on an ESP32, also remember to swap the odd/even samples.
See https://docs.espressif.com/projects/esp ... td-rx-modeIf you're on an ESP32, also remember to swap the odd/even samples.
I'm not doing this. What am I missing?
that is for the Big/Little endians word order correction on the int32 ?In mono mode, the samples you get are in the order 1,0,3,2,5,4,..., so depending on what you want to use them for you may have to swap samples 0<->1, 2<->3, 4<->5,... Shouldn't affect the frequencies much though.
Me working with C3, i want my esp-driver to return me just the mono-data from the channel i selected, so no seperation extra processing is needed.
is there any example code for that?
Dirt-cheap, non-directional, and intended for "telecommunication applications", i.e. medium-quality speech at short ranges. You get what you pay for, I guess.The conclusion was that the mic is inherently noisy![]()
No, nonono. Don't get me startedAnd just to revisit our disagreement on bit shifting, try looking at it this way.