I've previously used a PDM mic and it was working fine. We put a different PDM mic on the board and now I can't seem to get any useful data. The previous mic didn't have a bits/sample in the spec but the new PDM mic says that it's 24bits with 18bits precision (i.e. remaining bits are zero). So my question is should I set the I2S sample size to 16bits or 32bits?
The reason I ask is because in the technical reference manual section on PDM it says this....
The bit width for both received and transmitted I2S PCM signals is 16 bits.
Does the ESP32 auto-magically handle this? Or is the new mic not suitable because it's more than 16 bit?
John A