stm32duino / LSM6DSOX

Arduino library to support the LSM6DSOX 3D accelerometer and 3D gyroscope
27 stars 16 forks source link

Example on how to upload configuration to MLC #2

Closed jatincc closed 4 years ago

jatincc commented 4 years ago

I am currently using the following setup:

NUCLEO-L476RG X-NUCLEO-IKS01A3 STEVAL-MKI197V1

I want to be able to use the ARDUINO IDE to LOAD configuration files (.ucf files) to the LSM6DSOX and use the Machine Learning Core(MLC) feature.

I have tried looking at the Arduino Library code for the LSM6DSOX and the X-NUCLEO-IKS01A3. But there are no examples on how to do this.

Can anyone provide a high-level Arduino code that is able to upload configuration file to the MLC and is able to read out the MLC registers and Interrupts?

Edit: UNICO generates a .h file using the .ucf file. So arduino code would be using that header file NOT the .ucf file directly. Like this: LINK

I have also put this issue on the X-NUCLEO-IKS01A3 Github page as I am not really sure where it belongs.

NipunDewthilina commented 3 years ago

Did you findout a way for that