Skip to contentSkip to conversation

IIO driver for the Invensense ICM-20948 IMU

DISCUSSION Martin Kelly 3 participants 4 messages Aug 17, 2018 – Aug 20, 2018 IIO

lore
Share & tools
lore
#0 lore raw

Hi,

Unless I missed something, I noticed the ICM-20948 IMU from Invensense appears not to have an IIO driver yet. I'm wondering if there are plans to add one and if so, the expected timeline for it.

Thanks,
Martin

#1 lore raw
Quoted 8 lines · On Thu, 16 Aug 2018 14:36:32 -0700 Martin Kelly <[email protected]> wrote:

Hi,

Unless I missed something, I noticed the ICM-20948 IMU from Invensense appears not to have an IIO driver yet. I'm wondering if there are plans to add one and if so, the expected timeline for it.

Thanks,
Martin

Hi Martin,

I'm not aware of anyone looking at this part. A quick glance a the datasheet suggested this has an entirely different address map to the existing parts, so won't be trivial to support either.

Hopefully Jean-Baptiste will have more information for us!

Jonathan

#2 lore raw

Hello,

I'm currently working in background on adding our old 9-axis MPU-9250 (MPU-= 6500 + AK8963 in 1 package) to the existing driver.=20

Currently this kind of setup is supported by driving the mag from the ak897= 5 driver in the kernel. My goal is to drive the mag from the MPU using the = MPU I2C master IP for achieving better performance (no jitter compared to k= ernel timers) and provide a true 9-axis device.

ICM-20948 is ICM-20648 + AK9916 in 1 package. I think It should be possible=
to support it inside the existing driver. We need first to add ICM-20648 s=
upport inside the driver. For the basic functions, this chip should be quit= e similar to the already supported ones.

I am sorry there is no current plan or deadline for this kind of work. It r= eally depends on my available bandwidth.

Feel free to work on it by adding first 6-axis (ICM-20648) support to the d= river.

Best regards,
JB

From: Jonathan Cameron <[email protected]>
Sent: Monday, August 20, 2018 15:28
To: Martin Kelly
Cc: [email protected]; Jean-Baptiste Maneyrol
Subject: Re: IIO driver for the Invensense ICM-20948 IMU =A0=20

Quoted 8 lines · On Thu, 16 Aug 2018 14:36:32 -0700 Martin Kelly <[email protected]> wrote:

Hi,
=20
Unless I missed something, I noticed the ICM-20948 IMU from Invensense=20 appears not to have an IIO driver yet. I'm wondering if there are plans=20 to add one and if so, the expected timeline for it.
=20
Thanks,
Martin

Hi Martin,

I'm not aware of anyone looking at this part.=A0 A quick glance a the datas= heet
suggested this has an entirely different address map to the existing parts,=
so
won't be trivial to support either.

Hopefully Jean-Baptiste will have more information for us!

Jonathan

    =
#3 lore raw
Quoted 5 lines · Jean-Baptiste Maneyrol

Hello,

I'm currently working in background on adding our old 9-axis MPU-9250 (MPU-6500 + AK8963 in 1 package) to the existing driver.

Currently this kind of setup is supported by driving the mag from the ak8975 driver in the kernel. My goal is to drive the mag from the MPU using the MPU I2C master IP for achieving better performance (no jitter compared to kernel timers) and provide a true 9-axis device.

Thanks, that sounds like very useful work!

Quoted 5 lines

ICM-20948 is ICM-20648 + AK9916 in 1 package. I think It should be possible to support it inside the existing driver. We need first to add ICM-20648 support inside the driver. For the basic functions, this chip should be quite similar to the already supported ones.

I am sorry there is no current plan or deadline for this kind of work. It really depends on my available bandwidth.

No problem, thanks for the information.

Quoted 37 lines

Feel free to work on it by adding first 6-axis (ICM-20648) support to the driver.

Best regards,
JB

From: Jonathan Cameron <[email protected]>
Sent: Monday, August 20, 2018 15:28
To: Martin Kelly
Cc: [email protected]; Jean-Baptiste Maneyrol
Subject: Re: IIO driver for the Invensense ICM-20948 IMU

Quoted 8 lines · On Thu, 16 Aug 2018 14:36:32 -0700 Martin Kelly <[email protected]> wrote:

Hi,

Unless I missed something, I noticed the ICM-20948 IMU from Invensense appears not to have an IIO driver yet. I'm wondering if there are plans to add one and if so, the expected timeline for it.

Thanks,
Martin

Hi Martin,

I'm not aware of anyone looking at this part.  A quick glance a the datasheet suggested this has an entirely different address map to the existing parts, so won't be trivial to support either.

Hopefully Jean-Baptiste will have more information for us!

Jonathan