cancel
Showing results for 
Search instead for 
Did you mean: 

AI application code related issue

chanchal94
Senior

 I am using STM32N6570-DK board . I am trying to build edge AI code in application mode with the help of generated STM32 cube AI studio generate project for IDE. I am following this article https://community.st.com/t5/stm32-mcus/how-to-build-an-ai-application-from-scratch-on-the-stm32n6570-dk/ta-p/825591 . @Julian E. This article includes AI using X-Cube AI , I just wanted to ask if I am using the project/ AI files generated by STM32 Cube AI studio, Will the configuration of external memory manager and addresses we are using in XSPI2 , RAMCFG , RCC settings all will remain exactly same ? 
I am asking this as I am getting some memory issues while debugging the application code.
Also my code includes ADC+USART also, will this add to additional memory changes?

1 ACCEPTED SOLUTION

Accepted Solutions
Julian E.
ST Employee

Hi @chanchal94,

 

When you do a "generate project" in STM32Cube AI Studio, you get the .ioc

It is very similar to what I described in the tutorial. I am working on updating it.

 

In any case, you can look at the .ioc directly and even look at the "script" file that show you what was changed in the default ioc of the DK board

JulianE_0-1776758690906.png

 

Regarding your last question: " my code includes ADC+USART also, will this add to additional memory changes?"

not directly on memory addresses/configuration, but yes on memory usage and memory-access constraints.

 

Have a good day,

Julian


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Julian E.
ST Employee

Hi @chanchal94,

 

When you do a "generate project" in STM32Cube AI Studio, you get the .ioc

It is very similar to what I described in the tutorial. I am working on updating it.

 

In any case, you can look at the .ioc directly and even look at the "script" file that show you what was changed in the default ioc of the DK board

JulianE_0-1776758690906.png

 

Regarding your last question: " my code includes ADC+USART also, will this add to additional memory changes?"

not directly on memory addresses/configuration, but yes on memory usage and memory-access constraints.

 

Have a good day,

Julian


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thank you for this useful reply.

Warm Regards

Chanchal