Hi,
I'm trying to toggle GPIOs 32-35 but it can't be done. Other GPIOs though such as 15,21,30 I change successfully.
Here's my code:
nrf_gpio_cfg_output(BATTERY_GPIO_PIN); int gpio = nrf_gpio_pin_out_read(BATTERY_GPIO_PIN); printf("GPIO %d before: %d\r\n",BATTERY_GPIO_PIN, gpio); // ==> 0 nrf_gpio_pin_toggle(BATTERY_GPIO_PIN); gpio = nrf_gpio_pin_out_read(BATTERY_GPIO_PIN); printf("GPIO %d after: %d\r\n",BATTERY_GPIO_PIN, gpio); // ==> 0
I saw a solution regarding NFC pins 9 and 10 by defining the macro CONFIG_NFCT_PINS_AS_GPIOS.
Is there a similar solution to GPIO 32? From the datasheet I see it's mapped to DEC2? What is that exactly? Can I disable it?
Thanks!