Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 8 months ago.
Configuring SysTick for audio streaming
Hi All, Please excuse me if this is a silly question, I'm just beginning to learn this platform.
I tried out the 'DISCO_LCDTS_demo' program and got that up and running fine. I'd like to add some audio output also, so I added relevant files from the "STM32Cube_FW_F7", "SAI_Audio Example".
After some alterations, this compiles ok, I can assign an audio buffer and start audio (I get loud buzzing on the audio out). However, I can't get the program to continue from there. I think for the audio to continue processing, I need to call "AUDIO_Process()" from the system timer interrupt (SysTick). I can see this is properly configured to be 1ms, but can't see where to add the code. In the SAI audio example, this is configured in a couple of files called 'stm32f7xx_it.c/.h' but I'm not sure what to do with these. Does this go somewhere in the 'mbed' library?
Thank you for any help!
Question relating to:
![](/media/cache/platforms/DISCO_F746NG.jpg.50x50_q85.jpg)