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.
@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}}
...
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)