Skip to main content
Evelina CAMILLERI
ST Employee
April 4, 2022
Solved

Is it feasible to integrate the FSM /MLC generated model (code) into a board with low power consumption MCU in order to add some logic around thee ML model?

..

    This topic has been closed for replies.
    Eleon BORLINI
    Eleon BORLINIBest answer
    ST Employee
    April 4, 2022

    The FSM/MLC configuration generated with our tool is specific for ST sensors. However, a similar model could be created to run on MCU as well. 

    For the integration of the FSM / MLC configuration in a specific driver / firmware, you can reference to the Platform independent drivers in our GitHub repository --> LINK

    If you navigate in the LSM6DSOX folder, you can find some examples of integration of .h files containing FSM / MLC configurations.

    It is also possible to combine the model which is running in the sensor with a model running in the MCU. For instance, a simple model running on the sensor (at very low current consumption) generates an interrupt on specific conditions to trigger the MCU. The MCU can run a more complex model when triggered by the sensor, staying in sleep mode most of the time in order to further reduce the overall current consumption of the sensor+MCU solution.

    1 reply

    Eleon BORLINI
    Eleon BORLINIBest answer
    ST Employee
    April 4, 2022

    The FSM/MLC configuration generated with our tool is specific for ST sensors. However, a similar model could be created to run on MCU as well. 

    For the integration of the FSM / MLC configuration in a specific driver / firmware, you can reference to the Platform independent drivers in our GitHub repository --> LINK

    If you navigate in the LSM6DSOX folder, you can find some examples of integration of .h files containing FSM / MLC configurations.

    It is also possible to combine the model which is running in the sensor with a model running in the MCU. For instance, a simple model running on the sensor (at very low current consumption) generates an interrupt on specific conditions to trigger the MCU. The MCU can run a more complex model when triggered by the sensor, staying in sleep mode most of the time in order to further reduce the overall current consumption of the sensor+MCU solution.