ikostoski/esp32-i2s-slm

I get constantly nan as output

Opened this issue · 0 comments

I am doing my BENG project, which i should design a noise detector using I2S microphone. I am using an INMP441 microphone with an ESP32-Devkitc-32E.
I have found out that I2S communication is only working for me with 16 bit resolution and only with left channel. I am using your code but i constantly get nan as output. what could be the issue. I have also set bits_per_sample to 16 bits.
Problem is that i have none experience with I2S protocol and can't solve it. Is it anyone that can help me with that. I would really appericiate it
Thanks alot