Getting interrupt From INT1 Pin in ICM 42688 -p After enabling INT 2 Only

By mayanktiwarisp… , 19 July 2023

1. We are using INT2 in our final design.
2. INT1 is not in use, so it is disconnected from the master Controller code as well as the ICM settings.
3. Issue: We have observed that the INT1 pin is still going low.
4. We still do not know the cause of this dip.

mustafayildiri…

2 years 7 months ago

Hello,

May I ask what changes has been made to the ICM settings?

phpbb Post ID
45030

mayanktiwarisp…

2 years 7 months ago

Low Power and Set for Intrrupt on Int Pin 2

On intrrupt Setting TO Normal mode
And read the X -Axis Value for mesure angle

All Communication is used in I2C Mode

phpbb Post ID
45065

mayanktiwarisp…

2 years 7 months ago

// ICM42688 Register Addresses
PWR_MGMT_0 0x4B
INT_PIN_CFG 0x0F
INT_ENABLE 0x14
MOTION_THRESHOLD 0x1F
MOTION_DURATION 0x20
ACCEL_XOUT_H 0x2D
ACCEL_XOUT_L 0x2E

These Reg need to test

To disble INT Pin 2 Need to Set Reg 0x0F
(0x02); // Set bit 1 to enable Pin 2 and clear bit 0 to disable Pin 1

phpbb Post ID
45067

mustafayildiri…

2 years 7 months ago

Hi,

Just to confirm INT_SOURCE0 and INT_SOURCE1 are 0x00, also I don't see some of the register names you mentioned in the datasheet. Could you provide the register names from the datasheet. Did you modify the eMD to write your own firmware, or from scratch?

phpbb Post ID
45104

mayanktiwarisp…

2 years 5 months ago

No Not modified the eMD, To eanable register PINS set REG
INTF_CONFIG1 0x4D with value 00
Register 0x57 with value 06
GYRO_ACCEL_CONFIG0 0x52 with value 60
ICM42688_ENABLE_ACCEL_ONLY 0x38
ICM42688_BIT_WOM_EN 0x07

phpbb Post ID
45234

mustafayildiri…

2 years 5 months ago

Hi,

Please make sure your INT_CONFIG, INT_CONFIG1, INT_SOURCE0, INT_SOURCE1, INT_SOURCE3, and INT_SOURCE4 registers are set correctly. Also, check out our driver to see how settings are handled. https://invensense.tdk.com/developers/software-downloads/#smartmotion

phpbb Post ID
45241

mayanktiwarisp…

2 years 5 months ago

Thank you for the guidance.
I will ensure that the INT_CONFIG, INT_CONFIG1, INT_SOURCE0, INT_SOURCE1, INT_SOURCE3, and INT_SOURCE4 registers are correctly configured.
I'll also review the driver to understand how these settings are handled. If I have any further questions or run into any issues, I'll be sure to reach out for assistance.
Thanks again!

phpbb Post ID
45269

mayanktiwarisp…

2 years 5 months ago

Hi,
I've checked and confirmed that all registers related to motion interrupt and gyro data are correctly configured. I am now able to receive interrupts on motion and access gyro data as intended. Issue is still persist , We have observed that the INT1 pin is still going low sometimes.

phpbb Post ID
45270

mustafayildiri…

2 years 5 months ago

Hi,

Can you provide your register read values for INT_CONFIG, INT_CONFIG1, INT_SOURCE0, INT_SOURCE1, INT_SOURCE3, and INT_SOURCE4 registers. Also, are you trying to accomplish to set interrupt 1 to a set value? Why is the status of INT1 important?

Thanks

phpbb Post ID
45275
phpbb Topic ID
45027