Skip to content

ezDV

ezDV: How Soldering a W5500 onto a Wi-Fi FreeDV Device Added Wired Ethernet Without Touching the Radio Code

scott

Published October 08, 2026

Original author: tmiw · United StatesOriginal source (new tab)

ezDV

Components

Hardware components

WIZnet parts

Project description

Summary

ezDV is a battery-powered handheld based on the ESP32-S3 that connects to a radio and sends and receives FreeDV digital voice without a PC. FreeDV developer Mooneer Salem (K6AQ) designed it, and TAPR sells it as a kit. It was built as a Wi-Fi-only device, but since firmware 1.1.0 (July 2024) users can solder on an external W5500 module for wired Ethernet. The W5500 runs in MACRAW mode under the ESP32-S3's lwIP stack and shares that stack with Wi-Fi. That let the author keep the radio communication code as is and add wired networking by adding an EthernetInterface class and cleaning up the parts that depended on Wi-Fi (web UI, NTP, hostname and radio settings).

ezDV v1.0 board — ESP32-S3-WROOM-1 module at the top, TLV320AIC3254 audio codec in the middle, two 3.5mm jacks for the radio and headset plus USB-C along the bottom, and PTT, Sync, OVL and Net LEDs at the upper right

Overview

FreeDV is an open-source mode that carries digitized voice in the narrow voice channel of the HF bands. Most operators run the FreeDV program on a PC and connect it to the radio through a sound card. A dedicated box, the SM1000 (STM32-based, about $200), existed but sold out during the chip shortage, and ezDV was planned as a low-cost portable replacement. It was presented in a 2022 TAPR DCC paper.

ezDV connects to a radio in two ways:

  • Analog — a 3.5mm TRRS jack works with any radio. A separate jack is provided for a headset
  • Network — with the FlexRadio 6000 series (the user guide also lists the 8000 series) and the Icom IC-705, ezDV connects over the network with no cable and handles both CAT control and audio

It targets amateur radio operators who work portable outdoors or want to use FreeDV without a PC. The TAPR store lists it at $80 (on sale for $55 as of October 8, 2026).

→ FreeDV ezDV page: https://freedv.org/ezdv/
→ TAPR store page: https://tapr.org/product/ezdv/

Architecture

ezDV architecture — analog audio from the headset and radio on the left goes through the TLV320AIC3254 into the ESP32-S3; inside the ESP32-S3, FreeDVTask and the network tasks on top of lwIP (esp_netif) — Flex TCP 4992 and VITA-49 UDP, Icom UDP x3, HTTP, reporters and NTP — split into WirelessInterface and EthernetInterface; below, the built-in Wi-Fi and a W5500 (MACRAW) module on SPI2 at 40 MHz connect through RJ45 to a router or FlexRadio

The key to the design is that the audio path and the network path are separate. FreeDVTask handles FreeDV encoding and decoding. Audio to and from the radio goes through the TLV320 codec in analog mode, or through the network tasks for FlexRadio and IC-705. The network tasks are written with BSD sockets or the ESP-IDF components built on them (esp_http_server, esp_websocket_client), and lwIP underneath decides whether traffic leaves over Wi-Fi or Ethernet.

Technology Background

Codec2 and FreeDV Modes

Codec2 is a low-bit-rate voice codec that compresses speech to a few hundred to a few thousand bits per second. FreeDV adds forward error correction (FEC) to Codec2 frames and turns them into a radio modem waveform. The goal is to fit digital voice into the roughly 2.4 kHz bandwidth of a regular SSB voice signal.

ezDV supports three modes (per README_freedv.md in the Codec2 repository):

Mode Voice codec Modem waveform Bandwidth FEC
1600 Codec2 1300 14 DQPSK + 1 pilot carrier 1125 Hz Golay (23,12)
700D Codec2 700C 17-carrier OFDM/QPSK 1000 Hz LDPC (224,112)
700E Codec2 700C 21-carrier OFDM/QPSK 1500 Hz LDPC (112,56)

On ezDV, FreeDVTask runs the Codec2 library on the ESP32-S3. The newer RADE mode is not supported.

→ Codec2 FreeDV mode table: https://github.com/drowe67/codec2/blob/main/README_freedv.md

FlexRadio's Waveform API and VITA-49

FlexRadio SDR transceivers expose an API that lets external programs register new modulation modes, called waveforms. Control commands travel over TCP port 4992, and audio samples flow as UDP packets in VITA-49 format. VITA-49 is a packet standard for exchanging IQ and audio data from radio equipment over a network.

When ezDV connects to the radio, it registers two waveforms: FreeDV-USB (FDVU) and FreeDV-LSB (FDVL). When the operator selects FDVU on the radio, the radio sends the received modem signal over UDP, and ezDV demodulates it with FreeDV and sends the decoded voice back to the radio as VITA packets. The audio plays on the radio side (SmartSDR). FlexVitaTask groups 42 samples (5.25 ms) of 8 kHz audio into one block, converts it to 24 kHz and packs it into a single VITA packet.

FlexRadio SmartSDR mode selection — the FDVU and FDVL modes registered by ezDV appear alongside the standard modes, with FDVU selected

→ ezDV user guide: https://tmiw.github.io/ezDV/

ESP-IDF esp_netif and Multiple Interfaces

ESP-IDF uses lwIP as its default TCP/IP stack and adds an abstraction layer on top called esp_netif. Each physical interface, such as Wi-Fi or Ethernet, becomes one esp_netif object, and applications talk through the same BSD socket API without knowing which interface carries the traffic. With multiple interfaces, each gets its own IP address, and the default route is set either by interface priority (route_prio) or directly by the application. ezDV puts Ethernet first in its interface list and calls setAsDefaultInterface() on the interface that gets an IP address (NetworkTask.cpp).

This structure let ezDV add Ethernet as "one more esp_netif." Once EthernetInterface.cpp creates the W5500 driver and attaches it to lwIP with esp_netif_attach(), the FlexRadio, Icom and web server tasks run over Ethernet as they are.

→ ESP-IDF network interface docs: https://docs.espressif.com/projects/esp-idf/en/v5.3/esp32s3/api-reference/network/esp_netif.html

Technical Highlights

  • Publish/subscribe messaging between tasks — a thin wrapper over FreeRTOS called DVTask lets tasks exchange messages instead of touching each other's data directly. The Theory of Operation document says this design reduces bugs such as race conditions
  • Full features without a PC — FreeDV transmit and receive, the voice keyer, over-the-air firmware updates and the web settings page all run on the device
  • Spot reporting — received signals are reported automatically to FreeDV Reporter (WebSocket) and PSK Reporter (UDP 4739)
  • Battery operation — 3.7V LiPo, USB-C charging, MAX17048 fuel gauge
  • Open hardware — hardware under the TAPR OHL v1.0, firmware under GPL v3. The schematic PDF and 3D-printable enclosure files are in the repository

Where WIZnet Fits — A Second Interface Next to Wi-Fi

Bottom line: the W5500 in ezDV is not used as a TOE (hardware TCP/IP engine). EthernetInterface.cpp opens the W5500 only as a MAC+PHY through ESP-IDF's esp_eth_mac_new_w5500() and esp_eth_phy_new_w5500(), then attaches it to lwIP with esp_netif_attach(). ARP, IP, TCP and UDP all run in lwIP on the ESP32-S3 (sdkconfig: CONFIG_ETH_SPI_ETHERNET_W5500=y).

Because this is an experimental feature, the board has no footprint for the W5500. Users buy an off-the-shelf W5500 module and hand-solder four signal wires (SCLK, MISO, MOSI, CS) and two power wires to the ESP32-S3 module pins. The work started as PR #50 on June 11, 2024, was merged on July 29, 2024, and firmware 1.1.0 was released the same day.

W5500 connection points on the ezDV board (manual Appendix C) — SCLK, MI, MO and CS solder points marked on the right-side pins of the ESP32-S3-WROOM-1 module

Item Value (EthernetInterface.cpp)
SPI host · clock SPI2_HOST · 40 MHz
SCLK / MISO / MOSI / CS GPIO 42 / 41 / 40 / 39
Interrupt None (-1), 5 ms polling
MAC address If the W5500 has none, a local MAC derived from the ESP32-S3 eFuse base MAC is set
IP DHCP

→ Ethernet setup manual: https://github.com/tmiw/ezDV/blob/main/manual/C-setting-up-ethernet-support.md

How one FlexRadio audio packet travels through ezDV and back to the radio

  1. The FlexRadio packs the received FDVU-mode audio into a VITA-49 packet and sends it to ezDV's UDP port
  2. The W5500 stores the frame from the RJ45 in its internal MACRAW receive buffer. The ESP-IDF driver opens socket 0 with MACRAW and the MAC filter enabled (esp_eth_mac_w5500.c), so only frames for its own address, broadcast and multicast are accepted. The INT pin is not connected, so no signal goes to the ESP32-S3
  3. The ESP-IDF W5500 driver checks the receive status every 5 ms with a periodic timer and, when a frame is waiting, reads it over SPI2 and passes it to esp_netif
  4. lwIP unpacks the Ethernet, IP and UDP headers and places the payload in FlexVitaTask's socket based on the destination port
  5. FlexVitaTask strips the VITA header, extracts the audio samples, downsamples 24 kHz to 8 kHz and writes them to an audio FIFO. FreeDVTask reads the signal from that FIFO and demodulates it with Codec2
  6. FlexVitaTask turns the decoded voice back into 24 kHz VITA packets and sends them to the radio's receive stream (FlexVitaTask.cpp). These packets take the same lwIP and W5500 path in reverse. On transmit, microphone audio follows the same path and leaves as a FreeDV signal

Think of the W5500 as a "second front door" cut into an existing office. The office used to have only one door, the wireless one, and the staff inside (the radio, web server and reporter tasks) never cared which door the mail came through. They took everything from the mailroom clerk (lwIP). At the new door, the W5500 picks out only the mail addressed to this office (MAC filter) and hands it to the clerk still sealed. Opening the envelopes and sorting them is still the clerk's job. So even with a second door, the staff work exactly the way they did before.

Why MACRAW fits better than TOE [Inferred] — the author did not state these reasons; they are what the code suggests

Reason Evidence
More than 8 sockets can be open at once The web server alone allows max_open_sockets = 11. On top of that come the radio connection (Flex uses 2, TCP and UDP; Icom uses 3 UDP — only one radio type at a time), the FreeDV Reporter WebSocket, the PSK Reporter UDP socket and NTP. The W5500 has 8 hardware sockets, and lwIP is configured with CONFIG_LWIP_MAX_SOCKETS=16
Same code as Wi-Fi The Flex and PSK tasks call socket(AF_INET, ...) directly, while the web server and FreeDV Reporter use ESP-IDF components on top of lwIP. All of them assume lwIP, so using TOE would require separate code
ESP-IDF ships the driver The W5500 driver in esp_eth runs in MACRAW mode and attaches to lwIP through esp_netif. ezDV initializes it in a few lines of configuration

Without the W5500, the ESP32-S3 has no built-in Ethernet MAC, so wired networking would be impossible (the original ESP32 has a MAC but still needs a separate RMII PHY chip). The W5500 provides both MAC and PHY with just four SPI lines plus power. In exchange, skipping the interrupt pin adds SPI checks from 5 ms polling, and the ESP32-S3 still carries the TCP/IP processing, just as it does over Wi-Fi.

→ ESP-IDF Ethernet driver docs (ESP32-S3): https://docs.espressif.com/projects/esp-idf/en/v5.3/esp32s3/api-reference/network/esp_eth.html
→ ESP-IDF Ethernet driver docs (ESP32, internal EMAC): https://docs.espressif.com/projects/esp-idf/en/v5.3/esp32/api-reference/network/esp_eth.html
→ W5500 datasheet: https://docs.wiznet.io/Product/Chip/Ethernet/W5500/datasheet

Similar Projects on WIZnet Makers

The first two projects, like ezDV, put Wi-Fi and wired Ethernet together on an ESP32-S3. esp32_mmdvm_hotspot already has LAN8720 wired Ethernet and proposes replacing it with a W5500. On ESP-IDF, placing the W5500 under lwIP lets existing socket code stay as it is [Inferred].

Item ezDV ESP32 HF FT8 Transceiver Ooznest MCC esp32_mmdvm_hotspot
MCU ESP32-S3 ESP32-S3 ESP32-S3 ESP32 (variant unknown)
Field FreeDV digital voice HF radio · FT8 CNC controller DMR gateway
W5500 usage MACRAW + lwIP (esp_eth) Unknown MAC+PHY + lwIP (esp_eth) Proposal only
Wi-Fi alongside Shared lwIP Wi-Fi or Ethernet Built in Yes
Hardware External module, hand-soldered Unknown Onboard [Inferred] (no schematic published) Unknown
Status Kit on sale, firmware 1.1.0 Personal project Unreleased Personal project

What sets ezDV apart is that it added wired Ethernet to a Wi-Fi device already on sale, with firmware and a few solder joints and no board change.

Where It Fits

  • Radio rooms with unreliable Wi-Fi — connect to a FlexRadio by cable where metal racks and high-power transmitters sit nearby. VITA-49 audio rides on UDP with no retransmission, so any loss on the wireless hop turns directly into audio dropouts [Inferred]
  • Events and Field Day — tie the radio and ezDV together through a single switch where the 2.4 GHz band is crowded
  • Reference code for adding a W5500 to an ESP-IDF project — the single file EthernetInterface.cpp (275 lines) covers driver creation, MAC address handling, event handling and shutdown, ready to reuse
  • Designing dual Wi-Fi and Ethernet devices — a real-world look at the issues that come up when two interfaces share routing on one lwIP stack (see below)

Limitations and Future Improvements

ezDV is a project in which one developer brought FreeDV off the PC, and Ethernet is an experimental feature built on top of it. A few areas could still improve.

  • Hardware modification required — the board has no W5500 footprint, so the module must be soldered on, and the enclosure may need cutting to route the wires. A W5500 footprint or expansion header on a future board would open this up to regular users [Inferred]
  • Routing can get tangled when Wi-Fi is also active — in PR #50 the author wrote that Wi-Fi gets an IP address much faster than Ethernet, and that existing sockets are not disconnected when Ethernet comes up. Radio connections can therefore stay on Wi-Fi, so the author recommends turning Wi-Fi off when using Ethernet
    → PR #50: https://github.com/tmiw/ezDV/pull/50
  • Polling — the plan was to use GPIO38 as the interrupt, but it was set aside for future use (PR #50), and the driver now polls every 5 ms. Receive latency can grow by up to 5 ms, with SPI checks running continuously [Inferred]. No measurements have been published
  • Ethernet stabilization history — four commits fixing Ethernet-related crashes and shutdown issues landed in July 2024 (commit history). Since then EthernetInterface.cpp has not changed, and only the documentation was updated on August 31, 2024
  • Development pace — per GitHub, the last push was on October 30, 2024, and seven issues and PRs remain open. The newer RADE mode is not supported

FAQ

Q. Can I use Ethernet alone, without Wi-Fi? A. Yes. PR #50 removed the Wi-Fi dependency from the radio settings and hostname. The manual recommends turning Wi-Fi off when using Ethernet.

Q. Which W5500 module should I use? A. The manual uses an off-the-shelf W5500 module (sold on Amazon) as the example. You connect four SPI lines plus 3.3V and GND, with power taken from header J7 on the board. The interrupt and reset lines are not used.

Q. Can the IC-705 connect by wire too? A. The IC-705 has no wired LAN port, so it joins the router over Wi-Fi. If ezDV is on the same router over Ethernet, the two can talk on the same network. The author marked the IC-705 connection as tested in the PR #50 checklist.

Q. How does the analog connection differ from the network connection? A. The analog connection only carries audio through the TRRS jack, so it works with any radio. The network connection works only with FlexRadio and the IC-705, but adds CAT control (frequency, mode, PTT) without any cable.

Q. How do I build the firmware? A. Install ESP-IDF v5.3, fetch the submodules and run idf.py build in the firmware folder. Ethernet support is already enabled in the default sdkconfig.

→ ezDV on GitHub: https://github.com/tmiw/ezDV



요약

ezDV 는 무전기에 연결해 PC 없이 FreeDV 디지털 음성을 송수신하는 ESP32-S3 기반 배터리형 휴대 장치입니다. FreeDV 개발자 Mooneer Salem(K6AQ)이 만들었고, TAPR 이 키트로 판매합니다. 원래 Wi-Fi 전용으로 설계됐지만 펌웨어 1.1.0(2024-07)부터 외장 W5500 모듈을 납땜해 유선 Ethernet 을 쓸 수 있습니다. W5500 은 MACRAW 모드로 ESP32-S3 의 lwIP 아래에 붙어 Wi-Fi 와 같은 스택을 나눠 씁니다. 그래서 무전기와 통신하는 코드는 그대로 두고, EthernetInterface 클래스 추가와 Wi-Fi 에 묶여 있던 부분(웹 화면·NTP·호스트 이름·무전기 설정) 정리로 유선을 추가할 수 있었습니다.

ezDV v1.0 기판 — 위쪽 ESP32-S3-WROOM-1 모듈, 가운데 TLV320AIC3254 오디오 코덱, 아래쪽 무전기·헤드셋용 3.5mm 잭 2개와 USB-C, 오른쪽 위 PTT·Sync·OVL·Net LED

개요

FreeDV 는 HF 무선 대역의 좁은 음성 채널에 음성을 디지털로 실어 보내는 오픈소스 모드입니다. 보통은 PC 에서 FreeDV 프로그램을 돌리고 사운드카드로 무전기와 연결합니다. 전용 기기인 SM1000(STM32 기반, 약 $200)이 있었지만 칩 부족으로 품절됐고, ezDV 는 이를 대신할 저가 휴대 장치로 기획됐습니다. 2022년 TAPR DCC 논문으로 발표됐습니다.

ezDV 는 무전기와 두 가지 방식으로 연결합니다.

  • 아날로그 — 3.5mm TRRS 잭으로 어떤 무전기와도 연결합니다. 헤드셋용 잭이 따로 있습니다
  • 네트워크 — FlexRadio 6000 계열(사용자 가이드는 8000 계열도 표기)과 Icom IC-705 에는 케이블 없이 네트워크로 붙어 CAT 제어와 오디오를 함께 주고받습니다

대상은 야외 휴대 운용을 하거나, PC 없이 FreeDV 를 쓰고 싶은 아마추어 무선사입니다. TAPR 판매 페이지 기준 정가는 $80 입니다(2026-10-08 할인가 $55).

→ FreeDV ezDV 소개: https://freedv.org/ezdv/
→ TAPR 판매 페이지: https://tapr.org/product/ezdv/

아키텍처