I have a pair of DWM3001CDK devices, and I’ve downloaded the DW3_QM33_SDK_1.1.1.zip software package.
I’m finding that when I flash the pre-built binary DW3_QM33_SDK_1.1.1\SDK\Binaries\DWM3001CDK\DWM3001CDK-CLI-FreeRTOS.hex onto either device, then connect a serial port and run the default INITF command, I get the following output:
FiRa Session Parameters: {
SESSION_ID: 42,
CHANNEL_NUMBER: 9,
DEVICE_ROLE: INITIATOR,
RANGING_ROUND_USAGE: DS_TWR_DEFERRED,
SLOT_DURATION [rstu]: 2400,
RANGING_DURATION [ms]: 200,
SLOTS_PER_RR: 25,
MULTI_NODE_MODE: UNICAST,
HOPPING_MODE: Disabled,
RFRAME_CONFIG: SP3,
SFD_ID: 2,
PREAMBLE_CODE_INDEX: 10,
STATIC_STS_IV: "01:02:03:04:05:06",
VENDOR_ID: "07:08",
DEVICE_MAC_ADDRESS: 0x0000,
DST_MAC_ADDRESS[0]: 0x0001
}
ok
SESSION_STATUS_NTF: {state="INIT", reason="State change with session management commands"}
SESSION_STATUS_NTF: {state="IDLE", reason="State change with session management commands"}
SESSION_STATUS_NTF: {state="ACTIVE", reason="State change with session management commands"}
SESSION_INFO_NTF: {session_handle=1, sequence_number=0, block_index=0, n_measurements=1
[mac_address=0x0001, status="TX_FAILED"]}
This happens regardless of whether the responder device is running the RESPF app (unsurprisingly since it seems to be a TX issue). I’ve tried also running STOP first before re-running INITF, and resetting the device first, to no avail. Finally, I tried multiple cables and USB ports powering the device in case this was a power issue - but nothing helped.
The same is true when using the DWM3001CDK CLI binary from SDK version 1.1.0.
However when I flash the binary from an older version of the SDK, DW3_QM33_SDK_1.0.2\SDK\Binaries\DWM3001CDK\DWM3001CDK-DW3_QM33_SDK_CLI-FreeRTOS.hex, to my devices, the program runs as expected and ranging data is exchanged between the two.
Wondering if the app has been broken in newer releases of the SDK, or if there’s something I’m doing wrong?