2024-12-20 04:10 AM
hello...
i am newbie to STM and trying to play a wave file on STM32f469i discovery board using SAI on cs43l22 audio codec, i am not getting any example source for SAI can i get the working example code.
2024-12-20 04:40 AM - edited 2024-12-20 04:41 AM
Hello @Abhishek_nr and welcome to the Community
There is a ready-to-use example but for I2S uses cs43l22 audio codec, instead of SAI:
2024-12-20 04:47 AM
Hello @Abhishek_nr and welcome to the community,
Unfortunately there is no direct example of wave player on this board but I suggest to inspire from this example for F7: https://github.com/STMicroelectronics/STM32CubeF7/tree/master/Projects/STM32F769I-Discovery/Applications/Audio/Audio_playback_and_record
and use the BSP audio of that board: https://github.com/STMicroelectronics/32f469idiscovery-bsp/blob/f79918e76de5310aad28ebf33365f902f51df85b/stm32469i_discovery_audio.c