2023-01-19 11:36 AM
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?
2023-04-11 02:37 AM
Hi @SBela.1 ,
Welcome to ST Community!
You can do this by setting EMB_FUNC_LIR ='0' (reg 17h).
Hope this helps.