2026-06-03 3:31 AM - last edited on 2026-06-03 5:12 AM by mƎALLEm
Hello ST Community Team,
I am working on an STM32N6570-DK based camera streaming project.
Project modules:
Previously, I developed the complete application using bare-metal code, and all functionalities were working properly.
Now, I need to migrate the project to FreeRTOS because the client requires a production-level architecture where each module runs in a separate task.
I installed the FreeRTOS package using CubeMX and started moving the application into tasks. However, after starting the scheduler and running the tasks, the application gets stuck.
FreeRTOS + ANY peripheral init → HardFault
Could you please provide:
Confirm whether ThreadX and FreeRTOS are currently supported for STM32N6570 peripherals in CubeMX.
Provide a working minimal example (blinky + UART) using RTOS on N6.
Clarify:
Required MPU configuration
Required security / RIF / TrustZone setup
Required memory placement
Required cache settings
Identify whether this is a known issue on STM32N6 with RTOS.
Provide workaround or patch if available.
Please note that the client specifically wants FreeRTOS. They do not want Azure RTOS / ThreadX.
Any example code or reference project would be very helpful for understanding the correct flow and resolving the issue in my project.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.