cancel
Showing results for 
Search instead for 
Did you mean: 

Latching interrupts on MKI109V3 after configuring through serial commands

LTray.1
Associate

Hi,

I am using the MKI197V1 (LSM6DSOX) adapter on the MKI109V3 eval board and trying to latch interrupts of the Relative Tilt embedded function.

I am configuring the registers by serial commands and using those exactly as given for Relative Tilt in the application note AN5272 pp63. I begin the program with the *start or *debug commands and when I tilt the device beyond 35deg I can see the INT1 LED turn on but it is pulsed.

Is there a way to latch this interrupt when using the device in this way so that it can only be cleared by manually reading the embedded function status register via serial command?

Many thanks,

Liam

1 REPLY 1
Eleon BORLINI
ST Employee

Hi Liam, to latch the interrupt you can directly set the LIR bit of the TAP_CFG0 (56h) register to 1 using Unico GUI or sending the accelerometer register write command *wAADD (p.11 of the UM2116). Regards