Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init failed in SIMPLE TX V1.3 #3

Open
stephenmasih opened this issue Jan 17, 2020 · 0 comments
Open

Init failed in SIMPLE TX V1.3 #3

stephenmasih opened this issue Jan 17, 2020 · 0 comments

Comments

@stephenmasih
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant