Skip to content

24 _bitsPerSample not handled in I2SClass::read() #7107

Closed
@musteresel

Description

@musteresel

Board

ESP32 NodeMCU

Device Description

Chip on "standard" dev board, doesn't matter for the issue though.

Hardware Configuration

Irrelevant for issue, but: 2 INMP441 I2S Microphones, SCK+WS+SD connected, SD with 100kOhm to GND (according to datasheet), L/R set differently (3V3 and GND) on both Microphones.
(https://invensense.tdk.com/wp-content/uploads/2015/02/INMP441.pdf)

Version

v2.0.4

IDE Name

Arduino

Operating System

Windows 10

Flash frequency

80MHz

PSRAM enabled

no

Upload speed

921600

Description

} else {
_give_if_top_call();
return 0; // sample value
}

24 _bitsPerSample are silently NOT read.

Sketch

// in setup
I2S.begin(I2S_PHILIPS_MODE, samplerate, 24);

// in loop
int sample = I2S.read();

Debug Message

None

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions