Post Go back to editing

ADICUP3029 and CN0565 cannot receive data

Category: Software
Product Number: CN0565

Dear friends,

I was trying ADICUP3029 + CN0565 according to the instrunction: https://wiki.analog.com/resources/eval/user-guides/circuits-from-the-lab/cn0565?rev=1695958620

https://github.com/mc-so/pyadi-iio/tree/dev/cn0565

I have tried both win os and Ubuntu. Both fail. Could you please help?

The following is based on win os

When I try to run 'python main.py -e 16', a gui shows up and I can select the com port. But once I click connect, it shows the following error:

ERROR: sp_blocking_read_next has timedout
ERROR: READ LINE: -138 Traceback (most recent call last):
File "D:\Program\Python\pyadi-iio-dev-cn0565\adi\context_manager.py", line 36, in __init__ self._ctx = iio.Context(self.uri) File "C:\Users\zch\AppData\Local\Programs\Python\Python38\lib\site-packages\iio.py", line 1328, in __init__ self._context = _new_uri(_context.encode("ascii"))
File "C:\Users\zch\AppData\Local\Programs\Python\Python38\lib\site-packages\iio.py", line 56, in _check_null raise OSError(err, _strerror(err))
OSError: [Errno 1460] Unknown error During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".\cn0565_example.py", line 220, in <module> main()
File ".\cn0565_example.py", line 122, in main cn0565 = adi.cn0565(uri="serial:COM20,230400,8n1n")
File "D:\Program\Python\pyadi-iio-dev-cn0565\adi\cn0565.py", line 20, in __init__ context_manager.__init__(self, uri, self._device_name) File "D:\Program\Python\pyadi-iio-dev-cn0565\adi\context_manager.py", line 38, in __init__ raise Exception("No device found") Exception: No device found



question clarification
[edited by: zchsdu at 10:20 AM (GMT -5) on 5 Nov 2023]

Thread Notes