This contains an attempt to get the very popular INMP441 mems microphone working with the v5.1 esp32 I2S library and test the light sleep issue reported here espressif/arduino-esp32#8714
The bug that is tracking this can be found here:
This repo demonstrates that the INMP441 will not function with the new 5.1 I2S library.
There could just be a setting or something wrong that I'm doing (probably). I've done everything I could think of in the documentation and simply cannot get the new library to work.
https://wiki.seeedstudio.com/XIAO_ESP32C3_Getting_Started
The XIAO ESP32C3 can only be reliably flashed on MacOS. Windows will work a few times then stop working.
#define PIN_I2S_WS GPIO_NUM_7
#define PIN_IS2_SD GPIO_NUM_8
#define PIN_I2S_SCK GPIO_NUM_4
#define PIN_AUDIO_PWR GPIO_NUM_10
L/R -> VDD
- Install VSCode
- Install the platform io plugin
git clone https://github.com/zackees/xiao-inmp441-test
- Use VSCode to open
xiao-inmp441-test
-
Connect to XIAO board with USBC cable.
-
The test software should now be installed and the board should be running a test program
Simply power the board and read the stdout through the connection monitor.