Red Pitaya Notes
Source Issues

Vector Network Analyzer

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_122_88 directory contains one Tcl file block_design.tcl that instantiates, configures and interconnects all the needed IP cores.

Software

The projects/vna_122_88/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_122_88.bit:

make NAME=vna_122_88 PART=xc7z020clg400-1 bit

Building SD card image zip file:

source helpers/build-all.sh