Re: iio: imu new driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/14/22 12:35, Fawzi Khaber wrote:
Hello Jonathan,
We are currently implementing a new driver for an invensense chip similar to
iio/imu/inv_icm42600. The chip has 2 sensors a gyroscope and an
accelerometer, and we are wandering if it was better the have two
IIO devices, one for each sensor, or just one IIO device with two buffers.

Are these two completely independent sensors that only sit in the same package or do they share a common clock and the data acquisition can be synchronized?

If it is the latter the best might be to have a single device with a single buffer.

Typical algorithms that process IMU data, like odometry, want to process the accelerator and gyroscope data jointly. If the data gets artificially separated into two buffers it first has to be re-aligned, which might be tricky to do.

- Lars




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux