DWM3000EVB + nrf52840dk rebooting periodically

Hi,

I’m running the Qorvo Apple Nearby Interaction using the nrf52840dk with the pre-built binary. The sample is working correctly, and I was able to use the iOS Nearby Interaction app correctly. However, the board seems to reboot periodically, which happens with the board unconnected and not-ranging and with the board connected to the iOS app and ranging. I tried it with multiple nordic and DWM3000EVB, and it happens in all of them. Is this a known issue in the code, or is something wrong?

00> Application: Nearby Interaction Beta
00> Target: DWM3000EVB + nRF52840DK
00> OS: FreeRTOS
00> Version: 1.0.0-210722
00> DW3XXX Device Driver Version 06.00.00
00> MAC: R8.2.3_E
00> ACCESSORY_RANGING_ROLE: Responder
00> <info> app: Fast advertising.
00> Application: Nearby Interaction Beta
00> Target: DWM3000EVB + nRF52840DK
00> OS: FreeRTOS
00> Version: 1.0.0-210722
00> DW3XXX Device Driver Version 06.00.00
00> MAC: R8.2.3_E
00> ACCESSORY_RANGING_ROLE: Responder
00> <info> app: Fast advertising.
00> Application: Nearby Interaction Beta
00> Target: DWM3000EVB + nRF52840DK
00> OS: FreeRTOS
00> Version: 1.0.0-210722
00> DW3XXX Device Driver Version 06.00.00
00> MAC: R8.2.3_E
00> ACCESSORY_RANGING_ROLE: Responder
00> <info> app: Fast advertising.
00> Application: Nearby Interaction Beta
00> Target: DWM3000EVB + nRF52840DK
00> OS: FreeRTOS
00> Version: 1.0.0-210722
00> DW3XXX Device Driver Version 06.00.00
00> MAC: R8.2.3_E
00> ACCESSORY_RANGING_ROLE: Responder
00> <info> app: Fast advertising.

Best Regards
João Azevedo

try this

#define APP_BLE_OBSERVER_PRIO 3 /< Application’s BLE observer priority. You shouldn’t need to modify this value. */
#define APP_BLE_CONN_CFG_TAG 1 /
< A tag identifying the SoftDevice BLE configuration. */

#define APP_ADV_INTERVAL 1600 /< The advertising interval (in units of 0.625 ms. This value corresponds to 1s). */
#define APP_ADV_DURATION 0 /
< The advertising duration in units of 10 milliseconds. 0 is to never stop. */

#define MIN_CONN_INTERVAL MSEC_TO_UNITS(25, UNIT_1_25_MS) /< Minimum acceptable connection interval (0.4 seconds). */
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(250, UNIT_1_25_MS) /
< Maximum acceptable connection interval (0.65 second). */
#define SLAVE_LATENCY 6 /< Slave latency. */
#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(16000, UNIT_10_MS) /
< Connection supervisory time-out (4 seconds). */

#define FIRST_CONN_PARAMS_UPDATE_DELAY 5000 /< Time from initiating event (connect or start of notification) to first time sd_ble_gap_conn_param_update is called (5 seconds). */
#define NEXT_CONN_PARAMS_UPDATE_DELAY 30000 /
< Time between each call to sd_ble_gap_conn_param_update after the first call (30 seconds). */
#define MAX_CONN_PARAMS_UPDATE_COUNT 2 /**< Number of attempts before giving up the connection parameter negotiation. */

1 Like

Hi @alliv,

The changes you suggested worked, thank you for your help.

1 Like