Hi
Which version of NCS are you using? Can you also share your prj.conf
When you say sleep, which power mode is it? If it is in system of then you need an external event to wake it up, either on a GPIO or NFC
Regards
Runar
The NCS version I used is 2.6.1 and the prj.conf of the program is
But it is mentioned device tree of Seeed Xiao Ble sense that the sensor lsm6dstrc inside it is compatible with LSM6DSL
Hi
I think we are talking a bit past each other. Just so that we don't have any misunderstandings. Have you worked with Zephyr before? If not I would recommend that you at least have a look at our NCS Fundamentals course.
I see that your prj.conf you have not enabled CONFIG_LSM6DSL or any other Kconfig which should be enabled when working with peripherals. I would again advice that you at least take a look at the sample I mentioned in my last reply where you can see how to use the sensor api and the driver that is already in Zephyr
Regards
Runar
I have tried changes to the prj.config file as you said. Added CONFIG_LSM6DSL=y
Still unable to get the interrupt from LSM6DS3TR_C, In the program I have used the WAKE_UP_SRC register to check the Free_Fall bit flag raise. I intended to generate gpio interrupt this way.
Hm could you try to attach a debugger and check the status of the pin you want the interrupt on to see that is is enabled?
Regards
Runar
Hm could you try to attach a debugger and check the status of the pin you want the interrupt on to see that is is enabled?
Regards
Runar