Expand description
Copper source driver for the BMI088 6-axis IMU (accelerometer + gyroscope).
The BMI088 is a high-performance inertial measurement unit with a 16-bit accelerometer and a 16-bit gyroscope. It is commonly used in flight controllers and robotics applications.
This driver uses embedded-hal 0.2 traits for SPI communication and GPIO chip-select control,
making it portable across different embedded platforms.
§Hardware Notes
The BMI088 has separate chip-select lines for the accelerometer and gyroscope:
- Accelerometer: Requires a dummy byte after register address reads
- Gyroscope: Standard SPI read protocol
§Example Configuration (copperconfig.ron)
(
id: "imu",
type: "cu_bmi088::Bmi088Source<MySpi, MyAccCs, MyGyrCs, MyDelay>",
resources: {
"spi": "hal.bmi088_spi",
"acc_cs": "hal.bmi088_acc_cs",
"gyr_cs": "hal.bmi088_gyr_cs",
"delay": "hal.bmi088_delay",
},
)Structs§
- Bmi088
Source - Copper source task for the BMI088 IMU.
- ImuPayload
- Standardized IMU payload carrying acceleration, angular velocity, and optional magnetometer data.
- Resources