878 views
in System Integration by
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?

Thanks,

Tung

1 Answer

0 votes
by
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,

Manfred.
by
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.

https://youtu.be/BzXaFzCm2v4

 

Regards,

WonHo
by
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.

Thanks,

Tung

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...