Red Pitaya Notes
Source Issues

Vector Network Analyzer

Interesting links

Some interesting links on network analyzers:

Hardware

The basic blocks of the system are shown in the following diagram:

Vector Network Analyzer

The projects/vna directory contains one Tcl file block_design.tcl that instantiates, configures and interconnects all the needed IP cores.

Software

The projects/vna/server directory contains the source code of the TCP server (vna.c) that receives control commands and transmits the data to the control program running on a remote PC.

The projects/vna/client directory contains the source code of the control program (vna.py).

VNA client

Getting started with MS Windows

Getting started with GNU/Linux

sudo apt-get install python3-numpy python3-matplotlib python3-pyqt5
git clone https://github.com/pavel-demin/red-pitaya-notes
cd red-pitaya-notes/projects/vna/client
python3 vna.py

Building from source

The installation of the development machine is described at this link.

The structure of the source code and of the development chain is described at this link.

Setting up the Vitis and Vivado environment:

source /opt/Xilinx/Vitis/2023.1/settings64.sh

Cloning the source code repository:

git clone https://github.com/pavel-demin/red-pitaya-notes
cd red-pitaya-notes

Building vna.bit:

make NAME=vna bit

Building SD card image zip file:

source helpers/build-all.sh