Open aguaviva opened 3 years ago
setting the bitsPerChannel to 32 solved the issue
Reopening the bug to make sure this gets documented
Thanks for reporting and sharing the fix, we will look into.
Has there been any movement on this issue? I've re-tested with ESP-IDF 5.0.1, and I'm seeing the same behavior: When 16-bit mono RX is requested, every sample is duplicated twice in each 32-bit word.
@aguaviva Did you have to do anything else other than set '.bits_per_chan = i2s_bits_per_chan_t(32)', this isn't working for me :(
@Alvin1Zhang Did you guys manage to look into this? I'm having the same issue and I can't find any documentation to help me get it working :(
Environment
Problem Description
Values read using the DMA from the IS2 port are duplicated, see the picture below:
This happens regardless of the sample rate or channels I use
Expected Behavior
samples to not be duplicated
Steps to reproduce
Reading from 2 MSM26S4030H0 microphones via i2s
Code to reproduce this issue
// If your code is longer than 30 lines, GIST is preferred.
Debug Logs
nothing to report