cancel
Showing results for 
Search instead for 
Did you mean: 

Hi guys! I'm trying to use X-CUBE-AI with Aplication template , but I got "template code should be updated\r\n to support a model with multiple IO". I have accelerometer LSM6DS0 data as input (3 axis) and 4 output classes ('Up','Down','Left','Right').

JCuer.2
Associate II

What should I change to feed up the model? Thank you in advance!

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @JManu.1 Cuerva​ ,

I've added the Cube.AI topic since I'm not an expert on it. I have however some question / possible suggestion for you.

For the sensor part, are you referring to the LSM6DS0 (final "zero") part number or to the LSM6DSO (final "o")?

For the firmware part, are you starting from scratch and on a custom platform?

I would suggest you to check and compare your code with the applications of the FP-AI-SENSING1 function pack, that contains example of the CubeAI usage with the LSM6DSO(X) device, which is very similar to the LSM6DSO one (with final "o"). For example, you can check the \Projects\STM32L476RG-Nucleo\Applications\SENSING1 application, especially the ai_common.c file.

Please let me know if these examples can help you.

-Eleon