2026-03-23 7:02 AM - last edited on 2026-03-23 7:20 AM by Andrew Neil
After I generated a complete project using STM32CUBE AI studio, I noticed that the code for calling the model in the main function was named STM32CubeAI_Studio_AI_Process.
After I found its definition, I discovered that it was defined in the file app_x_cube_ai.c. When I examined its implementation, I found that there was no implementation inside the functions acquire_and_process_data() and post_process().
Furthermore, I discovered that it did not utilize the so-called latest stai library. Instead, it directly used a more fundamental implementation. However, I am unsure of how to implement the above two functions. I haven't found any relevant examples or tutorials either. Is there any relevant link or document that can help me resolve my confusion?
Additionally, I would like to know if it is possible for me to use the STAI library to implement the functions of the aforementioned two procedures.