Associate II
October 19, 2021
Question
Is it possible to get 32bit data from PDM to PCM library?
- October 19, 2021
- 3 replies
- 2666 views
Hi all,
We are using stm32 PDM to PCM library to convert PDM mic data into PCM data. On that we had an option to control the mic gain from -12db to 51db as mentioned in data sheet.So we try to increase the db level, But we cannot able to increase the db level more than 11db. If we increase the db level more than 11db the converted PCM values goes more than 32768(as signed).But the PDM to PCM library returns only 16bit data.
Is it possible to get 32bit data from PDM to PCM library?
Otherwise is there any other solution to solve this problem?
I would be glad if anyone has some advice for me.
Thanks in advance.
