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.