strath-sdr / rfsoc_ofdm Goto Github PK
View Code? Open in Web Editor NEWPYNQ example of an OFDM Transmitter and Receiver on RFSoC.
PYNQ example of an OFDM Transmitter and Receiver on RFSoC.
We should add the following hierarchy to allow this overlay to be compatible with drivers from rfsoc_sam.
The IPI diagram needs the following hierarchies:
radio -> receiver -> channel_yx -> (ofdm ip cores)
radio -> transmitter -> channel_yx -> (ofdm ip cores)
radio -> rfdc (ip core)
y is the tile, and x is the block.
The IP Cores in the channel hierarchies can be linked using a software wrapper.
See the hierarchies.py and channels.py in rfsoc_sam_private for an idea of whats happening here.
The system will halt on initialisation if the system is not connected in loopback. A kernel interrupt is required to fix the issue.
With or without the CLK104 board.
I followed the exact instructions to run the ofdm demonstration on the zcu111; flashed PYNQ 2.7 and ran pip3 install git+https://github.com/strath-sdr/rfsoc_ofdm
OSError Traceback (most recent call last)
in
2 import ipywidgets as ipw
3
----> 4 ofdm_hw = Overlay()
/usr/local/share/pynq-venv/lib/python3.8/site-packages/rfsoc_ofdm-0.3.2-py3.8.egg/rfsoc_ofdm/overlay.py in init(self, bitfile_name, init_rf_clks, **kwargs)
27 self.adc_block = self.adc_tile.blocks[0]
28
---> 29 self.configure_clocks()
30 self.configure_adcs()
31 self.configure_dacs()
/usr/local/share/pynq-venv/lib/python3.8/site-packages/rfsoc_ofdm-0.3.2-py3.8.egg/rfsoc_ofdm/overlay.py in configure_clocks(self, lmk_freq, lmx_freq)
53 """
54
---> 55 xrfclk.set_ref_clks(lmk_freq=lmk_freq, lmx_freq=lmx_freq)
56
57
/usr/local/share/pynq-venv/lib/python3.8/site-packages/xrfclk/xrfclk.py in set_ref_clks(lmk_freq, lmx_freq)
248
249 for lmk in lmk_devices:
--> 250 _set_LMK_clks(lmk_freq, lmk)
251 for lmx in lmx_devices:
252 _set_LMX_clks(lmx_freq, lmx)
/usr/local/share/pynq-venv/lib/python3.8/site-packages/xrfclk/xrfclk.py in _set_LMK_clks(lmk_freq, lmk)
153 raise RuntimeError("Frequency {} MHz is not valid.".format(lmk_freq))
154 else:
--> 155 _write_LMK_regs(_Config[lmk['compatible']][lmk_freq], lmk)
156
157 def _get_spidev_path(dev):
/usr/local/share/pynq-venv/lib/python3.8/site-packages/xrfclk/xrfclk.py in _write_LMK_regs(reg_vals, lmk)
73 f.write(data[1:])
74 else:
---> 75 f.write(data)
76
77 def _write_LMX_regs(reg_vals, lmx):
OSError: [Errno 6] No such device or address
Any ideas on how to solve this error?
The following two figures are from your RFSoC-2x2 Voila notebooks, displaying the time-domain signal at the receiver block. Just looking at the waveforms I realize that the waveform denoted Decimated
, is in fact not the decimated signal at all, but the un-decimated signal input to the decimator block. Whereas the waveform denoted Symbols
(which on the other hand is true) is the decimated signal.
Not anything major, but I must say that I was a bit confused for a while when working with this.
Best regards,
Mikael Henriksson
Hello, I think this is a great tool and have been using it with my RFSoC 4x2 board to monitor channel disturbances due to active circuit elements in antennas. However, I was wondering if there is a way to expand the capabilities to pull the data from the constellation plots and perform some sort of EVM or BER/SER calculations on them? I have been using the help functions but with little luck.
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.