Red Pitaya Notes
Source Issues

SDR transceiver

Hardware

The SDR transceiver consists of two SDR receivers and of two SDR transmitters.

The implementation of the SDR receivers is quite straightforward:

The SDR transmitters consist of the similar blocks but arranged in an opposite order:

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

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

The basic blocks of the digital down-converters (DDC) and of the digital up-converters (DUC) are shown in the following diagram:

SDR transceiver

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

Software

The projects/sdr_transceiver_122_88/server directory contains the source code of the TCP server (sdr-transceiver.c) that receives control commands and transmits/receives the I/Q data streams (up to 2 x 32 bit x 1536 kSPS = 91.6 Mbit/s) to/from the SDR programs.

The projects/sdr_transceiver/extio directory contains the source code of the ExtIO plug-in.

The projects/sdr_transceiver_122_88/gnuradio directory contains GNU Radio blocks and a few flow graph configurations for GNU Radio Companion.

Getting started with GNU Radio

sudo apt-get install gnuradio
git clone https://github.com/pavel-demin/red-pitaya-notes
cd red-pitaya-notes/projects/sdr_transceiver_122_88/gnuradio
export GRC_BLOCKS_PATH=.
gnuradio-companion trx_am.grc

Getting started with SDR# and HDSDR

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 sdr_transceiver_122_88.bit:

make NAME=sdr_transceiver_122_88 PART=xc7z020clg400-1 bit

Building SD card image zip file:

source helpers/build-all.sh