GPIO P1.02 on nRF54L15 doesn't work.

Hi.

I made a board with nRF54L15.

I would like to use P0.01 on nRF54L15 as GPIO output., but I failed to confirm P0.01 turn high.

Then, I asked nordic AI anything to solve this problem.

AI recommended to add below in prj.conf, because nRF54L15DK use P1.02 as NFC1 by default.

CONFIG_NFCT_PINS_AS_GPIOS=y

Not only this, I also added below to devicetree according to AI

/{
	user_dbg_pin: user-dbg-pin {
		compatible = "nordic,gpio-pins";
		gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
		status = "okay";
	};
}

&gpio1 {
	status = "okay";
};

&gpiote20 {
	status = "okay";
};

&uicr {
    nfct-pins-as-gpios;
};

and, main.c

static const struct gpio_dt_spec pin_dbg = GPIO_DT_SPEC_GET_OR(DT_NODELABEL(user_dbg_pin), gpios, {0});

~~~~~~~~~~~~~~~~~~~~

if (pin_dbg.port) {
	gpio_pin_configure_dt(&pin_dbg, GPIO_OUTPUT_INACTIVE);
}

~~~~~~~~~~~~~~~~~~~~
gpio_pin_set_dt(&pin_dbg, 0);

gpio_pin_set_dt(&pin_dbg, 1);

But, I couldn't find GPIO 1.02 change.

Would you tell me anything to solve ?

Best regards.

Related