ICM20948 Accelerometer Initialixation

By mohammedshavvd… , 22 October 2019

Hi Support Team,

We are using ICM IMU sensor with our Linux based SoC.

We have ported the imu driver on to our kernel source code, as given in README file we were able to see the files related to ICM in 'sys/devices/e.apb/e.ic/ic-/-/iio:device' directory.

On attempting to enable 'in_accel_enable' by using below command
# echo > /sys/devices/e.apb/e.ic/ic-/-/iio:device/in_accel_enable
the board thrown the below error

[ .] inv_mpu: sensor_on store: firmware not loaded
sh: write error: Invalid argument

We then copied 'inv_dmpfirmware.bin' firmware to the locations '/lib/firmware' and '/system/vendor/firmware/' and rebooted the board and attempted the above steps again.
But it didn't help. We still get the same error

We couldn't find any documents or readme files that would help us to configure the device further.
Could you please help us to proceed further.

phpbb Topic ID
37676