Skip to main content
Visitor II
January 19, 2023
Question

LSM6DSO: Cant trigger the interrupt pin 1 on fsm event

  • January 19, 2023
  • 1 reply
  • 699 views

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?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    April 11, 2023

    Hi @SBela.1​ ,

    Welcome to ST Community!

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

    Hope this helps.