Port 1 Pins for SPI on Zephyr NCS 1.8?

Hi everyone,

I'm developing a program with the NCS 1.8 using NRF52840 and I want to use the SPI, the fact is that I've to connect my device to those pins

And as you can see, two of them are P1 (and I use them)

While defining and initializing SPI driver does not ask for PORT, so if I put 9 and 0 (for P1.09 & P1.00) It would take the P0.09 & P0.00. 

So, the question is, how do I tell the program or SPI driver, that the pins (CLK, MOSI, MISO, or CS, whatever it would be) that is PORT1 & PIN X not PORT0 & PIN X??

I'm using NRFX_SPI for initializing and transaction with SPI.


Thanks in advance,

MatiasP

Related