Hello everyone,
I'm experiencing some issues while trying to program an nRF52832 CIIA on a custom PCB. Specifically, I cannot get the GPIO pins or the external 32kHz crystal to work properly. However, I can run programs, debug, and use printk
through RTT without issues.
On the hardware side, I'm fairly confident that the design is correct as I followed the guidelines from the nRF52832 hardware design documentation. The GPIO pins I have available (P0.9 and P0.21) are showing floating voltages.
Here’s what I’ve tried so far:
- Running the Blinky example: it compiles and runs, but the GPIOs do not respond.
- Setting all GPIOs on the SoC to Low Level and setting internal Pull-Downs, but the pins remain floating.
- Created a custom board with a
.dts
file from scratch. - Tested with some pre-existing board definitions as well.
- Tried various SDK versions through VSCode with nRF Connect SDK and Zephyr, but no luck so far.
The prj.conf:
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CONFIG_GPIO=y
CONFIG_DEBUG=y
CONFIG_PRINTK=y
CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n
CONFIG_LOG_MODE_IMMEDIATE=y
CONFIG_DEBUG_THREAD_INFO=y
CONFIG_THREAD_MONITOR=y
CONFIG_ASSERT=y
CONFIG_NO_OPTIMIZATIONS=y
CONFIG_CONSOLE=y
CONFIG_LED=y
Any suggestions on how to resolve this would be greatly appreciated. If there's something I could be missing in terms of configuration or setup, please let me know.
Thanks in advance!