How to use TIM with SPI to acquire audio data from MEMS microphone
Hello :smiling_face_with_smiling_eyes:
I'm using the microphones on the X-NUCLEO-CCA02M2 Digital MEMS microphones expansion board based on MP34DT01-M for STM32 Nucleo. This card is plugged on nucleo stm32h743zi2
My problem is that I have to interface two microphones in stereo using a timer and the SPI and then stream the data via USB and i dont know how to do it.
Someone can tell me what is the configuration to adopt on cubeMX for the TIMER and SPI setup
Here's what I want to do:

And also what HAL functions I need to include in my program.
If someone have explanations, it would be very nice :smiling_face_with_smiling_eyes:
