Pulse Density Modulation Interface
Hi!
I'm trying to enable the PDM interface on a STM32WB55RGV with one microphone. Basically i followed the AN5027 application note, but I'm not able to start the clock on the proper GPIO.
The configuration from CUBE-MX seems ok, and I checked the registers value, so maybe I'm setting up the wrong API to start the streaming.
Any advice?


MX_SAI1_Init();
osDelay(10);
//HAL_SAI_Receive_DMA(&hsai_BlockA1, (uint8_t *)mic_buff, MIC_BUFF_LEN);
HAL_SAI_Receive(&hsai_BlockA1, (uint8_t *)mic_buff, MIC_BUFF_LEN, 100);
/* start application */
while (1){
osDelay(1000);
}