SDR receiver compatible with HPSDR

Introduction

This SDR receiver emulates a Hermes module with eight receivers. It may be useful for projects that require eight receivers compatible with the programs that support the HPSDR/Metis communication protocol.

The HPSDR/Metis communication protocol is described in the following documents:

This application requires that the Zmod ADC is connected to the ZMOD A connector of the Eclypse Z7 board.

Hardware

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

HPSDR receiver

The main problem in emulating the HPSDR hardware with Eclypse Z7 is that the Zmod ADC sample rate is 100 MSPS and the HPSDR ADC sample rate is 122.88 MSPS.

To address this problem, this version contains a FIR filter for fractional sample rate conversion.

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

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

The projects/sdr_receiver_hpsdr 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_hpsdr/filters directory contains the source code of the R scripts used to calculate the coefficients of the FIR filters.

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

Software

This SDR receiver should work with most of the programs that support the HPSDR/Metis communication protocol:

Getting started

Running CW Skimmer Server and Reverse Beacon Network Aggregator

Building from source

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

Cloning the source code repository:

git clone https://github.com/pavel-demin/eclypse-z7-notes
cd eclypse-z7-notes

Building sdr_receiver_hpsdr.bit:

make NAME=sdr_receiver_hpsdr bit

Building SD card image zip file:

source helpers/build-all.sh