SmartMotion® MEMS Motion Sensors

phpbb forum ID
13263
By williamjbaltus… , 3 June 2021

Hello, I am a university student looking to interface with the ICM 20602. I have begun embedded C tutorials to start. Though I am not sure where to begin here. My goal is to retrieve gyro, accel, internal temp, time stamp data. I will be getting a development board to help me out. I don’t understand the entire system of interfacing with this sensor, so any guidance would be helpful! Thank you.

By williamjbaltus… , 3 June 2021

Hello, I am a university student looking to interface with the ICM 20602. I have begun embedded C tutorials to start. Though I am not sure where to begin here. My goal is to retrieve gyro, accel, internal temp, time stamp data. I will be getting a development board to help me out. I don't understand the entire system of interfacing with this sensor, so any guidance would be helpful! Thank you.

By yurii , 3 June 2021

Hi all!
I use eMD-SmartMotion-ICM20948-1.1.0-MP SDK to bring up the IMU under low-level.
I can't get the info in docs and SDK about setting the Watermark threshold. Interrupts were enabled succesfully at all.
In the function dmp_icm20948_set_FIFO_watermark(s,800) the string

inv_icm20948_write_mems(s, FIFO_WATERMARK, 2, inv_icm20948_convert_int16_to_big8(fifo_wm,big8))

somehow allows to set threshold but is inconsistant absolutely, because FIFO_WATERMARK is put like register number instead real register number.

By kamchowrehabro… , 27 May 2021

I am following the example in this library at https://github.com/ZaneL/Teensy-ICM-20948

I can get the value of quaternion, gyro, accel and want to try settings with different frequency.
In the example code, it state that the frequency can be set like this:
.gyroscope_frequency = 1, // Max frequency = 225, min frequency = 1
.accelerometer_frequency = 1, // Max frequency = 225, min frequency = 1
.magnetometer_frequency = 1, // Max frequency = 70, min frequency = 1
.quaternion_frequency = 50 // Max frequency = 225, min frequency = 50

By softwareforesh… , 20 May 2021

I'm trying to get something out of the 42688P but the sensor registers only ever have 0x8000 in them. I can read and write all registers successfully via I2C so that side of thigs is fine. From a cold start what registers should be set to start ouputting Gyro / Accl values?

I have set

1. INTF_CONFIG / I2C flags as per datasheet
2. DRIVE_CONFIG / I2C slew rate 001 as per datasheet
3. INTF_CONFIG1 / use RC oscillator, always select internal RC oscillator
4. FSYNC_CONFIG / deacivate fsync
5. PWR_MGMT0 / set gyro / accll to lower noise mode.

wait 0.05s

By binfenyao126com , 19 May 2021

Hi,all
I am new to use icm sensor, I want to read its acceleration value by spi. I've did some settings in MCU, such as spi_init(spi's initialization) and write_read() function. Before reading the acceleration value, I define a function to read the device's default ID(0x12) and verify it. But the value received was 0x00, the spi transmitter function seemed to be normal to send data, but it read a abnormal value. And the acceleration value read from the sensor were also 0x00, no matter how I shake the device. I have no idea about this problem, if anyone have any advice?

By junkdepository… , 15 May 2021

We are currently manufacturing a vehicle orientation and position module that has been in production about 2 years. It currently uses a BNO-055 and as part of the redesign we would like to migrate to the ICM-20948.

We are using a PIC18F16Q40 for this release and everything is in C99. I have downloaded and carefully reviewed everything that I thought could be relevant from Invensense website. I've also gone through a great deal of files and examples from github and surfed the internet extensively.

By tomasrohlineko… , 14 May 2021

Hi, I was wondering what are those 3kB of hex data loaded to DMP on initialization. I know they are supposed to be some kind of "program" for DMP, but what do they do? Is there a way to get assembly version? And is there a way to make my own? Or, am I misunderstanding this completely?
Thank you, for any answers :)

By lmwill , 10 May 2021

Hi,
we are looking at the 42688 for more accurate readings than we get with our current 20602 we are using.
I read in the data sheet that using an external clock gives greater accuracy.
Can you give an indication of what kind of clock source to use. A crystal oscillator module or could we supply from a timer output on our Nordic nRF52840?

Thanks
Leon

By willvialamotus… , 28 April 2021

Hardware : DK-20948
Application : EMD-App-ICM20948

What I'm trying to do is modify the EMD-App-ICM20948 code to only raise an event when the watermark event fires.

I'm using the EMD-App-ICM20948 code base running on a DK-20948. The sensors are being started using the sensor-cli application shipped with the codebase. It seems like it should be straight forward, but nothing I do to the interrupt buffers appears to change the output on the sensor-cli application.