cancel
Showing results for 
Search instead for 
Did you mean: 

FreeRTOS on STM32U5G9ZJT6QU

MichaelZ22
Associate

Hi. I am working on creating parallel threads on my STM32U5G9J-DK2 board using freeRTOS. Are there any freeRTOS example projects for this devkit I can reference? I could not find any while creating a project in the STM32 Cube IDE.

Thanks, Michael

3 REPLIES 3
Sarra.S
ST Employee

Hello @MichaelZ22, welcome to ST Community, 

There is no specific FreeRTOS example on STM32U5G9J-DK, there are applications for ThreadX in the STM32CubeU5 repo. 

But using stm32CubeMx, it shouldn't be complicated 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

EnaitzO
Associate II

Hello,

I was wondering if it is possible to use the FreeRTOS Middleware which is used on the STM32H7 and STM32F4 and which can be found at the following links ‘https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Middlewares/Third_Party/FreeRTOS/Source’ and ‘https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Middlewares/Third_Party/FreeRTOS/Source’ in the case of the STM32U5G9. Or if on the other hand, in the case of this chip this Middleware is not valid and it is necessary to proceed in a different way.

Thanks!

saikumar
Associate III

Hi Michael,

I found some code that might be useful, so I’m sharing a link of it with you. However, we’re also facing an issue with the same board, specifically with USB CDC-ACM functionality. The USB connection isn’t showing up in the Device Manager—only the ST-Link cable appears, not the application USB cable. I suspect it might be a driver issue on my end.

I’m attaching my code as well. If you could take a look and maybe suggest what might be missing or needs adjustment to activate the USB, it would be a big help.

Thanks in advance for any guidance you can offer!

 

https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/STM32U5G9J-DK2/Applications/USBX/Ux_Device_CDC_ACM