why p0.9&p0.10 cannot as uart

nrf sdk 17.1
example:peripheral/uart/pca10040

I attempted to use P0.9 and P0.10 on the development board to set up a UART serial port for data transmission and reception (as required by our project's hardware). However, I found that data could not be transmitted or received properly, and the system would freeze. Next, I discovered that P0.9 and P0.10 were being reused by NFC. So, I added "CCONFIG_NFCT_PINS_AS_GPIOS" in the define section of Preprocessor Symbols in Keil. This prevented the system from crashing, but still, it was unable to send/receive UART data. Why was this the case?
Best regard

Related