imu_aspirin_common

Common functionality of Aspirin IMUs. - Accelerometer: ADXL345 via SPI - Gyroscope: ITG3200 via I2C - Magnetometer: HMC58xx via I2C

Configures

Name

Value

Description

ASPIRIN_I2C_DEV

i2c2

I2C device to use

ASPIRIN_SPI_DEV

spi2

SPI device to use for accel

ASPIRIN_SPI_SLAVE_IDX

SPI_SLAVE2

slave index of the accel CS pin

Section IMU

IMU_

Name

Value

Description

MAG_X_NEUTRAL

2358

MAG_Y_NEUTRAL

2362

MAG_Z_NEUTRAL

2119

MAG_X_SENS

3.4936416

MAG_Y_SENS

3.607713

MAG_Z_SENS

4.90788848

Depends

  • spi_master
  • i2c
  • imu_common

Provides

  • imu
  • mag

Sections