I’m trying to get a TWR to work between QM35825 and QM33120WDK2 but I can’t get any rangings. I’m getting the error RangingRxPhyDecFailed (0x22) on the controlee, no matter which device is doing which role. I’ve tried lots of different SFD/PSDU rate/frame format/preamble codes but nothing seems to work.
QM35 is running FiRa 2.0 and QM33 is running FiRa 1.3. Is that the problem why I can’t get the rangings to work? I talk to them both via UCI and I’m using the run_fira_twr example python script.
Static STS and Vendor ID should be matching. At the end of this message I attach the full configuration that the devices print after starting the script.
I’ve done some testing changing the vendor id in case it was reversed due to endianess but it doesn’t seem to help (I’ve tried --vendor-id 0x0807 and --vendor-id 0x0708). There seems to be some problem with this parameter in the UQT version 13.1.0.
Static STS seems to be the same in both devices.
For the QM33120WDK2 I’m using the latest 1.1.1 UQT version extracted from DW3_QM33_SDK_1.1.1.zip. For the QM35 I’m using the one in the Gitlab repo, UQT version 13.1.0.
I’ve also tried to use the 13.1.0 with the QM33 but shows the same behavior.
I tried pointing the right side of the antenna exactly towards the other device but I still get the same error. but you’re right that these devices are very prone to frame errors if they are not pointed precisely as I’ve seen it myself after some testing.
I’m pretty sure this is a compatibility problem with the firmwares as the qm33120wdk1 supports only fira 2.0, the qm35825 supports 2.0 to 3.0 and the qm35120wdk2 seems to only support fira 1.3. Also many parameters don’t work in the wdk2 kits, I can’t even get the calibration to print.