2024-07-17 02:37 PM
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?
2024-07-18 01:03 AM
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