This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Config NRF pin as GPIO and config it as SPI MOSI

Hi,

I'm developing with 52832 DK. I used  'CONFIG_NFCT_PINS_AS_GPIOS'  to config pin9, pin10 as general GPIOs and set pin10 to SPI_MOSI. However the system crash when applying SPI communication. Is there any restriction on using NFC pins as GPIOs?

P.S: I initialized the SPI peripheral with 250k FREQ but runs in 8M FREQ in normal use. Initialization seems well but system crashed at 8M. Seems like there is restiction on GPIO speed?

Thanks,

Ava

  • Hi Ava

    If you want to use the NFC pins as GPIOs on the nRF52 DK, R25 and R26 must be NC and R27 and R28 on the DK must be shorted by 0R. See section 6.11 of the DK user guide. From the product specification, there shouldn't be any restrictions for the P0.09 and P0.10 GPIOs.

    Best regards,

    Simon

Related