BLE Nano 2: Using reset pin as GPIO (Ardiuno IDE)


#1

Hello! I need to use pin D10 (P0_21) as GPIO. The datasheet (https://github.com/redbear/nRF5x/blob/master/nRF52832/datasheet/MB-N2_Datasheet.pdf) says it can be used as both reset and GPIO. However, I am unable to configure it as GPIO.

I tried using internal pullups in my arduino code:
pinMode(10, INPUT_PULLUP);
But this didn’t change anything.

Any help is appreciated, thanks!!


#2

Hi alexshold,
We don’t provide the way to configure that pin as normal GPIO in Arduino and it is not advisable to change that reset pin. if you really want I think you can work using nordic SDK.


#3

Ohhhh ok, that saves me a lot of time. Thanks Lucian!