Elecraft K4 + fldigi Setup Guide
Complete setup for Olivia and other digital modes. The K4 is Elecraft's high-performance SDR transceiver with integrated USB audio and dual virtual COM ports.
Quick Reference
| USB Connection | USB-B - single cable for CAT + audio |
| Rig Control | RigCAT with K4.xml (recommended) |
| Baud Rate | 38400 (MANDATORY - do not change) |
| Audio Device | USB AUDIO CODEC |
| PTT Method | RTS via serial port |
| COM Port | Must be COM9 or lower (Windows) |
1. USB Connection Overview
The K4 features an integrated USB interface via a single USB-B connector that provides:
- Two virtual COM ports (USB-PC1 and USB-PC2) for radio control
- One USB Audio Codec (virtual soundcard) for TX and RX audio
- Single integrated connection - no separate cables required
- Windows identifies audio as "USB AUDIO CODEC"
Key Benefit
Receive audio available at both analog LINE OUT and USB soundcard. Eliminates analog audio cabling, reducing noise and ground loop issues.
2. Driver Installation
Windows 11
Modern Windows includes FTDI drivers built-in. Simply connecting the K4 via USB will result in automatic driver installation.
If manual installation needed:
- Download FTDI VCP drivers from ftdichip.com
- Install and restart
- Verify in Device Manager: Two "USB Serial Port" entries
Critical - COM Port Limitation: Hamlib cannot use COM10 or higher. In Device Manager, right-click USB Serial Port → Properties → Advanced → Change to COM2-9.
macOS
- Download FTDI drivers from FTDI macOS download page
- Download D2XX driver package and VCP drivers
- Install and restart
- Verify:
ls /dev/tty.usbserial*should show two entries
Linux
Most distributions include the open-source FTDI driver (ftdi_sio) by default.
Verify: lsmod | grep ftdi_sio and ls /dev/ttyUSB*
Permission fix: sudo usermod -a -G dialout $USER
3. Radio Hardware Setup
USB Port Configuration
- Press MENU button
- Navigate to Serial I/O
- Select USB-PC2
- Set the following:
Parameter Setting Baud Rate 38400 (MANDATORY) RTS Function PTT DTR Function FSK Data Bits 8 Stop Bits 1 Parity None
Audio Level Configuration
For RX (K4 to computer):
- Press MAIN RX button
- Tap LINE OUT
- Set level to ~40-50% (avoid clipping in fldigi)
For TX (computer to K4):
- Press TX button
- Tap LINE IN, select SOUNDCARD
- Set appropriately (should not peak above 80%)
4. fldigi Configuration
Audio Device Setup
- Open Configure → Audio
- Capture Device: Select "USB AUDIO CODEC"
- Playback Device: Select "USB AUDIO CODEC"
- Sample Rate: 48 kHz
- Bits: 16-bit
Rig Control (RigCAT - Recommended)
- Download K4.xml from SourceForge
- Open Configure → Rig
- Select RigCAT
- Click "Open" and select K4.xml
- Set serial port parameters:
- Serial Port: Your K4's COM port (COM2-9, NOT COM10+)
- Baud Rate: 38400 (critical)
- Data Bits: 8, Stop Bits: 1, Parity: None
- Handshake: None
- Click Initialize to test
PTT Configuration
Recommended: RTS via serial port
- In Configure → Rig, PTT section:
- Method: "Serial (DTR/RTS)"
- RTS for PTT: Checked
- DTR for PTT: Unchecked (leave DTR for FSK)
- Port: Same as rig control port
- Delay: 50ms start, 50ms stop
5. Common Issues and Troubleshooting
fldigi Won't Connect (RigCAT Fails)
- Verify baud rate is exactly 38400
- Close all other applications using K4 COM ports
- Check COM port number is 9 or lower (Windows)
- Disconnect K4, wait 5 seconds, reconnect
- Verify K4 is in DATA mode (not SSB)
No Audio in fldigi Waterfall
- Verify USB AUDIO CODEC is selected as input device
- Check K4 menu: MAIN RX → LINE OUT enabled with volume >30%
- In Windows sound settings, verify USB AUDIO CODEC not muted
- Try different sample rate (44.1 kHz instead of 48 kHz)
PTT Not Keying Transmitter
- Verify K4 menu: USB-PC2 → RTS set to "PTT"
- Test PTT method in fldigi: RTS is enabled
- Check K4 mode is DATA (PTT may be disabled in some modes)
Transmit Audio Too Quiet or Distorted
- Increase TX LINE IN level in K4 menu (up to 70-80%)
- Monitor K4 ALC meter during TX (should show some activity)
- Verify K4 is actually in DATA mode and not SSB
6. Official Documentation
Pre-Flight Checklist
- K4 connected via USB-B cable
- Device Manager shows two USB Serial Port entries
- COM port number is 9 or lower (Windows)
- K4 Menu: USB-PC2 Baud = 38400, RTS = PTT
- K4: MAIN RX LINE OUT enabled, TX LINE IN = SOUNDCARD
- K4 Mode: DATA
- fldigi: K4.xml loaded with correct COM port
- fldigi: USB AUDIO CODEC for input/output
- fldigi: RTS for PTT enabled
- Test: Initialize shows rig frequency/mode
- Test: PTT keys the K4
