2026-01-26 11:05 PM
I've been developing an object detection application from scratch by using STM32CubeMX and IDE. The evaulation board that I'm using is STM32N6570-DK.
I actually succeeded in implementing the continuous displaying of camera input. And then I tried to import the AI related code from the object detection code in STM32 Model Zoo Services.
But unfortunately I found that there is a problem while executing Run_Inference() function.
I traced the execution step and then finally I found that there is something wrong in handling NPU interrupts.
In the ATON_STD_IRQHandler() in ll_aton_runtime.c file, irqs variable has the value of 0x16000000 which leads to exit().
To find out the expected value, I downloaded the object detection code in STM32 Model Zoo Services, and then found out the irqs variable should have the value of 0x10000000.
I would like to know the meaning of each bit in the irqs variable, which seems to be ATON_INTCTRL_INTREG variable.
STM32CubeMX: 6.16.1 for Windows 11
STM32CubeIDE: 2.0.0
STM32 Model Zoo Services: 3.2