Based on notes provided by Basil - N7NIX and Corky - AF4PM
- Mount your UDRC™ on a Raspberry Pi 2 or Pi 3
- Install Compass Linux
- Basic Configuration
- Verify that Compass is seeing the UDRC
- If using a Raspberry Pi 3
- Configure the audio settings for the UDRC™/UDRC-II
- Load libraries and header files to support the Fldigi install
- Source Code for Fldigi build
- Build Fldigi
- Export the GPIO line for PTT
- Startup and set levels in fldigi
- Set output levels
Mount your UDRC™ on a Raspberry Pi 2 or Pi 3
Note: Raspberry Pi 3 Addendum
ARMv6 Raspberry Pis are not supported. This includes the A/A+, Zero, Pi 1 B/B+, and Compute Module.
Make sure the pins are properly aligned and use the supplied standoffs to support the board above the HDMI port.
- From a terminal command line, verify that the UDRC™ is
recognized by typing the command
aplay -l(that's a lowercase l) and observe that udrc is listed as a card. If you do not see it listed, power down and remount the UDRC™.
- To preset the pins and levels on the UDRC™ we provide a
script. Execute the following:
cd ~ curl -L -s https://goo.gl/7rXUFJ > set-udrc-din6.sh chmod +x set-udrc-din6.sh sudo ~/set-udrc-din6.sh
- Optionally disable the internal sound chip by editing
/boot/config.txt and commenting out this line (recommended unless you
need it for something else):
- Reboot the Pi
If you commented out the internal sound chip, as suggested above, only the UDRC will show, otherwise you will see a reply similar to:
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7 card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: udrc [udrc], device 0: Universal Digital Radio Controller tlv320aic32x4-hifi-0  Subdevices: 1/1 Subdevice #0: subdevice #0
Lock the bus frequencies:by editing /boot/config.txt and adding the following line at the bottom:
Save the file and reboot the Raspberry Pi.
Configure the audio settings for the UDRC™/UDRC-II
curl -L -s https://raw.githubusercontent.com/nwdigitalradio/udrc-tools/master/scripts/udrc-alsa-din6.sh | sudo sh
sudo apt-get install libfltk1.3-dev
sudo apt-get install libsamplerate0-dev
sudo apt-get install portaudio19-dev
tar -zxvsf fldigi-3.23.15.tar.gz
sudo make install
echo 12 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio12/direction
echo 0 > /sys/class/gpio/gpio12/value
chown pi /sys/class/gpio/gpio12/value
sudo chmod u+x GPIO12.sh
echo 23 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio23/direction
echo 0 > /sys/class/gpio/gpio23/value
chown pi /sys/class/gpio/gpio23/value
sudo chmod u+x GPIO23.sh
Within fldigi - Select Configure/Soundcard
- Select PortAudio and deselect all others
- Select UDRC for both Capture and Playback
- Check the reverse left/right channels
- PCM to –26.5 db
- Lo Drive to –6 db
- Click the “Tune” button in the upper right corner of the window.
- Radio should switch to transmit mode with little to no output power and no ALC indication.
- Increase PCM until the ALC starts to indicate (on the IC-7000 this is about 2-3 bars of ALC on the digital display).
sudo alsactl store
NW Digital Radio is in the process of setting up various community groups at Groups.io Please create a personal account at Groups.io Join the main NW Digital group by sending an email from your registered email account to firstname.lastname@example.org and then send an email to email@example.com Please use the group for questions and to share your experiences, so that all UDRC™ users can benefit from the replies.