Skip to content

I2S mic not working since 4.4 (IDFGH-8138) #9635

@MikeBailleul

Description

@MikeBailleul

Answers checklist.

  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v4.4

Operating System used.

macOS

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

No response

Development Kit.

ESP32 Dev Module

Power Supply used.

USB

What is the expected behavior?

Using this sketch: https://github.com/atomic14/esp32-i2s-mic-test/blob/main/i2s_mic_test/i2s_mic_test.ino
With a INMP441 configured as follow:
WS -> 25
SCK -> 32
SD -> 33
L/R -> GND
GND -> GND
VDD -> 3.3V

It should output values of the sound received by the mic.

What is the actual behavior?

Only 0 values

Steps to reproduce.

I originally submitted an issue here: espressif/arduino-esp32#7177
But I was redirected to esp-idf since it appears to be related to it.

A brief summary:

In platformio.ini, this does NOT work because it is using the latest release of arduino-esp32

platform = espressif32

By changing it to this, it works as intended

platform = [email protected]

Later we discovered this commit in arduino-esp32 repo is where it stops to work normally

platform = espressif32
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#666c66d3d1c7437aaebaaadf2084927b7fc476c4

Debug Logs.

No response

More Information.

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions