strath-sdr / rfsoc-book Goto Github PK
View Code? Open in Web Editor NEWCompanion Jupyter Notebooks for the RFSoC-Book.
Home Page: https://www.rfsocbook.com/
License: BSD 3-Clause "New" or "Revised" License
Companion Jupyter Notebooks for the RFSoC-Book.
Home Page: https://www.rfsocbook.com/
License: BSD 3-Clause "New" or "Revised" License
Hello,
Thank you for the great resource you have provided on RFSoC.
While running the radio demonstrator (Notebook G) to send a file, the default values
of the mixer settings work fine and an image file is sent successfully. I am now trying to move to
a higher frequency and set the DAC and ADC mixer frequencies to 2400Mhz each.
However, data reception fails in this instance. The main goal is to increase the transmission
data rate to as high a value as possible and try Tx-Rx on larger data files. How would I go about doing that?
Is it possible to set (higher) IQ rates from Python?
Thank you in advance,
Attempting to use this on a ZCU111 consistently gives the opaque error in the title when trying to load any of the overlays, specifically when attempting to write the binfile_name. I the following error from Notebook A's 04_overlays.ipnyb.
Running:
from pynq_nco.overlay import NumericalOverlay
ol = NumericalOverlay()
Gives:
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
OSError: [Errno 22] Invalid argument
During handling of the above exception, another exception occurred:
OSError Traceback (most recent call last)
<ipython-input-1-6c791a2f05e3> in <module>
1 from pynq_nco.overlay import NumericalOverlay
2
----> 3 ol = NumericalOverlay()
/usr/local/share/pynq-venv/lib/python3.8/site-packages/pynq_nco/overlay.py in __init__(self, bitfile_name, **kwargs)
13 bitfile_name = os.path.join(this_dir, 'bitstream', 'pynq_nco.bit')
14
---> 15 super().__init__(bitfile_name, **kwargs)
/usr/local/share/pynq-venv/lib/python3.8/site-packages/pynq/overlay.py in __init__(self, bitfile_name, dtbo, download, ignore_version, device)
352
353 if download:
--> 354 self.download()
355
356 self.__doc__ = _build_docstring(self._ip_map._description,
/usr/local/share/pynq-venv/lib/python3.8/site-packages/pynq/overlay.py in download(self, dtbo)
418 Clocks.set_pl_clk(i)
419
--> 420 super().download(self.parser)
421 if dtbo:
422 super().insert_dtbo(dtbo)
/usr/local/share/pynq-venv/lib/python3.8/site-packages/pynq/bitstream.py in download(self, parser)
185
186 """
--> 187 self.device.download(self, parser)
188
189 def remove_dtbo(self):
/usr/local/share/pynq-venv/lib/python3.8/site-packages/pynq/pl_server/embedded_device.py in download(self, bitstream, parser)
594 fd.write(str(flag))
595 with open(self.BS_FPGA_MAN, 'w') as fd:
--> 596 fd.write(bitstream.binfile_name)
597
598 self.set_axi_port_width(parser)
OSError: [Errno 22] Invalid argument
I get the same error when attempting to load any of the provided overlays in any of the notebooks (such as RadioOverlay here) and when trying to load the Overlays using the hard path and the standard pynq Overlay function.
I've been pretty stumped on this for a while and would greatly appreciate any advice.
The instruction: pip install https://github.com/strath-sdr/RFSoC-Book/archive/v1.1.0.tar.gz doesn't work. It fails with "Failed to establish a new connection: [Errno -3] Temporary failure in name resolution." It's presumably a DNS failure. The nameserver is 127.0.0.53. Doing a resolvectl status shows current scopes: none for Link4 (eth0).
My ZCU208 board is connected by ethernet to a Lenovo minidock providing USB to ethernet. I set the pc static ip to 192.168.2.2. I had previously not set the DNS server assignments (they were the default, auto I think.) I tried manual setting and assigned IPv4 DNS servers 8.8.8.8 and 1.1.1.1, then rebooted the board. It made no difference.
As a test, I installed PYNQ and Jupyter on the PC, was able to run the above pip command with no problem. As a workaround, I can transfer the notebooks via samba, but that shouldn't be necessary.
I also did the same test using Binder, as suggested by someone on Stack Overflow. Again, there was no problem with the notebook download (did not do the final install.)
Thank you.
ZCU111 ADC Tile and Block Incorrect causes an error to occur. Needs to be changed to ADC Tile 0 and ADC block 0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.