MEMS Studio CSV export - Documentation for new_data bitmask field?
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 3 | 0x08 | Accelerometer | 96.6% |
| Bit 4 | 0x10 | Gyroscope | 96.6% |
| Bit 5 | 0x20 | Magnetometer | 99.9% |
| Bit 6 | 0x40 | Pressure | — |
| Bit 10 | 0x400 | vAFE | — |
Questions:
- Is there official documentation for the new_data bitmask format in MEMS Studio CSV exports?
- Are these bit assignments consistent across different sensor configurations, or are they dynamically assigned based on which sensors are enabled?
- 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!
