SoftDevice on custom board

Hello.

We are developing a project for our own board. We took the blue_ap_uart example as a starting point. The example works successfully on PCA10040, but when transferring it to our board, Softdevice does not work.
We are using SDK 17.1.0. SoftDevice S112. The application is being developed using Keil MDK 5.36.
Our board does not contain 32kHz XTAL for LF clock. Therefore, we have changed the following parameters in sdk_config.h:

#define NRFX_CLOCK_CONFIG_LF_SRC 0        //RC
#define CLOCK_CONFIG_LF_SRC 0

#define NRF_SDH_CLOCK_LF_SRC 0
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2

SoftDevice is loaded using SEGGER J-Flash Lite. Then the application is loaded, directly from Keil.
Immediately after downloading the application, J-Link loses contact with the microcontroller and can no longer connect to it. An error message is displayed:
"Could not power up debug port: Control/Status register reads D0000040".

Here is the full file:   sdk_config.h

Can you help us launch the project?

Thank you.

Related