Red Pitaya Notes
Source Issues

SDR receiver

Hardware

The FPGA configuration consists of sixteen identical digital down-converters (DDC). Their structure is shown in the following diagram:

SDR receiver

The I/Q data rate is configurable and four settings are available: 48, 96, 192, 384 kSPS.

The tunable frequency range covers from 0 Hz to 490 MHz.

The projects/sdr_receiver_122_88 directory contains two Tcl files: block_design.tcl, rx.tcl. The code in these files instantiates, configures and interconnects all the needed IP cores.

The projects/sdr_receiver_122_88/filters directory contains the source code of the R scripts used to calculate the coefficients of the FIR filters.

Software

The projects/sdr_receiver_122_88/server directory contains the source code of the TCP server (sdr-receiver.c) that receives control commands and transmits the I/Q data streams to the SDR programs.

The SDR SMEM repository contains the source code of the TCP client (tcp_smem.lpr), ExtIO plug-in (extio_smem.lpr) and other programs and plug-ins. The following diagram shows an example of how these programs and plug-ins can be used:

SDR SMEM

The tcp_smem program runs on a computer. It receives the I/Q data streams over the network and transfers them to other programs and plugins via shared memory.

Antenna

I use simple indoor antennas made from a single loop of non-coaxial wire. Their approximate scheme is shown in the following diagrams:

Antenna

Getting started

Running CW Skimmer Server and Reverse Beacon Network Aggregator

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/2024.2/settings64.sh

Cloning the source code repository:

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

Building sdr_receiver.bit:

make NAME=sdr_receiver_122_88 PART=xc7z020clg400-1 bit

Building SD card image zip file:

source helpers/build-all.sh