RT-LOC / zephyr-dwm1001

Open source DWM1001 + Zephyr example implementations
https://rtloc.com
GNU General Public License v3.0
44 stars 26 forks source link

Init failed in SIMPLE TX V1.3 #3

Open stephenmasih opened 4 years ago

stephenmasih commented 4 years ago

I am able to build the code for dwm1001c but it always shows init failed, I realised it uses CONFIG_SPI_1=y CONFIG_SPI_1_NRF_SPIM=y In the .dts file, it shows SPI1 is connected to

&spi1 { compatible = "nordic,nrf-spi"; status = "okay"; sck-pin = <4>; mosi-pin = <6>; miso-pin = <7>; cs-gpios = <&gpio0 3 0>; };

When I checked dwm1001c datasheet I found out the spi configuration is as such sck-pin = <16>; mosi-pin = <20>; miso-pin = <18>;

I tried changing it but it stills shows up INIT FAILED please help me figure out the issue.