Hi,
I'm trying to do a very simple thing - setting those pins as high or low,
but I see that it simply does not work for those pins, I see no change in led state that I connected to those GPIOs.
I see that with other GPIOs the same code works without any issue.
I thought that those Pins might have been already in use for other purposes, so I tried to remap them in an overlay file, but it still doesn't work.
I guess I'm missing something very simple.
I assume that Pins 0.11, 0.4, and 0.5 can be reassign, and are not special in any way, is this correct?
Am I missing something else? Would appreciate your help understanding :)
I'm using nRF connect SDK 1.7.1, nrf52833 dk, here's my code:
#include <zephyr.h>
#include <zephyr/types.h>
#include <sys/printk.h>
#include <device.h>
#include <devicetree.h>
#include <drivers/gpio.h>
#include <nrfx_gpiote.h>
&uart0 {
tx-pin = <29>;
rx-pin = <28>;
//current-speed = <1000000>;
};
/ {
zephyr,user {
/* adjust channel number according to pinmux in board.dts */
io-channels = <&adc 3>;
};
};