cancel
Showing results for 
Search instead for 
Did you mean: 

How to apply Pedometer Regression output (.ucf/.json) for SensorTile.box Pro?

joseph_binu
Associate

Hi ST Community,

I am working on a project using the SensorTile.box Pro. My goal is to implement a highly accurate step counter using the LSM6DSV16X's embedded pedometer.

What I have done:

  1. I recorded data patterns at 30Hz and successfully ran the Pedometer Regression Tool in MEMS Studio.

  2. The tool generated the optimum configuration files (pedometer.json ).

  3. I converted these register settings into a .ucf file format.

The Problem: I need to apply these "Golden Settings" to the sensor initialization in AlgoBuilder so they persist after a reset. However, I am unable to find a standard method to load this configuration:

  • I checked the Sensor Hub block properties, but I do not see a "Load Configuration/UCF" option.

  • I searched the Library for a "Register Write" block to manually input the values, but this block seems missing or hidden in my version of AlgoBuilder (I only see Acceleration, FSM/MLC, Sensor Hub, etc. under the Sensor Hub folder).

My Question: What is the correct way to inject a custom register configuration (or load a .ucf file) for the LSM6DSV16X sensor in the SensorTile box Pro?

  • Is there a specific block I should use (e.g., the FSM/MLC block as a container)?

  • Or do I need to use a Custom Code block? If so, what is the syntax for writing registers during initialization ?

Hardware/Software Details:

  • Board: SensorTile.box Pro (STEVAL-MKBOXPRO)

  • Sensor: LSM6DSV16X

  • Software: AlgoBuilder (v2.2.0), MEMS Studio

Any guidance or a screenshot of the correct block setup would be greatly appreciated!

Thanks.

0 REPLIES 0