Don't play Audio when draw image in STM32F769 discovery

asked Oct 29, 2018 in System Integration by Francessco
Hi all,

I'm using FreeRTOS in STM32F769-Discovery project.

And I create thread Audio to play when drawing in STM32F769-Discovery\Examples\ColorFormats.

But Audio don't play when draw image?

Could you support me, please?



1 Answer

0 votes
answered Oct 30, 2018 by Manfred Schweyer
Hello Tung,

it's difficult to detect the root cause of the problem remotely...

I assume that the thread priorities are not configured correctly. Have you tried to rise the priority of the audio playback thread?

Best regards,

commented Nov 1, 2018 by whsung
Hello Tung,

As manfred said, it's difficult to locate the root cause remotely.

Please try Manfred's suggestion first.


I'd like to mention that audio system has almost nothing to do with Emebedded Wizard.

If you look at below embedded wizard demo video(00:27sec), we are able to use audio in/out on the same STM32F769 discovery borad.



commented Nov 2, 2018 by Francessco
Hi WonHo and Manfred

Thanks for your support.

I've found root cause for this bug and have fixed it.

Root cause: I didn't handle DMA2_Stream1_IRQHandler() function in stm32f7xx_it.c for audio. So, thread of audio is stucked.



Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint