Hey
I want to use pin 57 (SIO_10)and pin59 (SIO_09) as output pin but they are configured as NFC pin by default. How to change the configuration to SIO without using the smartBasic function.
Thanks and regards
Hey
I want to use pin 57 (SIO_10)and pin59 (SIO_09) as output pin but they are configured as NFC pin by default. How to change the configuration to SIO without using the smartBasic function.
Thanks and regards
SmartBASIC is a Laird thing; nothing to do with Nordic - so you'd have to ask Laird about that.
https://www.lairdconnect.com/smartbasic-for-ble
https://www.lairdconnect.com/resources/support
If you don't want to use SmartBasic, I guess you'd have to do a full chip erase and then just treat it as a standard nRF52840.
But, again, you'd need to check with Laird to be sure ...
Hi
You can see the Infocenter, specifically these links (UICR and NFC pin configuration), for how to set the NFC pins as regular GPIOs.
Best regards,
Simon
It worked by defining (just adding) an macro (rather variable) CONFIG_NFCT_PINS_AS_GPIOS in system_nrf52840.c
Project > Edit Options > Code > Preprocessor > Preprocessor Definitions (segger embedded studio)
Thanks