Skip to content

i2s Input #7164

@artua

Description

@artua

Platform

  • Hardware: [other]
  • Core Version: [db75d2c]
  • Development Env: [Arduino IDE]
  • Operating System: [MacOS]

Settings in IDE

  • Module: [Generic ESP8266 Module]
  • Flash Mode: [qio]
  • Flash Size: [2MB]
  • lwip Variant: [v2 Lower Memory]
  • Reset Method: [ck]
  • Flash Frequency: [40Mhz]
  • CPU Frequency: [160MHz]
  • Upload Using: [SERIAL]
  • Upload Speed: [115200]

Problem Description

Trying to get i2s input to work with i2s microphone without luck.
The example provided just returns 0 0 as output.
The microphone attached is Knowles SPH0645LM4H-B.
https://eu.mouser.com/datasheet/2/218/ph0645lm4h-b-datasheet-rev-c-1525723.pdf

The main concern, i2s microphones are 24-bit i2s. How can we get 16-bit stream from them?

Also tried this code: https://github.com/joextodd/listener/blob/master/listener.ino
It gives me back some sound, but distorted.
Tried ICS-43434 mic also, got the same distorted sound with this code.

Any ideas?

Thanks!

Debug Messages

SDK:2.2.2-dev(a58da79)/Core:2.6.3-96-gdb75d2c4=20603096/lwIP:STABLE-2_1_2_RELEASE/glue:1.2-30-g92add50/BearSSL:5c771be
force slp enable,type: 2
fpm open,type:2 0
i2S real rate: 32051.281250]
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0

Metadata

Metadata

Labels

waiting for feedbackWaiting on additional info. If it's not received, the issue may be closed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions