IMU & Motion

# TDK InvenSense ICM-42688-P in the datasheet corpus

6-axis high-precision MEMS accelerometer and gyroscope with 20-bit FIFO and APEX motion engine.

standing: provisional SPI / I2C SPI Mode 0/3 (up to 24 MHz); I2C 0x68/0x69

Vendor TDK InvenSense IMU & Motion

Interface SPI / I2C SPI Mode 0/3 (up to 24 MHz); I2C 0x68/0x69

Record Status Catalog profile Datasheet / behavioral twin

## Driver oracle & capability record

Indexed in the CircuitTwin industry datasheet corpus (IMU class). Generate a cited register and behavioral twin locally with ct twin generate.

| Driver reference  | TDK InvenSense ICM-42688-P / PX4 IMU 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](https://circuittwin.ai/docs/twin-generation)).                    |

## Key registers & reset values

| Address / Field | Register         | Reset / Expected | Purpose                                             |
| --------------- | ---------------- | ---------------- | --------------------------------------------------- |
| 0x75            | WHO\_AM\_I       | 0x47             | Fixed Bank 0 chip identifier                        |
| 0x76            | REG\_BANK\_SEL   | 0x00             | Selects register banks 0 through 4                  |
| 0x4E            | PWR\_MGMT0       | 0x00             | Enables low-noise accelerometer and gyroscope modes |
| 0x1F-0x2A       | ACCEL/GYRO\_DATA | 16-bit BE        | 6-axis inertial sensor sample words                 |

## Attach with ct CLI

Shell - run firmware with ICM-42688-P

```
# Run compiled firmware with ICM-42688-P attached on nucleo-h743zi2
ct run --json --board nucleo-h743zi2 --device icm-42688-p build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/icm-42688-p.xml tests/icm-42688-p-fault.suite.yaml
```

## Fault-injection test snippet (suite.yaml)

tests/icm-42688-p-fault.suite.yaml

```
version: 1
board: nucleo-h743zi2
firmware: build/app.elf
tests:
  - name: icm-42688-p-spi-disconnect-and-fault
    faults:
      - at_ms: 40
        part: icm-42688-p
        kind: bus_disconnect
        duration_ms: 25
    expect:
      console_contains: "SPI_FAULT_HANDLED"
      exit_code: 0
```

## Compatible board twins

[Board: nucleo-h743zi2](https://circuittwin.ai/boards/nucleo-h743zi2) [Board: nucleo-f767zi](https://circuittwin.ai/boards/nucleo-f767zi) [Board: rpi-pico2](https://circuittwin.ai/boards/rpi-pico2) [Accuracy report](https://circuittwin.ai/docs/accuracy)

## More in IMU & Motion

[ADXL345 (Analog)](https://circuittwin.ai/twins/adxl345) [ADXL355 (Analog)](https://circuittwin.ai/twins/adxl355) [AS5600 (ams)](https://circuittwin.ai/twins/as5600) [BMI088 (Bosch)](https://circuittwin.ai/twins/bmi088) [BMI160 (Bosch)](https://circuittwin.ai/twins/bmi160) [BMI270 (Bosch)](https://circuittwin.ai/twins/bmi270)

> ## Inject ICM-42688-P bus faults in CI
>
> Wire ICM-42688-P onto your MCU board twin, drive physical stimuli and fail builds when your driver hangs on NACKs or frozen registers.
>
> [Start now](https://app.circuittwin.ai/try) [Inputs & fault injection docs](https://circuittwin.ai/docs/inputs) [Connect a coding agent](https://circuittwin.ai/docs/agents)
