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

nRF52840 DK SPIS cannot use P0.22 and P0.23

Hello.

I would like to use the SPIS module on the nRF52840 DK. I configured it by following the examples given by Nordic.

When I use pins P0.14 (nCS), P0.15 (SCK), P0.16 (MISO) and P0.17 (MOSI) for the SPI, everything functions well. The communication is established and the signals are correct.

However, when I use pins P0.22 (nCS), P0.23 (MISO), P0.24 (MOSI) and P0.25 (SCK), the SPIS does not communication. The MISO stays always at 0. I need to use these pins because this is required by the final hardware on which I'd like to run the software.

I found out that the problem comes from pins P0.22 and P0.23. When using these pins, the SPI communication does not work. When using P0.14 instead of P0.22 for the chip select and P0.16 instead of P0.23 for MISO, and still using P0.24 and P0.25, the SPI communication works.

I know that the problem comes from the hardware, because, I said above, the communication works perfectly well when using other pins. However, I don't understand why these two pins do not work.

I checked the schematics. There are two things on these pins (SB20 and SB25), but I don't know that they are and if they could pose problems.

Do you have any idea ?

Thanks.

Yorick

Related