DWM3000EVB does not start ranging

Hi

I’m trying to test the DWM3000EVB with Apple’s Implementing Spatial Interactions with Third-Party Accessories sample app, using nordics nrf52833dk.

The app connects successfully to DWM3000EVB + nrf52833dk, but when I run session, the DWM3000EVB LED’s 2 and 3 flash once then … nothing, it does not start ranging, and I get a timeout message on the app.

Any idea?

1 Like

Hey, are you using the pre built binary nRF52833DK_full.hex or building it from source code?

It works almost fine if using the pre built binary nRF52833DK_full.hex, and doesn’t work at all when building it from source code

Yes, I have the same problem with nRF52840DK. I hope the the Qorvo team will notice us some day…

Hi all!

@iMan It seems to be an nRF52833/40 power supply issue. I’ve seen this happening when using the “User USB” to power the board. Please, consider changing to the J-Link connector (J2) and the “nRF power source” switch to the centre position.

Also, you can check the Dev Kit log using the “J-Link RTT-Viewer”, when the power supply is a problem the board will reset after sending the “Accessory Configuration Data”, like this:

ACCESSORY_RANGING_ROLE: Responder
<info> app: Fast advertising.
<info> app: Connected
<info> app: Notification is enabled
<info> app: App requests accessory config data
<info> app: ACFG Data Length: 12
Application: Nearby Interaction Beta <------------------- RESET HERE!
Target: DWM3000EVB + nRF52840DK
OS: FreeRTOS
Version: 1.0.0-211130
DW3XXX Device Driver Version 06.00.00

This is what a good log should look like:

ACCESSORY_RANGING_ROLE: Responder
<info> app: Fast advertising.
<info> app: Connected
<info> app: Notification is enabled
<info> app: App requests accessory config data
<info> app: ACFG Data Length: 12
{"TWR": {"R":0,"a16":"0xf67a","S":"OK","D cm":34}}
{"TWR": {"R":1,"a16":"0xf67a","S":"OK","D cm":34}}
{"TWR": {"R":2,"a16":"0xf67a","S":"OK","D cm":35}}
...

Thanks Carlos

I already use J-Link connector (J2) and the “nRF power source” switch in the centre position.

here is my Log:

00> app: Fast advertising.
00> app: Disconnected
00> app: Connected
00> app: Notification is enabled
00> app: App requests accessory config data

However, when I use the pre built binary nRF52833DK_full.hex, it starts fine:

00> app: Fast advertising.
00> app: Connected
00> app: Notification is enabled
00> app: App requests accessory config data
00> {“TWR”: {“R”:0,“a16”:“0x4fb0”,“S”:“OK”,“D cm”:27}}
00> {“TWR”: {“R”:1,“a16”:“0x4fb0”,“S”:“ERR”,“D cm”:0}}

and when moving away until connection is lost then moving back near the device it does not start ranging:

00> app: Fast advertising.
00> app: Disconnected
00> app: Connected
00> app: Notification is enabled
00> app: App requests accessory config data
00> Application: Nearby Interaction Beta
00> Target: DWM3000EVB + nRF52833DK
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

Then after around 15 seconds, the nRF 4 LEDs flash (probably auto reset), but does not start ranging too:

00> app: Fast advertising.
00> app: Connected
00> app: Notification is enabled
00> app: App requests accessory config data

the only way to get it ranging again is to switch power off then back on!

My best guess is that the microcontroller software gets stuck in the previous UWB connection and does not allow a new one (although BLE connection can be established)

1 Like

Thanks for the logs!

I will try to reproduce the issue based on it.
Cheers!

Hi @carlos.silva, please take also a look on this topic for more context DWM3000EVB demo doesn’t work from source code
It looks to be the same issue.

And I’m also using the J2 connector & the “nRF power source” switch is in center position (VDD)

1 Like