Skip to main content
Visitor II
July 29, 2024
Question

FreeRTOS on STM32U5G9ZJT6QU

  • July 29, 2024
  • 3 replies
  • 947 views

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

    This topic has been closed for replies.

    3 replies

    ST Employee
    August 7, 2024

    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 

    Visitor II
    September 16, 2024

    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!

    Graduate
    November 15, 2024

    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