cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment of a Neural Network from MATLAB and ST Edge AI Developer Cloud to LSM6DSV16IS

mariagragna
Associate

I am trying to implement a neural network on the LSM6DSV16IS IMU using an X-NUCLEO-IKS01A1 board.

The neural network was trained and exported from MATLAB in ONNX format. Subsequently, the model was quantized using ST Edge AI Developer Cloud, and I downloaded the generated library for the IMU.

I referred to the following tutorials as guidelines:

  1. How to implement a neural network on LSM6DSO16IS and ISM330IS
  2. ST MEMS ISPU GitHub repository

However, I encountered some differences in my case and decided to download the template (I tried both template and template_stedgeai).

I modified the main.c file in inspu/src/main.c, but it fails to compile. On the other hand, when I try to compile the file in inspu_stedgeai/src/main.c, the console outputs: "Nothing to build for project ispu_stedgeai".

At this point, I am unsure how to proceed.

My main questions are:

  1. Is it possible to use ST Edge AI Developer Cloud to directly obtain the three folders (lib, inc and src) that can be integrated into the project in STM32CubeIDE?
  2. How can I generate the UCF file required for the implementation?

Thank you in advance for your support.


0 REPLIES 0