Can't run Qorvo DWM3000EVB Nearby Interaction software on nRF52840-DK

Dear all,

I’m trying to develop Apple Nearby Interaction with nRF52840-DK using a DWM3000EVB. I’m using the software provided by Qorvo which is compatible and tested on nRFSDK 16.

Using SEGGER Embedded Studio 6.30 I managed to build the code (despite the well known SEGGER_RTT_Syscalls_SES.c bug ) and the code seems to build.

When I run the code, I get to to

int main(void)


// Initialize modules.



// Activate deep sleep mode.



and the code stops at log_init(). Subsequently when I click Continue I get the error.

app: ERROR 7 [NRF_ERROR_INVALID_PARAM] at /Users/uwb.positioning/Downloads/Qorvo_Apple_Nearby_Interaction_Beta_release_1.0-2.0-1/Sources/Accessory/Qorvo_Apple_Nearby_Interaction_1.0.0/Sources/Qorvo/Qorvo_Apple_Nearby_Interaction_beta/Src/Comm/ble/ble.c:187 PC at: 0x00030739
app: End of error report

I managed to trace back the error to ble.c, specifically the function:

/**@brief Function for the GAP initialization.


* @details This function sets up all the necessary GAP (Generic Access Profile) parameters of the

* device including the device name, appearance, and the preferred connection parameters.


static void gap_params_init(char *gap_name)


static ret_code_t err_code;

ble_gap_conn_params_t gap_conn_params;

ble_gap_conn_sec_mode_t sec_mode;


err_code = sd_ble_gap_device_name_set(&sec_mode,

(const uint8_t *)gap_name,



err_code = sd_ble_gap_appearance_set(BLE_APPEARANCE_HEART_RATE_SENSOR_HEART_RATE_BELT);


How come the BLE gets the wrong gap parameters? Can someone help me through it.

The NearbyInteraction precompiled .hex file for nRF52840 works well, but I would like to implement my own logic on board.

Thank you in advance for your help

Hi @Ludovico ,

The problem is coming from the version of SEGGER Embedded Studio you’re using.
Please use for example SEGGER Embedded Studio V5.60a and then it should work.

Hope it helps,

1 Like

Hello, it worked, thanks!