I could write a test app, but I thought maybe asking the question would be quicker, and maybe reveal something I would overlook in a test. I'm currently sampling PDM audio at 16 bit, but find the audio at normal levels is pretty poor, especially on mics with low sensitivity (-46dB). The mic INMP621 docs don't specifically talk about data resolution, which leads me to believe that's part of the codec in the ESP32 driver. So I'm wondering if I up the sample resolution to 32bit, what should I expect to get? I've searched for other ESP32 PDM mic projects and it seems like everyone is using 16bit.
John A
PDM sample resolution
Re: PDM sample resolution
I had written a simple app in Arduino that tests the board to see if I get reasonable values out of the various components for a manufacturing test. In that app I read the mics and calculate the RMS of each block of audio. When I switched the PDM mic from 16 (works) to 32 bit I got nothing out. The non-PDM mics are 32 bit and function fine.
Quite frankly I don't find Arduino to be reliable. Sometimes I have to reset several times before it will recognize all of the I2C based components. But it never had a problem with I2S.
John A
Quite frankly I don't find Arduino to be reliable. Sometimes I have to reset several times before it will recognize all of the I2C based components. But it never had a problem with I2S.
John A
Re: PDM sample resolution
Bumping this because I think there is an answer out there and it got pushed off the front page too quickly and was missed.
John A
John A
Who is online
Users browsing this forum: No registered users and 153 guests