PR430

From LinuxHam
Jump to: navigation, search

The PR430 is a small device integrating a TNC and a 70cm 6W-transceiver optimized for packet radio (1200 Bd. AFSK & 9600 Bd. FSK) use. It is connected to the host system through a RS232 interface using the common 9-pin sub-D connector. It is running enhanced 6pack as the line protocol.
The PR430 can also be used as a FM-TRX and as POCSAG-TX. It was developed by the German company SR-Systems.

Linux support

Currently Linux does not support enhanced 6pack, therefor special drivers patches are needed. The patch is available at http://www.linux-mips.org/pub/linux/mips/people/ralf/pr430. The FM-Transceiver and POCSAG transmitter mode are currently not supported.

Configuration

The enhanced 6PACK driver is configured via sysfs. To configure the device sp0 to a receive frequency of 438.350MHz with a shift of -7.6MHz use the following commands:

echo 438350000 > /sys/class/net/sp0/tnc/qrg
echo -7600000 > /sys/class/net/sp0/tnc/shift

But there are some more files in sysfs:

root@kiste ~]# cd /sys/class/net/sp0
[root@kiste sp0]# ls -l tnc
total 0
-r--r--r--  1 root root 4096 Jul 10 20:52 author
-rw-r--r--  1 root root 4096 Jul 10 20:52 bitrate
-r--r--r--  1 root root 4096 Jul 10 20:52 hwtype
-r--r--r--  1 root root 4096 Jul 10 20:52 major
-r--r--r--  1 root root 4096 Jul 10 20:52 minor
-rw-r--r--  1 root root 4096 Jul 10 20:52 qrg
-rw-r--r--  1 root root 4096 Jul 10 20:52 shift
-rw-r--r--  1 root root 4096 Jul 10 20:52 txpower
[root@kiste sp0]#

Here is what they mean:

  • author
    This file contains a number which stands for the author of the devices firmware. In case of a PR430 this is a 7 which stands for Gunter Jost, DK7WJ.
  • bitrate
    This file contains the configured bitrate of the device. In case of the PR430 this is either 1200 or 9600. 1200 implies AFSK, 9600 implies FSK as modulation mode.
  • hwtype
    This file contains a number which encodes the hardware type. 4 stands for a PR430.
  • major
    This is the major version number of the device.
  • minor
    This is the minor version number of the device.
  • qrg
    The RX frequency in Hz.
  • shift
    The TX offset in Hz.
  • txpower
    This is slightly confusing. Well, hopefully not. The driver will accept values in three different units which are shown in the last three columns of the following table. The first column is the actual power this will result in
Watt order raw dBm
0 0 0 0
300mW 1 16 25
1W 2 64 30
6W 3 255 38

See also