SmartMotion® MEMS Motion Sensors

phpbb forum ID
13263
By altinellergmailcom , 17 October 2023

Hello,

Following datasheet, to set pin9 as clkin I have done the following:

uint8_t data;

write_byte(ICM42688_REG_BANK_SEL, 1); // bank sel 1
read_byte(ICM42688_INTF_CONFIG5, &data); // read INTF_CONFIG5
data |= 0b00000100; // [2:1] PIN9_FUNCTION: CLKIN: 10
write_byte(ICM42688_INTF_CONFIG5, data); // write INTF_CONFIG5

By altinellergmailcom , 4 October 2023

Hello,

I have succeeded settıng the gyro and acceletometer offsets, by using USER PROGRAMMABLE OFFSET that is referenced in datasheet section 5.4.

The routine I created works but only before device bootup. If the device offsets are changed while the sensor is running, it is not taken into effect.

Namely, I have the following init procedure:

By vasudevrk321gmailcom , 4 October 2023

I Am unable to communicate with ICM42688 - P sensor using SPI.
I tried to read WHOAMI register and it's supposed to give some value but it's returning 0x00.

I have attached a code for receive and transmit, please suggest me some way around to solve this problem

By rileywebsimula… , 24 September 2023

Section 12.3 of the ICM-42688-P datasheet states "Upon bootup the device comes up in SPI mode." -- the section goes on to describe register settings to set other modes modes (i2C and i3C)

But how does one perform the initial programming? I'm testing a board that has the 42688-P wired for I2C per the datasheet. And I can connect to other I2C devices on the bus. But the 42688-P is not responding.

By fvantienentudelftnl , 22 September 2023

In the previous ICM20948, ICM20648 and ICM20649 there was a TIMEBASE_CORRECTION_PLL register containing the imperfection in the PLL clock. Now I know that with the ICM-42688-P you can connect an external crystal, but currently we don't have the option to add that. We would still like to compensate for the internal imperfections of the PLL clock, but there is no register anymore containing the timebase correction.
Is there some hidden register still containing this information? Why is this removed from the ICM42688?

By santoshyjsmicrocom , 13 September 2023

Hi,
I would like to connect to the sensor(ICM-42670-P) which is on the DK-42670-P board via another board (some other MCU). The idea is to use my development board(It is not DK-42670-P) for quick prototyping; till I complete the hardware design of my custom board. I would preferably like to use SPI but am open to I2C too.

Is it possible? If yes, can someone provide me the schematic and pinout of DK-42670-P as well as guide me in the right direction.

By beneditokolamy… , 13 September 2023

I'm trying to get the FIFO acceleration buffer to work on MPU6050 according to the driver eMD 6.12 using HAL library.
The thing is that whenever I perform a read operation from FIFO_COUNT register, the FIFO count is frozen at 1024 although the FIFO overflow occurs constantly. I've spent an amount of time reviewing my code and don't see any anomaly on it. Any tips on that?