This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using pin 1 as GPIO breaks Bluetooth

Hi! I'm using nrf52832 and SDK 16. I have a custom board that doesn't have an external oscillator for low frequency clock and uses internal RC so pins 0 and 1 can be used as GPIOs. I use the following settings in sdk_config:

CLOCK_CONFIG_LF_SRC 0
CLOCK_CONFIG_LF_CAL_ENABLED 1
NRFX_CLOCK_CONFIG_LF_SRC 0
NRF_SDH_CLOCK_LF_SRC 0
NRF_SDH_CLOCK_LF_RC_CTIV 32
NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
NRF_SDH_CLOCK_LF_ACCURACY 1

With LFC set to RC, the pins 0 & 1 should work as GPIOs. Everything works fine until I build a project that assigns an operation to pin 1 - Bluetooth suddenly fails to properly connect. Any idea what to look for? Am I missing any more settings?

Parents Reply Children
Related