cancel
Showing results for 
Search instead for 
Did you mean: 

MEMS Studio CSV export - Documentation for new_data bitmask field?

hareee234
Associate

Hello,

I'm using MEMS Studio to log data from a multi-sensor glasses platform for biomarker extraction research. My sensor configuration includes:

  • ST1VAFE6AX (Accelerometer @ 240 Hz, Gyroscope @ 240 Hz, vAFE enabled)
  • LIS2MDL (Magnetometer)
  • LPS22DF (Pressure)
  • STTS22H (Temperature)

The CSV export includes a new_data column containing hex values (e.g., 0x08, 0x10, 0x18, 0x20, 0x400). I understand this is a bitmask indicating which sensor(s) have new data in each row, but I cannot find official documentation for the bit assignments.

Through empirical analysis (checking which sensor columns actually change when each bit is set), I determined:

Bit Mask Sensor Correlation

Bit 30x08Accelerometer96.6%
Bit 40x10Gyroscope96.6%
Bit 50x20Magnetometer99.9%
Bit 60x40Pressure
Bit 100x400vAFE

Questions:

  1. Is there official documentation for the new_data bitmask format in MEMS Studio CSV exports?
  2. Are these bit assignments consistent across different sensor configurations, or are they dynamically assigned based on which sensors are enabled?
  3. Is filtering rows by this bitmask the recommended approach for extracting clean, single-sensor data streams at their true ODR?

Thank you for any guidance! 

0 REPLIES 0