2026-04-15 4:08 AM - last edited on 2026-04-16 4:32 AM by mƎALLEm
Hello everyone,
I’m working on a custom version of the FP-SNS-DATALOG2 firmware and attempting to integrate a new sensor, LSM6DSV320X, which is available on the STEVAL-SensorTile.Box Pro but not on the STEVAL-STWINBX1.
To add support for this sensor, I performed the following changes:
With these changes, I’m able to start logging using a custom device template, and the sensor appears to work initially. However, the system becomes unreliable after a reset.
The board operates correctly until it is reset. After reset, I encounter multiple faults, including:
(See attached screenshots for details.)
I suspected a memory issue, so I increased the ThreadX byte pool (TX_BYTE_POOL) from 565 KB to 570 KB, but this did not resolve the problem.
I’ve also attached the project archive with my modifications for reference.
Any insights or suggestions would be greatly appreciated.
Thank you in advance,
George Kryshco
2026-04-16 4:33 AM
Hello,
@George_Kryshco wrote:
Main Issue
The board operates correctly until it is reset. After reset, I encounter multiple faults, including:
- HardFaults
- Bus faults
- Memory management faults
- Usage faults (forced)
- Precise data access violations
- Occasional unaligned access faults
How to debug a HardFault on an Arm® Cortex®-M STM32