Skip to main content
Associate II
December 20, 2024
Solved

STM32f469i disco board using SAI on cs43l22

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.

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
December 20, 2024

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

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

2 replies

ST Technical Moderator
December 20, 2024

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:

STM32CubeF4/Projects/STM324xG_EVAL/Examples/I2S/I2S_Audio at master · STMicroelectronics/STM32CubeF4 · GitHub.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
December 20, 2024

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

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.