Using the ADC and DAC stored in the RFSoC 4x2, we can build an oscilloscope and function generator. The ADC and DAC inside the board will generate and capture sine wave and work like an oscilloscope and function generator. Therefore, when needing a simple data collection or signal generation, this board can be a good choice then having two big machines by your side.
Before installing necessary files, ethernet connection is necessary in order to download the files.
First you will need an ethernet connection to the board, from here use the following series of commands:
- sudo apt update
- sudo apt upgrade
- sudo apt install xfce4-goodies xfce4
https://linuxconfig.org/guide-to-installing-xfce-desktop-on-ubuntu-linux
- sudo apt install xrdp
- sudo systemctl enable xrdp
- sudo systemctl start xrdp
git clone this repository to your PYNQ environment
Run the following script to install the basic libraries used in the application:
- chmod +x install_packages.sh
- ./install_packages.sh
Make the application python file executable using the chmod +x .
- " ScopeApp.desktop "
- When running the program
- open the program with mousepad or text editor
- look for " Exec= " section
- change "/home/xilinx/jupyter_notebooks/spectrum-analyzer/RFSoC4x2_Scope.py" into your OWN directory, where you saved the files.
- you can move the file to this directory as well.
Run the Executable program .desktop file.
For detailed guidelines refer to the tutorial.pdf in the repository