-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
I2S mic not working with 2.0.4 #7177
Comments
@PilnyTomas - Could you please help to triage this issue? |
Not much to work with here. There was no change in the top-level library, maybe IDF problem. |
@MikeBailleul Can you try with the branch https://github.com/espressif/arduino-esp32/tree/idf-release/v4.4 ? We are using a i2s mic for Tasmota and it does work. See example For Tasmota we use our own Arduino framework build which is based on a later IDF version than the actual core 2.0.4. Thats why i suggested to try the newest build. |
@PilnyTomas the sketch and pins in my first post are the one I use. @Jason2866 sure I will be happy to test it out, could you explain how to use this specific release into Arduino software?
|
@MikeBailleul Do not ask me about ArduinoIDE ;-) I never used it. I do everything with VSC and PlatformIO. With Platformio it is easy, i just reference the branch and if needed the specific commit. |
The only reason I still use ArduinoIDE sometimes is for the plot feature (I'm not aware of such a feature in PlatformIO, maybe you know?), this is handy when working with sound, for visualisation :) I had no idea I could reference the branch/commit in platformIO, neat feature.
If this is correct, the issue persists. |
The syntax is not correct. Use
|
And for a commit
|
If serial plotter is the only reason https://community.platformio.org/t/plotting-using-platformio/6597/8 |
I identified it, from this commit, the microphone stops working: 666c66d I also tried the branch you suggested with the more recent IDF but it does not work. |
This is the correction of flash modes. Before always the same boot loader was flashed.
EDIT: Forget the above, that was the major change of using IDF calls instead own Arduino code. |
Sorry, I missed that. |
I have a similar problem, I had to add the code:
That is, you need to replace "I2S_CHANNEL_FMT_ONLY_LEFT" with "I2S_CHANNEL_FMT_ONLY_RIGHT" |
Seeing that the IDF team took responsibility for this issue, I am closing this one. |
Is this solved meanwhile in the release/v2.0.x branch? |
Board
ESP32 Dev Module
Device Description
Attached to an INMP441 MEMS microphone
Hardware Configuration
INMP441 is configured as follow:
WS -> 25
SCK -> 32
SD -> 33
L/R -> GND
GND -> GND
VDD -> 3.3V
Version
v2.0.4
IDE Name
Arduino & PlatformIO
Operating System
macOS 12.5.1
Flash frequency
40Mhz
PSRAM enabled
no
Upload speed
460800
Description
Microphone does not work anymore with version 2.0.4.
When switching back to 2.0.3, it works normally.
Sketch
https://github.com/atomic14/esp32-i2s-mic-test/blob/main/i2s_mic_test/i2s_mic_test.ino
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: