Hello there. I am using ADXL362 with nrf52480. Provided below is the DTS file of my project.
&spi1 {
status = "okay";
sck-pin = <13>;
mosi-pin = <17>;
miso-pin = <14>;
cs-gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
adxl362@0 {
compatible = "adi,adxl362";
label = "ADXL362";
spi-max-frequency = <1000000>;
reg = <0>;
int1-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
};
when I built the project, sometimes ADXL362 gives response. and sometimes it just returns 0
what could be the possible issue.
Note: the read/write commands execute successfully every time..
when I built the project, sometimes ADXL362 gives response. and sometimes it just returns 0
what could be the possible issue.
Note: the read/write commands execute successfully every time..