cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H753I-EVAL2 - Using Ux_Device_Audio2.0_Playback does not work

audio
Associate III

I have STM32H753I-EVAL2 board and I want to set it up as an USB Speaker device. 

 

I see 3 protect that can make this as such, which are:

NameBoardBoard TypeSTM32CubeMX VersionSW Package Installed
Ux_Device_Audio_2.0STM32N6570-DKNucleo-64NATRUE
Ux_Device_Audio_2.0_StandaloneSTM32N6570-DKNucleo-64NATRUE
Ux_Device_Audio2.0_PlayBackSTM32H743I-EVALNucleo-646.15.0TRUE

 

Two things...

1) I don't want RTOS, but STM32H743I-EVAL has RTOS, and the one I'm looking for is on the wrong board. So... What advantage do I have using RTOS? Can I use the Standalone one and change the board somehow in the code? I haven't done much comparison to know, I've been overwhelmed trying to understand the organization of the project. 

2) When I do download, install and run the Ux_Device_Audio2.0_PlayBack anyway, the program is running. I see the USB being enumerated as a speaker on my laptop. Issue is, everything is fine, but when I try to play an audio, it runs into a fault -- > `void HardFault_Handler(void))`

I can't tell where it's being called, but the stack is as such:

audio_0-1759261272122.png

Any idea why I can't play audio out?

 

 

22 REPLIES 22
audio
Associate III

Sorry, I missed this response. Okay we can proceed with your plan. However, the project you provided still gave me errors which I'm sure are due to file location issue. 

audio_0-1761846574106.png


As for the other solution, I will test tomorrow, unfortunately I don't have the product with me to test. To be updated in a new question!

audio
Associate III

As soon as this compiles, I will mark it solved. Sorry I haven't been able to compile it to test it. 

audio
Associate III

Hello @FBL - I haven't heard back about this part yet. I wasn't able to compile the project you shared yet.