Hi,
I'm trying to configure the following GPIO pins as output by using "nrf5340dk_nrf5340_cpuapp.overlay" but these pins doesn't work!
P0.00, P0.01, P0.02, P0.03, P0.08, P0.15, P0.16, P0.17, and P0.18
Regards,
Hi,
I'm trying to configure the following GPIO pins as output by using "nrf5340dk_nrf5340_cpuapp.overlay" but these pins doesn't work!
P0.00, P0.01, P0.02, P0.03, P0.08, P0.15, P0.16, P0.17, and P0.18
Regards,
Hi,
You need a driver or application code to configure the pins defined in your DT overlay. If the pins are to be controlled by your application rather than a driver, you can follow instructions provided here: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/dts/zephyr-user-node.html#gpios
Best regards,
Vidar
I've my code and configurations. Some other GPIOs are working with me, these specified pins are not working.
Attached are my .overlay file and my main.c
nrf5340dk_nrf5340_cpuapp.overlay
Thanks.
Thanks for the clarification. Are you testing this on a 5340 DK? In that case, please note that P0.00 and P0.01 are connected to the LF crystal, P0.02 and P0.03 to the NFC antenna, P0.15, P0.16, P0.17, and P0.18 to the external flash IC. P0.8 should be routed to the pin header though.
Thanks for the clarification. Are you testing this on a 5340 DK? In that case, please note that P0.00 and P0.01 are connected to the LF crystal, P0.02 and P0.03 to the NFC antenna, P0.15, P0.16, P0.17, and P0.18 to the external flash IC. P0.8 should be routed to the pin header though.
Thank you Vidar Berg