This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPIM not working after porting ncs from 1.2.0 to 1.4.2

SoC nrf52840, nrf connect SDK v1.4.2

we have a board with 3 sensors connected with independent SPI interfaces.
after porting the code to ncs v1.4.2 from v1.2.0 the SPI communication stops working! 
I checked all the SPI pins (CS, mosi and clock) and they are toggling as expected and exactly the same as in version 1.2.0. However, the miso pin in version 1.4.2 doesn't respond to transactions!
this happens on all 3 sensors connected with SPI.

did anybody encounter a similar issue?`

thanks.

following is one the SPI devices in the device tree:

&spi3 {
  status = "okay";
  sck-pin = <37>;
  mosi-pin = <36>;
  miso-pin = <38>;
  #address-cells = <1>;
  #size-cells = <0>;
  compatible = "nordic,nrf-spim";
  cs-gpios = <&gpio1 7 0>;
  lis2dw12@0 {
    compatible = "st,lis2dw12";
    reg = <0>;
    irq-gpios = <&gpio1 3 0>;
    label = "LIS2DW12";
    spi-max-frequency = <8000000>;
  };
};
Related