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
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
Thank you.
Is that your entire prj,conf? I see no reference to the sensor there. Is there a reason why you are not using the Zephyr driver?
Also please upload your overlay.
Regards
Runar
This is the prj.conf completely and the device tree is already provided when you select the board xiao ble sense it looks like this
Thank you
So just as you might be aware with NCS we are using an RTOS names Zephyr. With Zephyr there is a number of different sensors supported so that you don't need to write your own driver. I would recommend that you use the zephyr driver and the sensor api instead of trying to write your own. I would recommend by starting with the LSM6DSL sample
Regards
Runar
But it is mentioned device tree of Seeed Xiao Ble sense that the sensor lsm6dstrc inside it is compatible with LSM6DSL