I am building a nrf52840 custom board and testing the ble_app_blink_pca10056_s140 example from segger
I have a 32MHz crystal and a 32.768khz crystal
And I added the following to sdk_config.h
But I am getting nrf_error_invalid_state(error 8) error in ble_stack_init() - sdh_enable_request() - sd_softdevice_enable
Is there something wrong with my setup?
Or is it possible that I soldered the nrf52840 chip wrong and that is causing this problem?
#define NRFX_CLOCK_CONFIG_LF_SRC 2
#define CLOCK_CONFIG_LF_SRC 2
#define NRF_SDH_CLOCK_LF_SRC 2
#define NRF_SDH_CLOCK_LF_RC_CTIV 0
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 0
#define NRF_SDH_CLOCK_LF_ACCURACY 7