2023-11-14 05:32 PM
Hello,
I am using a H723ZG Nucleo 144 STM32 Board, with an CCA02M2 expansion mems mic board attached. I am wanting to read in audio data from the 2 built in mics on the expansion board using I2S with the nucleo board.
I am unsure how to setup/configure the I2S peripheral with the little documentation provided. Specifically, there are no code example for my specific board, the H7... As well as no exact mention of how to configure the pins.
Any help/guidance on where to start would be appreciated.
Solved! Go to Solution.
2023-11-16 03:02 AM
Hello @slrobers
You can get started with this example from firmware package X-CUBE-MEMSMIC1 x-cube-memsmic1\STM32CubeExpansion_MEMSMIC1_V5.7.0\Projects\STM32F746ZG-Nucleo\Demonstration\CCA02M2
Some changes should be made to port it to H723 Nucleo. You can get inspired by this application note
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-11-16 03:02 AM
Hello @slrobers
You can get started with this example from firmware package X-CUBE-MEMSMIC1 x-cube-memsmic1\STM32CubeExpansion_MEMSMIC1_V5.7.0\Projects\STM32F746ZG-Nucleo\Demonstration\CCA02M2
Some changes should be made to port it to H723 Nucleo. You can get inspired by this application note
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-11-16 08:39 AM - edited 2023-11-16 08:39 AM
Is there not just any examples for the H72x?
It seems like there are a lot changes must be made to migrate from the F7 example to the H72. And we are not very familiar with the STM32 familiar, or specifically the F7 models, so it is a bit overwhelming. Therefore any H72x example code would be useful.
2023-11-16 09:40 AM
Hello @slrobers
Thank you for your feedback.
However, we cannot provide all the examples for each product. If you face any issue don't hesitate to come back to post threads.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-11-16 10:20 AM
seems from the circuit diagrams : mics connected to SAI4 ; so try, using sai4 in pdm mode...
or better: check , on which pins its going to the nucleo board, then you know for sure.