Hello, I am currently working on a project that requires the use of the DWM1001 modules and I am trying to run the examples provided in the work of the Qorvo sources.
My Configuration is RaspberryPi+DWM1001 <-----------> RaspberryPi + DWM1001
Also, I put the DWM1001, the firmwareAPI (DWM1001_PANS_R2.0.hex) provided from the sources.
When I run the example codes to realize a TWR between an anchor and a tag (host-api/ex1_TWR_2Hosts), the link between the RPIs and the modules is done well via UART and I get the correct return codes from the modules.
However, when I print the Anchor number my tag shows 0 while it should show 1 with my setup. (loc.anchors.dist.cnt)
Maybe it’s a configuration issue with my anchor and my tag.
Tag Config :
cfg_tag.low_power_en = 0;
cfg_tag.meas_mode = DWM_MEAS_MODE_TWR;
cfg_tag.loc_engine_en = 1;
cfg_tag.common.led_en = 1;
cfg_tag.common.ble_en = 1;
cfg_tag.common.uwb_mode = DWM_UWB_MODE_ACTIVE;
cfg_tag.common.fw_update_en = 0;
Anchor Config :
cfg_anchor.initiator = 1;
cfg_anchor.bridge = 0;
cfg_anchor.common.led_en = 1;
cfg_anchor.common.ble_en = 1;
cfg_anchor.common.uwb_mode = DWM_UWB_MODE_OFF;
cfg_anchor.common.fw_update_en = 1;
I tried different configurations, but it didn’t work, could you help me find the right configuration?
I thank you in advance for your responses
Sincerely, Hadrien