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

nrf9160dk SPI pins

From the datasheet I understand that any pins in port0 can be used as SPI. But I tried using the pins defined in nrf-sdk here and but there is no response. After searching through devzone, I found pins 11 and 12 can act as MOSI and MISO and I tested it working with spi_loopback. But I couldn't find correct pins to use for CS and SCK. Also I need 2 more pins for SPI slave interrupt and Reset control.

How to configure any pins to act as SPI? I am fine with disabling other interfaces like UART1, UART2 if pin clashes.

Board: nrf9160DK

SDK(latest) : https://github.com/nrfconnect/sdk-zephyr

SDK nrf: https://github.com/nrfconnect/sdk-zephyr

EDIT:
SPI works fine with https://docs.zephyrproject.org/latest/boards/arm/actinius_icarus/doc/index.html Actinius Icarus board and the pins are here.

Thanks in advance for sharing the details.

Related