2025-10-08 3:44 AM
Hello,
I have this board that I have to use for the project. I am using STM32H7S3H8 and 4x MEMS microphone, and I am strugling to get to the point where only math with CMSIS-DSP is important. Is there any example, .ioc file that I could look up to for configuring all the microphone stuff, so I can get math to do magic using DSP on signal using comming from microphones.
I configured it to use AzureRTOS and sending data to remote TCP server (still have to figure out certificate stuff for TLS 1.2.), but now I want to add 4x microphone MP34DT06J , using SAI (as I understand all this). And when it comes to cubemx configuration, honestly I am lost. I found numerous pdf's explaining stuff that I don't actually understand (I am not embedded dev, just a regular algorithm stuff developer).
So, to my understanding, this is setup that I need to do, but then I come to DMA, which is also with numerous options, that I dont fully understand
If anyone can share template, where I can just go and use Beamforming and DSP libraries using signals from microphones, I would be eternally grateful. I am trying to build this project for days now, and I couldn't find any kind of resources that would be, do this do that, and thats it. I am only interested in math and physics :)
EDIT: if there is only one mic, sure no problem, ill figure out rest of the code, but just the start
2025-10-22 7:44 AM
I guess there is no example not, even for single MEMS? I am still struggling to put this together. I can't get anything out of microphone at all.
2025-10-23 8:29 PM
there are no SAI examples for STM32H7RS now, but it is similar with STM32H7 MCU, you can refer it and port it to H7RS, the STM32Cube example can be download from official website:https://www.st.com/en/embedded-software/stm32cubeh7.html, and you will find the SAI example from \stm32cube_fw_h7\Projects\STM32H743I-EVAL\Examples\SAI