IMU & Motion
STMicroelectronics LSM6DSOX in the datasheet corpus
6-axis iNEMO inertial module with finite state machine, 9 KB FIFO and I3C/I2C/SPI interface.
VendorSTMicroelectronicsIMU & Motion
InterfaceI2C / SPII2C 0x6A/0x6B; SPI Mode 0/3 (up to 10 MHz)
Record StatusCatalog profileDatasheet / behavioral twin
Driver oracle & capability record
Indexed in the CircuitTwin industry datasheet corpus alongside verified LSM6DSO driver oracle registers.
| Driver reference | STMicroelectronics lsm6dsox-pid C driver |
|---|---|
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Published record | Generate or inspect locally via ct twin generate (see /docs/twin-generation). |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x0F | WHO_AM_I | 0x6C | Fixed ST device identifier |
0x10 | CTRL1_XL | 0x00 | Accelerometer ODR and full-scale selection |
0x11 | CTRL2_G | 0x00 | Gyroscope ODR and full-scale selection |
0x22-0x2D | OUTX_L_G..OUTZ_H_A | 16-bit LE | Gyro and accel output samples |
Attach with ct CLI
Shell - run firmware with LSM6DSOX
# Run compiled firmware with LSM6DSOX attached on b-u585i-iot02a
ct run --json --board b-u585i-iot02a --device lsm6dsox build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/lsm6dsox.xml tests/lsm6dsox-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/lsm6dsox-fault.suite.yaml
version: 1
board: b-u585i-iot02a
firmware: build/app.elf
tests:
- name: lsm6dsox-i2c-nack-recovery
faults:
- at_ms: 30
bus: I2C1
kind: nack
address: 0x6A
count: 2
- at_ms: 140
part: lsm6dsox
kind: register_override
register: 0x0F
value: 0xFF
expect:
console_contains: "DRIVER_FAULT_HANDLED"
exit_code: 0