cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6570-DK FreeRTOS example projects

Selvarasu_K
Associate II

Hello ST Community Team,

I am working on an STM32N6570-DK based camera streaming project.

Project modules:

  • Camera Capture
  • ISR Handling
  • JPEG Hardware Encoder
  • Ethernet
  • UDP Streaming (Target: 30 FPS)

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:

  • Any STM32N6570-DK FreeRTOS example projects
  • Sample task architecture for Camera → JPEG → Ethernet → UDP Streaming
  • Any recommendations for task priorities, stack sizes, and inter-task communication
  • Suggestions for debugging task-related stuck issues

  • 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.

0 REPLIES 0