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

configuring SPI tests for nRF9160dk

I am trying to connect a SPI device to the external connector pins on the nRF9160dk board. I believe I know the name of the SPI device and the pin connections from the device tree file shown below. I have no idea how to use this in the project and connect to the pins indicated. There is also a board directory under .../zepher/tests/drivers/spi/spi_loopback but the nRF9160dk is not listed and even if it was I do not see how to link a particular board into the build. I do not see any documentation under the spi_loopback directory how to set up the SPI interface to a particular board.

I would appreciate any help that you could give since the point of the project is to connect many different SPI and I2C devices to the NRF9150dk.

&spi3 {
compatible = "nordic,nrf-spim";
status = "okay";
sck-pin = <19>;
mosi-pin = <18>;
miso-pin = <17>;
};

Parents Reply Children
Related