2023-06-18 04:35 PM
Hello everyone,
I have been trying to integrate a very light-weighted AI network with a sample BLE code (heartbeat one) for my STM32WB15 Nucleo board.
If I only run 'MX_X_CUBE_AI_Process' function in the main while loop, it keeps running, and If I only run 'MX_APPE_Process' it starts advertising the BLE service and publish the values properly. However, if I run both of them one after each other, the code would stuck inside the 'MX_X_CUBE_AI_Process' (apparently in the 'ai-run()').
It is also the same when I run the AI function inside the 'HRSAPP_Measurement' function which is responsible for measuring the heartbeat in the BLE app.
Anyone else has faced similar issue? Any solution is highly appreciated.
Thanks
2023-06-20 01:20 AM
Make sure the CRC IP is enabled (clocked) before to run the ai_run
Regards
2023-06-21 12:04 PM
Thanks for the reply.
The CRC IP clock has also been enabled. But no luck again.
I also did check the ram size and it only used %67 of the ram and ~35% of the flash.