2020-12-09 11:16 PM
2020-12-09 11:40 PM
i find a chip STA321MP now!
Is there any reference c-codes that I can refer to?
2020-12-10 03:50 AM
Hi @DSEO ,
the STA321MP audio amplifier is a good solution, but please note that the code available online uses the STM32 X-NUCLEO platforms for developing projects with MEMS microphones: the reference firmware function pack is X-CUBE-MEMSMIC1, and especially the function in \Middlewares\ST\STM32_Audio\Addons\SMR. This library is called Sound Meter, and is an optimized software implementation which embeds a pre-filter which can be configured with different filter types (A and C weighting, DC removal). It has also a smoothing filter which can be configured with any time constant value.
Please let me know if this solution can help your application development.
-Eleon
2021-01-04 09:10 PM
I had to unzip the file. (en.X-CUBE-MEMSMIC1.zip)
but SMR folder is not exist. (\Middlewares\ST\STM32_Audio\Addons\SMR )
it has only PDM floder
2021-01-08 02:32 AM
Hi @DSEO ,
maybe something has changed in the last function pack version... you can however find the same directory in the standard X-CUBE-MEMS1 firmware package, folder \Middlewares\ST\STM32_Audio\Addons\SMR.
You can find the application that uses this library in \Projects\STM32L476RG-Nucleo\Applications\IKS02A1\SoundMeter. This is platform dependent, based on STM32L476RG-Nucleo board (but you can use other Nucleo motherboards), and on X-NUCLEO-IKS02A1, that is equipped by theST IMP34DT05 MEMS digital microphone.
Let me please know if you succeed in using it in your code.
-Eleon