Skip to content

Extio

pysdrlib.extio

RX-888 (and the other SDDC radios) through ExtIO_sddc's core (receive only).

  • Stand-alone implementation: ExtIO_sddc
  • Wraps ExtIO_sddc's Core (RadioHandlerClass), which also drives the BBRF103, RX888 mkII/mkIII, RX999 and HF103. Only the RX888 has been tested.

Specs

  • Frequency (10 kHz - 1.75 GHz)
  • Below half the ADC rate (32 MHz) the ADC samples the HF input directly; above it the VHF/UHF tuner is used
  • Sample rate (2, 4, 8, 16, 32 MHz): 64 MHz ADC, decimated by the driver's DDC. Other rates snap to the nearest
  • Samples (complex float32, from the ADC's 16 bit samples)
  • Gain (dB, in model/input dependent steps; the driver snaps to the nearest, and the gain returned and reported is the one set, 0 for a stage the active input lacks)
  • RF: HF attenuator (-31.5 - 0) / tuner RF gain (0 - 49.6)
  • IF: HF VGA / tuner IF gain (-4.7 - 40.8). The original RX888 has no IF stage on HF
  • set_rx_gain puts what the IF stage can't supply on the RF stage
  • Bias-T (active input), ADC dither, ADC randomizer, PGA

Setup

The first time pysdrlib.extio is imported it looks for libsddc_core on the system, then in the cache, and otherwise builds from vendor/ExtIO_sddc (needs cmake, a C++17 compiler and the libusb-1.0 and fftw3f development files).

The RX888 boots as a bare USB bootloader and the driver uploads its firmware. On Linux, add a udev rule (before 70-uaccess.rules), and replug the device:

/etc/udev/rules.d/60-rx888.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="00f1|00f3", MODE="0660", TAG+="uaccess"

Run sudo udevadm control --reload-rules to reload udev rules

Modules:

Name Description
rx888

Functions:

Name Description
find

[DeviceInfo] of the RX-888s attached. The driver has no serial numbers and opens the first one it finds

find

find()

[DeviceInfo] of the RX-888s attached. The driver has no serial numbers and opens the first one it finds

Source code in src/pysdrlib/extio/__init__.py
def find():
    """[DeviceInfo] of the RX-888s attached. The driver has no serial numbers and opens the first one it finds"""
    from ..devices import DeviceInfo
    from . import lib
    return [DeviceInfo("extio", "RX-888", None, i, {}, {"openable": i == 0}) for i in range(lib.extio.device_count())]

rx888

Classes:

Name Description
RX888

RX888

RX888()

Bases: NativeDevice

Methods:

Name Description
set_rx_rf_gain

RF attenuator (HF) / tuner RF gain (VHF), in dB. Returns the gain set

set_rx_if_gain

VGA (HF) / tuner IF gain (VHF), in dB. Returns the gain set

Source code in src/pysdrlib/extio/rx888.py
def __init__(self):
    super().__init__()
    self._asked = {}   # {stage: dB asked for}: what each input is given when a retune switches to it
set_rx_rf_gain
set_rx_rf_gain(gain=None, channel=0)

RF attenuator (HF) / tuner RF gain (VHF), in dB. Returns the gain set

Source code in src/pysdrlib/extio/rx888.py
def set_rx_rf_gain(self, gain=None, channel=0):
    """RF attenuator (HF) / tuner RF gain (VHF), in dB. Returns the gain set"""
    self._check_channel("rx", channel)
    return self._set_gain_stage("RX", "RF", gain, self._set_rx_rf_gain, channel)
set_rx_if_gain
set_rx_if_gain(gain=None, channel=0)

VGA (HF) / tuner IF gain (VHF), in dB. Returns the gain set

Source code in src/pysdrlib/extio/rx888.py
def set_rx_if_gain(self, gain=None, channel=0):
    """VGA (HF) / tuner IF gain (VHF), in dB. Returns the gain set"""
    self._check_channel("rx", channel)
    return self._set_gain_stage("RX", "IF", gain, self._set_rx_if_gain, channel)