I would like to use SPI interface to read/write external G-sensor registers. Does Nordic provide sample code?
I would like to use SPI interface to read/write external G-sensor registers. Does Nordic provide sample code?
Hello
We have several samples that use
sensors connected to the SPI.
Please go through NCS and Zephyr samples.
E.g, this is 3-Axis generic accelerometer sample. In the code you would see that the Zephyr sensor API is used to read values.
Similarly, you can see other samples and modify accordingly.
BR, Naeem
Hello
We have several samples that use
sensors connected to the SPI.
Please go through NCS and Zephyr samples.
E.g, this is 3-Axis generic accelerometer sample. In the code you would see that the Zephyr sensor API is used to read values.
Similarly, you can see other samples and modify accordingly.
BR, Naeem
Thanks for your reply!