SmartMotion® MEMS Motion Sensors

phpbb forum ID
13263
By rhoebeegeomilcom , 7 December 2022

We are using the ICM-20948 on a print that is orientated differently than the default chip orientation. We use the gravity vector, which can be retrieved using the default DMP image. Using the example from TDk we can change the orientation matrix so that the x-, y- and z-axis match our default use case. But when using this we get that the x- and z-axis always initiate at 0 m/s^2 and the Y-axis initiates at 9.8 m/s^2.

By nadeemafrozgmailcom , 7 November 2022

I am trying to configure the device, and have below question related to the ICM device. Can you please help with these questions ?

1. In our application using ICM-20602 device, we use SPI interface, SPI read/write commands are 2 bytes (or more). Can you please clarify data frame format ?
Based on my understanding below is the correct frame format. SPI_Address is Byte _2 (higher byte) & SPI_Data is Byte_1 (lower byte). Is my understanding correct ?
MSB LSB
R/W A6 A5 A4 A3 A3 A1 A0 D7 D6 D5 D4 D3 D2 D1

By junjiechangecoevcom , 7 November 2022

I wanted to calibrate the values of the accelerometer X/Y/Z by means of XA_OFFSET_x. I saw in the datasheet ([7:1] XA_OFFS[6:0] Lower bits of the X accelerometer offset cancellation. ±16g Offset cancellation in all Full Scale modes, 15 bit 0.98-mg steps.) describes that bit0 is invalid and the higher bits are all valid. Since positive and negative values are involved, I thought I would just set the value *2 directly, so that it would be possible to write it directly (without considering the byte order here).

By yongleili717qqcom , 27 October 2022

We are using the I3C interface to communicate with ICM42688 series chips.
When using the I3C HDR-DDR mode, we found that the datasheet only states that it supports the DDR mode, but there is no relevant protocol details.
Can you provide the communication protocol details about the I3C HDR-DDR mode of this series chip?

By kurokisnipponradcojp , 19 October 2022

I am trying to read out acceleration data in bursts using the FIFO function of the ICM-20948.
I am reading from the FIFO_R_W (0x72) register after the FIFO count reaches 4096, but when I perform a burst read of more than 30 bytes I get no response.
Is there any way to read all the FIFO buffers at once?
Please let me know.

Sorry for my poor English.

By martinmucogroupcom , 11 October 2022

Hi,
I am using an ICM-40627 in I2C mode, the address selection pin set to GND so the I2C address is set to 104(0x68).
I use an I2C scan function to detect all the devices on the I2C bus.
At address 0x68 the ICM-40627 reacts with an ACK, that is correct.
When the I2C scan function sends address 126(0x7E) the ICM-40627 stops working.

By maherdembedded… , 20 September 2022

Hello,

The ICM-20602 datasheet does not give any information on what type goes into ACCEL_COM_X/Y/Z_THR. The THR register is only 8 bits, but the accel data registers are 16 bits. Is this the high byte of the threshold LSB based on whatever scale the sensor is set to? This makes the most sense to me, although it doesn't seem to work:

icm->reg_accel_wom_x = (int16_t)(x_threshold * icm->accel_divisor) >> 8;