Author Topic: How can I control the Ensemble RXTX SDR Transceiver kit with Linux command-line?  (Read 5348 times)

Anton Janovsky (ZR6AIC)

  • Administrator
  • Jr. Member
  • *****
  • Karma: +0/-0
How can I control the Ensemble RXTX SDR Transceiver kit with Linux command-line?

Anton Janovsky (ZR6AIC)

  • Administrator
  • Jr. Member
  • *****
  • Karma: +0/-0
I had to add a command line utility to the Linux webSDR server to control the frequency of the receiver via usb port with the following program usbsoftrock.
The program can be found on Google code https://code.google.com/p/usbsoftrock/downloads/list
You will need to compile the code before you can use it.
here is the command that you could use after compilation

Code: [Select]
sudo usbsoftrock statusVersion     : 15.12
USB SerialID: PE0FKO-0
Startup Freq: 14.210000 (x 4.00)
Xtall Freq  : 114.285000
Smooth Tune : 3500 PPM
Si570 I2C   : 55 Hex
  BPF Enabled: 0

Set the frequency you require
   
Code: [Select]
sudo usbsoftrock set freq 14.210
The frequency was a few khz lower and I had to calibrate the frequency using the following command. You can retrieve the frequency at which your Si570's crystal oscillates with the command sudo usbsoftrock calibrate

Version     : 15.12
fXTALL = 114.207544

Calibrating the frequency with the value you got above.

Code: [Select]
sudo usbsoftrock -x 114.207544 set freq 14.125Version     : 15.12


Checking the frequency.
Code: [Select]
sudo usbsoftrock getfreq
Version     : 15.12
Frequency   : 14.089549 (x 4.00)


here is the command list

COMMAND is one of
  calibrate (may require -s option)
 
Code: [Select]
getfreq
  getregisters
  interactive
  getptt                                 (-h option for Mobo only)
  getkeys                                (PE0FKO+TF3LJ+Mobo)
  gettone
  ptt {on|off}
  set bpf {on|off}                       (PE0FKO+TF3LJ+Mobo)
  set bpf_addr <band> <filter>           (PE0FKO >= 15.12+Mobo)
  set bpf_point <crossover> <f in MHz>   (PE0FKO+TF3LJ+Mobo)
  set lpf {on|off}                       (TF3LJ+Mobo only)
  set lpf_addr <band> <filter>                   "
  set lpf_point <crossover> <f in MHz>           "
  set freq <frequency in MHz>
  set si570_addr <i2c address in decimal>
  set si570_multiplier [band] <decimal factor>  (PE0FKO>=15.12+Mobo)
  set startup <frequency in MHz>         (PE0FKO+TF3LJ+Mobo)
  set xtall <frequency in MHz>           (PE0FKO+TF3LJ+Mobo)
  status

  where TF3LJ = Lofturs AtMega168 derivative
        Mobo  = Mobo 4.3 Project AT90USB162 Firmware