Documentation chapters

Control and data interface

Board control

Control port

ParameterValue
Address192.168.67.2 (FO1, factory default)
PortTCP 5025
Protocoltext commands, text answers
Clientsone at a time; a second client gets Busy
Error answera line starting with Error:

The host libraries send these commands themselves: the SoapySDR driver on setFrequency, setGain and stream activation, the vortarian MEX (GNU Octave, MATLAB) through vortarian('cmd', ...).

Commands

CommandFunction
initSets up clocks, converters and synchronization. Required once after power-up. Sets the default configuration: both NCOs 375 MHz, UDP ports 10700 and 10701. Restarts the timestamp counter.
init stsReports whether the initialization has run.
debug onStarts the I/Q streams on FO1 and FO2. Both senders are enabled by one register write.
debug offStops the streams.
adc 1 nco <Hz>NCO frequency of ADC 1 (RX A, RX B).
adc 2 nco <Hz>NCO frequency of ADC 2 (RX C, RX D).
rf gain lowRF gain 0 dB, all channels.
rf gain highRF gain 20 dB, all channels.

Rules

  • debug on before init answers Error: Board initialization has not been run.
  • A running stream keeps both links at 8.10 Gb/s: send debug off when the capture is done.
  • The NCO frequency and the RF gain can be changed while the stream runs.
  • An Ethernet pause frame from the host stops the stream until the next debug on; see Host setup.
  • Close the control connection when done. A connection held by another program (board console, a second application) makes every other client fail with Busy.

Sequence of a capture

init                    once after power-up
adc 1 nco 375000000
adc 2 nco 375000000
debug on
...                     receive datagrams on UDP 10700 and 10701
debug off