I have been trying to run the UCI Python scripts in the DWM3001CDK SDK on both my Windows 11 Laptop and my Raspberry Pi 4 Model B (Raspberry Pi OS 64bit) but I always get the same error. I ran it on three different Python versions: 3.10.5 (the developer guide recommends 3.10), 3.11.2 and 3.12.7. I flashed the hex file multiple times to make sure it was UCI and not CLI (DWM3001CDK-DW3_QM33_SDK_UCI-FreeRTOS.hex). I am also sure that I am using the right port. This is what I get when I run this command ‘python uci_uart_fira_test.py -p /dev/ttyACM0’:
HSSPITransport not registered
No response from the device (2s timeout)
Traceback (most recent call last):
File "/home/Hussain/DWM3001CDK_PythonScripts/uci/core.py", line 214, in command
(rgid, roid, payload) = self.wq.get(timeout=2)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.10/queue.py", line 179, in get
raise Empty
_queue.Empty
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/Hussain/DWM3001CDK_PythonScripts/uci_uart_fira_test.py", line 34, in <module>
client.session_init(args.session_id, 0))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Hussain/DWM3001CDK_PythonScripts/uci/v1_0.py", line 693, in session_init
payload = self.command(Gid.UwbSessionConfig, 0, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Hussain/DWM3001CDK_PythonScripts/uci/core.py", line 218, in command
raise ProtocolError(msg) from exc
uci.core.ProtocolError: No response from the device (2s timeout)