2026-04-17 9:46 AM
In an Edge AI audio project that I'm working on, there is SAI2 peripheral that stops audio transmission after a while when the AI algorithm in the while loop of the main.c has done some inferences.
The AI algorithm code was generated with Cube AI Studio and, when STM32CubeAI_Studio_AI_Process() is commented, the SAI peripheral works normally without interruptions.
The board used is a NUCLEO-N657X0-Q.
The version of software used is:
-ST Edge AI Core: version 4.0.0
-STM32CubeIDE: version 2.0.0
-Cube AI Studio: version 1.1.0
I've tried to search on internet for a solution and there is no material concerning it! I've tried to ask for help in other posts, but nobody helped me. Can somebody try to explain why and find a solution? I'm desperate and I don't know what to do for my project but withdraw.
2026-05-05 7:19 AM
Hi @s319189,
Even when commenting the inference, we never receive the "Hello From LPUART1" so the audio streaming in itself is an issue.
Sadly, we cannot spend much more time debugging it, this is not the goal of this forum.
We advise you to start from the audio N6 audio getting started that was validated and re validated multiple times and come back to the AI with the studio in a second time.
This way you will have streaming + pre proc + AI inference that is working on N6.
Have a good day,
Julian