Skip to main content
Associate
May 13, 2026
Question

How to Flash FSM+MLC merge in MEMS-studio

  • May 13, 2026
  • 1 reply
  • 120 views

I am trying to use the LIS2DUX12 on the STEVAL- MKI109D and use MEMS studio to merge a MLC config I developed and an example FSM config. I have the merged file, but how do I run/test the config onto the board and see if it works?

1 reply

Federica Bossi
Technical Moderator
May 15, 2026

Hi @ak25 ,

The easiest way to test merged configuration is load the json file into "Load/Save Configuration" page. In order to check that both FSM and MLC are working as expected you use interrupts signals. In example if your FSM is triggering an interrupt on INT2 on free fall event detection and your MLC configuration is triggering an interrupt on INT1 on tilt event detection, your merged configuration should detect both events and generate interrupts accordingly.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
ak25Author
Associate
May 15, 2026

Where would the option to load/save configuration be, under the MLC or FSM tab? Also, does the MLC automatically program to INT1 (currently, my FSM correlates to INT1 so I want to ensure that when they are merged both interrupt outputs can be preserved and read)?

Federica Bossi
Technical Moderator
May 22, 2026

Hi @ak25 ,

If you are working with Nucleoboard + datalogextended firmware or Profimems board you can load/save configuration selecting sensor evaluation menu item . Yes, by default MLC configuration is generated to trigger an interrupt on INT1 on class detected change  (we will release soon a new option to not generate interrupts or generate them on INT2 if needed). If events to be monitored are not similar, you can still use MLC and FSM programmed to generate interrupts on INT1. We would suggest you anyway to check decision tree outputs to verify classes detected while algorithms are running.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.