cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 AI Applications tutorial

YousefDessouki
Associate

Hello,
I am new to the STM32 world and have got access to the STM32N657X0 Nucleo board. I have followed the tutorial from STM about getting the NPU running. Link. 

However I have faced mutliple issues.

  1. When I generate the code from CubeMX, the SystemIsolation_Config only have the pin attributes setup and it is missing code.  I have tried to select the NPU in the RIF tab but can not. I have tried the iloc file attached in the tutorial as well I made my own based on the tutorial instruction and I faced the same issue. I have attached images below. If you could explain why, it will be helpful for me.Screenshot 2025-10-21 003546.pngScreenshot 2025-10-21 003419.png
  2. I have also tried writing commenting the AI code , so that in the while(1) of the application code I can toggle LEDS. I have generated the bin files and the hex data for the model weights. However, it seems to me that the board does not leave the FSBL stage. The red LED in the main application code is not blinking. I have also tried to mass erase the external memory in the STM32 programmer but I could not because, I assume, it is secured by a memory protection unit. 

Screenshot 2025-10-21 004246.png

Screenshot 2025-10-21 004232.png

  I have attached my code and binary files below. Any help will be greatly appreciated.

Regards,

0 REPLIES 0