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

Using pins P09 and P10 as GPIOs with SES

Hi,

I am working on my custom made board, and I use P09 and P10 as digital outputs. I am aware I should disable NFC by adding the preprocessor: "CONFIG_NFCT_PINS_AS_GPIOS" which I did but still the pins state does not change (it stays always in somehow floating position, 0.3~0.6 V). I checked UICR address  0x1000120C and its value was 0xFFFFFFFE which means: operation as GPIO.

So I don't understand why it's not working, should I do something else ? Any suggestions ?

(I am using Segger embedded studio)

Thanks for the help


Parents
  • Hi

    I assume you're using the nRF5 SDK, is that correct? If not, please check out our NCS Tutorial (parts 2 and 3) for how to use the NFC pins as GPIOs, as that should be covered in detail there. 

    For the nRF5 SDK it should be sufficient to add this preprocessor definition in SES CONFIG_NFCT_PINS_AS_GPIOS. Please make sure that you've added this define as in the picture below.

    Best regards,

    Simon

    EDIT: Please also make sure that you've done a full chip erase and compiled/built and flashed the updated project onto your custom board.

    Best regards,

    Simon

Reply
  • Hi

    I assume you're using the nRF5 SDK, is that correct? If not, please check out our NCS Tutorial (parts 2 and 3) for how to use the NFC pins as GPIOs, as that should be covered in detail there. 

    For the nRF5 SDK it should be sufficient to add this preprocessor definition in SES CONFIG_NFCT_PINS_AS_GPIOS. Please make sure that you've added this define as in the picture below.

    Best regards,

    Simon

    EDIT: Please also make sure that you've done a full chip erase and compiled/built and flashed the updated project onto your custom board.

    Best regards,

    Simon

Children
Related