2026-04-21 7:01 AM
Dear all,
For the STM32N6570-DK kit, is there a simple tutorial that shows the workflow for integrating a model generated by STM32Cube AI Studio into a project?
A simple example would be: if an image is detected, we could turn on an LED on the kit.
A guide would be very welcome. Many thanks
Cheers
Emmanuel
Solved! Go to Solution.
2026-04-21 7:56 AM - edited 2026-04-21 7:56 AM
Hi @emmanuel_ ,
In STM32cube AI Studio, you can generate 2 things:
The template project on seems to be what you request.
In the current version it doesn't do anything else than running an inference.
In the next version (end of april) we will also print the inference time via serial.
We are working on a tutorial to explain how to recreate manually the template project from a cubeMX blank project, generating the C files of the model, copying them in the project and recreating the simple application.
Do you think this is helpful? please let us know what you think, so that we can adapt our tutorial.
In the meantime, if you generate the project, I think that what you are looking for is in AI\App\x-cube-ai.c
The main.c call the function in the other file in the while(1) loop, nothing more.
Have a good day,
Julian
2026-04-21 7:56 AM - edited 2026-04-21 7:56 AM
Hi @emmanuel_ ,
In STM32cube AI Studio, you can generate 2 things:
The template project on seems to be what you request.
In the current version it doesn't do anything else than running an inference.
In the next version (end of april) we will also print the inference time via serial.
We are working on a tutorial to explain how to recreate manually the template project from a cubeMX blank project, generating the C files of the model, copying them in the project and recreating the simple application.
Do you think this is helpful? please let us know what you think, so that we can adapt our tutorial.
In the meantime, if you generate the project, I think that what you are looking for is in AI\App\x-cube-ai.c
The main.c call the function in the other file in the while(1) loop, nothing more.
Have a good day,
Julian
2026-04-22 4:22 PM
Hi @Julian E. ,
Thank you very much for your response.
This tutorial would be very helpful, especially if it clearly shows the steps to follow in order to successfully complete the project.
The simplest tutorials are sometimes the most effective !
Cheers
Emmanuel
2026-04-27 8:43 AM
Hello , can you please include in the tutorial the correct debugging method for the generated project ? that would be helpful
and also when can we expect this tutorial ?