cancel
Showing results for 
Search instead for 
Did you mean: 

question after generating code using STM32CUBEIA

mohamedaziz
Associate

I'm a newbie and trying to create a use case with Cube AI 9.0. I'm having trouble understanding how to use the predefined functions Mx-cube-process(), Mx cube init. Could you explain how i need to use this function in my project or there is another method wich i can use it?

1 REPLY 1
hamitiya
ST Employee

Hello,

Here is the X-CUBE-AI documentation and references in order to explain how to use this tool in STM32CubeMX:

AI:X-CUBE-AI documentation - stm32mcu

Getting started with X-CUBE-AI Expansion Package for Artificial Intelligence (AI) - User manual

"Mx" labeled functions are related to STM32CubeMX functions that are generated and are not related to X-CUBE-AI.

X-CUBE-AI initialization and execution is done through :

MX_X_CUBE_AI_Init
MX_X_CUBE_AI_Process

The first one is initializing UART and external RAM or external flash, if any. At the end, it calls the function depending on the project you generated (aiSystemPerformanceInit() or aiValidationInit())

 

On MX_X_CUBE_AI_Process you will retrieve the execution.

 

Regards

 

 


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.