SmartMotion® MEMS Motion Sensors

phpbb forum ID
13263
By refik , 6 March 2019

Hello every one,

Linux kernel driver has Invensense imu drivers under industrial I/O. Can we use this header file in a Linux user space application? If yes, I cannot find any sample code written with C, Is there any sample code that uses inv_mpu_iio.h?

I have also find that Invensense Linux driver from TDK git repo different from main line Linux kernel (find the newer code at below link)
https://invensense.githost.io/invn-public/MA_Lite/linux_driver/tree/master/drivers/iio/imu/inv_mpu
Why doesn't this uptodate driver parts in main line Linux kernel? Is it stable?

By davidfitzgerald , 4 March 2019

Hello all,

Slightly lost with how to communicate with the Magnetometer - is it Slave 0 ? Slave 1 ? Both ?

I've downloaded the code hosted by Invensense but still cannot communicate with the magnetometer (accel and gyro are fine). I'm simply trying to read the who am I of the AK09916.

All comms is over SPI.

Currently I read the ICM20948 who am I. This is valid so I reset the ICM then set the clock source (set bit 0 in pwr mgmt 1 reg).

All I2C_SLV_CTRL registers are then cleared.

Bit 4 of I2C_MST_CTRL register so there is a stop between reads.

By shailman24 , 1 March 2019

Hi all, I am using ICM sensor module. Almost I am getting correct values only but some at instance incorrect value like instead of will come even without moving the sensor. I'm using SPI communication over STMF series & I tried it to resolve by changing every parameter of my code. So I'm stuck please give any solution. Thanks.!

By ranjith97 , 28 February 2019

Hi,
I'm using ICM 20602 sensor and I have doubts in the operation of the chip.

1. When we are disabling the accelerometer and gyroscope by setting the PWR_MGMT_2 register with 0x3f will the value in the sensor O/P registers (0x3B-0x48) be set to 0x7f?

2. When we are disabling the FIFO register by setting the FIFO_EN register with 0x00 will the FIFO_COUNT_H and FIFO_COUNT_L registers be reset to 0x00 and FIFO_R_W register be set to 0x7f?

By bosco , 27 February 2019

Folks,

We want to use the ICM-20948 on a new project and use the DMP. However, there seems to be zero documentation on how to do this. There's nothing about how to program it, once it is programmed, then how you get information out.

The Atmel firmware in one of the dev kits seems to suggest you have to load an image into the DMP and I think I read somewhere that the code memory for said DMP is volatile, so that would make sense.

By sergiocostas , 26 February 2019

Hello:

I'm working with an ICM 20948 and I need to set the low-power mode with acelerometer only, the one that the datasheet says that uses only 68uA.

I tried setting PWR_MGMT_1 bit 5 (low_power mode), LP_CONFIG bit 5 (duty-cycle for acelerometer), but seems to not be enough. How can I do it?

Thanks.

By smlesley , 22 February 2019

There are alot of products out there with invensense IMUs in them that use various Open source software and various cpus to augment control of model aircraft.
Invensense made a press release: https://www.invensense.com/news-media/invensense-high-performance-imus-fully-support-daydream-tango-requirements/
And the words "predictive quaternion" caught my eye.

To me that means that internally the axis position, angular motion, and angular acceleration are all being calculated, and according to the doc being output filtered at kHz

By aldrinleal , 21 February 2019

A question: How can I set up a 20602 so I can keep it on minimum power consumption?

Right now I'm doing this, but still far from the advertised 6uA


void accel_sleep() {
__IO uint8_t pwrMgmt;

__i2cWrite(0x6B, 1);

__i2cWrite(MPUREG_PWR_MGMT_1, 1 << 7);

__i2cRead(MPUREG_PWR_MGMT_1, (uint8_t*) &pwrMgmt, 1);

pwrMgmt |= BIT_SLEEP;

__i2cWrite(MPUREG_PWR_MGMT_1, pwrMgmt);

HAL_Delay(100);

__i2cRead(MPUREG_PWR_MGMT_2, (uint8_t*) &pwrMgmt, 1);

pwrMgmt |= BIT_PWR_ALL_OFF;

By roywu , 18 February 2019

Hi all,

I am new to DK-20948. Have anyone use serial port to output the raw data without MotionLink? I would like to manipulate the data by Python (pySerial).

I wish they provide search function in the forum, so we can filter the related topics easily.