Is there a way to use ST AcousticBF from X-CUBE-MEMSMIC1 lib in PDM mode, to use together with dfsdm peripheral? We can also use SAI peripheral, for 4-6 microphones. So what is better SAI or DFSDM?
..
..
Hi @Király Béla ,
Please consider that, if you acquire with the DFSDM peripheral, your signal is already in PCM format, so you are bounded to place your microphones at a minimum between-microphone distance of 2.1cm, since for the PCM the minimum delay (of 1 sample) that can be implemented with the library is equal to 2.1cm. In this way, however, you save the cost of the PDM to PCM conversion.
If you use the SAI peripheral and the PDM signal, the delay resolution that the AcousticBF library can provide is higher, depending directly on the clock frequency, so that you can place the microphones at the distance you want. The drawback is that the library will perform PDM to PCM conversion and so it will consume more MCU resources.
You may find further information in this design tip DT0117.
Please let me know whether these suggestions are useful.
-Eleon
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.