cancel
Showing results for 
Search instead for 
Did you mean: 

LSM6DSO: Cant trigger the interrupt pin 1 on fsm event

SBela.1
Associate

I have tried this example lsm6dso_fsm.c (github stm32 STMems_Standard_C_drivers

) and successfully trigger the int1 pin but found that comment the line 310 the pin does not trigger.

Digging deeper I found that I need to read/poll the EMB_FUNC_STATUS_MAINPAGE (35h) register for the int1 pin to trigger on a fsm event.

Is it a known behavior? Is there a way to bypass that and trigger the int1 pin without reading this register?

1 REPLY 1
Federica Bossi
ST Employee

Hi @SBela.1​ ,

Welcome to ST Community!

You can do this by setting EMB_FUNC_LIR ='0' (reg 17h).

Hope this helps.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.