All docsStellar LinkRF bench · by Stellar Systems v0.4.0

Getting Started

Setting Up the Unit

Powering the Stellar Link unit, connecting it over USB or Ethernet, reaching its API, cabling the RF path safely, and the optional bench equipment.

This page takes a Stellar Link unit from the box to a reachable, safely cabled radio.

Powering the unit#

Power the unit and give it time to boot. The control daemon, stellarlinkd, starts automatically; the API answers once it is up. When the unit is connected over Ethernet, its DHCP lease is requested late in the boot sequence, so wait a moment before concluding that the unit is not reachable.

Connecting it to the network#

The unit answers on two network interfaces at once, and you can use either:

InterfaceAddressNotes
USB192.168.2.1Point-to-point link over the USB cable; your host gets an address on 192.168.2.0/24
EthernetAssigned by DHCPNeeds an Ethernet cable to your network; look up the lease on your DHCP server

Both interfaces serve the same unit. If the API stops answering on one, try the other before suspecting the unit: a USB link can drop off the host while the unit keeps serving over Ethernet.

Services on the unit:

PortService
8080REST API (/api/v1/...) and WebSockets (/ws/...)
5555ZeroMQ PULL: frames in, relayed to the modem
5556ZeroMQ PUB: frames received by the modem
5557ZeroMQ PUB: telemetry snapshots
9090Prometheus metrics exporter

Reaching the API#

Point the CLI at the unit with STELLARLINK_API:

Shell
export STELLARLINK_API=http://192.168.2.1:8080     # or http://<Ethernet address>:8080
stellarlinkctl status

The Web Console connects to the same address.

The daemon's configuration is described in Daemon Configuration.

Cabling the RF path#

By default the modem uses TX1 and RX1 of the AD9361, with RX1 on input port A (A_BALANCED). A profile can move either direction to the second channel (tx.channel: 2, rx.channel: 2, see Profiles); the channel the modem does not use transmits nothing but the transceiver's LO leakage.

A typical cabling for on-air loopback with a spectrum analyser is:

text
unit TX1 --> 40 dB attenuator --> 2-way splitter --+--> spectrum analyser
                                                   +--> unit RX1

With 40 dB of attenuation plus the splitter's loss (about 3 dB), the path loses roughly 43 dB from TX1 to either arm, which keeps RX1 far below its limit at the usual TX attenuation settings. Terminate any unused splitter arm.

Rules when cabling:

  • Characterise, do not assume. An attenuator's marking and a splitter's datasheet do not always add up to the real loss, and the loss depends on frequency. Re-measure whenever a connector changes (see Measurement Tools).
  • A spectrum analyser's reference offset is additive. An attenuation of N dB is compensated with +N dB, never −N.
  • Match the receive gain to the level at RX1. The profile's radio.rx_gain_db must bring the signal into the receiver's AGC range. If the telemetry shows agc_gain pinned near 16.0 while traffic flows, the receiver is starved and needs more gain (see Telemetry and Metrics).

The RF kill switch#

POST /api/v1/radio/rf/kill, also available as a button in the web console header, takes RF off the connector: it puts the AD9361 in its alert state, stops the transmit chain and disarms the receiver, and confirms each step. Use it before touching the RF cabling. TX attenuation alone does not remove RF: even at maximum attenuation the transmitter still emits a small signal.

To resume, run stellarlinkctl chain up (see Chain Conditioning). Applying a profile re-enables the transmitter: if you engaged the kill switch for cabling work, engage it again after any profile apply.

Optional bench equipment#

EquipmentUsed for
A spectrum analyserCharacterising the RF path and checking the transmitted spectrum
Fixed attenuators and a splitterProtecting RX1 and sharing the signal with an analyser
A second SDRAn independent reference transmitter or receiver, to tell a transmitter problem from a receiver problem
A switchable USB hubPower-cycling the unit from a script during long unattended campaigns

↑↓ to moveEnter to open