How to Record audio in STM32U5 (B-U585I-IOT02A)
Hello Community,
I'm working on stm32u5(B-U585I-IOT02A). B-U585I-IOT02A has two digital mics, and St officially has an example of BSP to record audio.
So after taking references from: https://github.com/STMicroelectronics/STM32CubeU5/blob/main/Projects/B-U585I-IOT02A/Examples/BSP/Src/audio_record.c
I've started the project but I'm getting issues with initializing BSP_AUDIO_IN_Init(0, &AudioInit), when I'm calling this function I'm getting: bsp_error_periph_failure(-4)
I don't know where I'm lagging can anyone provide me a solution to fix this error?
I really appreciate any help you can provide.
