Hello,
I'm using an NRF5340 with SDK V1.9.1.
I have a code that toggle one gpio pin on a custom board. It is working well when I use P0.22. However, when I change to P0.00 the output remains to 0.
I know that P0.00 is used for cristal oscillator but I have none on my custom board so in the config of the board i'm using the internal RC oscillator for CPU NET and CPU APP:
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
I have done the same test on the NRF5340DK following these instructions to disconnect the crystal oscillator: Nordic Semiconductor Infocenter. In the dev kit I still have the problem, no signal on P0.00.
Here the code for the pin on the device tree:
gpio_keys {
compatible = "gpio-keys";
ledr: led_r{
gpios = <&gpio0 00 GPIO_ACTIVE_HIGH>;
label = "LED R";
};
};
aliases {
ctrl-led-r = &ledr;
};
I don't know what I'm missing if someone have an idea.
Thank you,