Hello,
I am having an issue using GPIO P0.03 as a button input in my design. Unfortunately, I did not notice that this pin is marked as a dedicated pin for the GRTC peripheral and it seems I may need to revise the routing for my button input to another GPIO. Before I do so, I would like to confirm that there is no possibility of using P0.03 as a regular GPIO pin.
After a little more research I see that the nrf54dk uses P0.04 as an input for a button, so I am not so sure about my dedicated pin theory since this is also marked as dedicated to grtc.
I am using the zephyr/samples/basic/button application to verify my buttons operation. The output of the program displays the correct pins for the button and LED but I get no response when the button is pressed. I’ve verified that the button does close to ground when pressed.
Button config:
buttons { compatible = "gpio-keys"; button0: button0 { gpios = <&gpio0 3 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; label = "User Button"; zephyr,code = <INPUT_KEY_0>; };
Thanks for the help,
Patrick