Building a resilient aircraft-to-ground IP link on two ADI Jupiter radios
From a MATLAB® modem model to a Linux® IP link on two ADI Jupiter radios: How a 20-millisecond interruption exposed a timing-recovery fault, and how model-based verification and AI-assisted testing helped establish the fix.

An aircraft and its ground station need to stay in touch as the aircraft moves through changing radio conditions. Whether the link carries status, commands, or mission data, a brief interruption should not become a prolonged loss of communication. The challenge here was to make a custom radio waveform behave like an ordinary Linux® network connection and recover when the signal disappeared. On the bench, two ADI Jupiter radios carried an encrypted Secure Shell (SSH) session over the air, representing the aircraft and ground station.
The link integrated ADI’s ADRV9002 transceivers, Jupiter hardware, HDL reference design, Linux® drivers, Industrial I/O (IIO), and libiio, part of ADI DataX™, with a quadrature phase-shift keying (QPSK) modem designed in Simulink® and implemented in FPGA fabric. The resulting system had already demonstrated sustained data transmission over several hours.
Then, during a test, one transmitter went quiet for 20 milliseconds. The opposite receiver did not recover when the signal returned; it remained latched for 16 minutes until a soft reset. For the intended aircraft-to-ground application, a momentary dropout could become a failed flight if the information needed to continue the mission could no longer be exchanged. The question was no longer whether the modem could carry traffic, but whether the receiver could recover when real operating conditions interrupted it.
The goal: a standard Linux® IP interface running over a custom radio waveform on ADI’s Jupiter platform. The setup used two boards, each combining an ADRV9002 transceiver with an AMD Zynq™ and AMD UltraScale+™ XCZU3EG. The forward and reverse paths ran on separate carrier frequencies, creating a bidirectional aircraft-to-ground link on one bench.

The modem transmits Gray-coded QPSK at 15.36 million symbols per second, sampled at four samples per symbol at 61.44 million samples per second (MSPS). QPSK is the workhorse digital radio scheme that encodes two bits per symbol in the carrier’s phase. The payload is convolutionally encoded (rate 1/2, constraint length 5) and interleaved before symbol mapping and pulse shaping. A frame carries 1,528 payload bytes in 12,333 symbols and lasts about 803 microseconds, enough for an IP maximum transmission unit (MTU) of 1,516 bytes.
On each board, the FPGA moves decoded bytes to the processor through a custom interrupt-driven direct memory access (DMA) interface, and a small host adapter, qpsk_tun, exposes them as tun0, an ordinary Linux® network interface. From there it is just IP: SSH neither knows nor cares that its packets are crossing a lab bench at about 2 GHz. Linux® Industrial I/O (IIO) and libiio play a separate role, configuring the transceiver and giving access to raw in-phase and quadrature (I/Q) samples for capture and replay, which becomes important later.
The receiver’s job is harder than the transmitters, and the difference is central to this story. Before it can decode anything, a receiver must recover two things the transmitter never sends explicitly: symbol timing (where each symbol starts) and carrier phase. Two radios run on two independent clocks, drifting relative to each other, so the receiver maintains feedback loops that continuously estimate and track both. While signal is present, the loops track. The open question, the one nobody had asked precisely enough, was what the loops do when the signal goes away. Earning the right to go over the air
Before any radio-frequency (RF) testing, the team needed a trusted answer against which every implementation could be checked. They started from MathWorks® commhdlQPSKTxRx example and froze the packet contract (coding, interleaver, packing rules). For one defined input, the floating-point MATLAB model, the generated hardware description language (HDL) in simulation, and the silicon on the board all had to return the same expected capture value: 0x04922282.

Around that golden number, a build script runs the whole pipeline (HDL generation, simulation, instrumentation, synthesis, implementation) and then decides whether the resulting image deserves to exist, using three gates. Each gate answers a different question, catches a class of failure the previous one cannot see, and is one step closer to physical reality.
Only an image that passes all three is banked, under a manifest that records exactly what was deployed.

That discipline matters for what follows, and so does its one blind spot. Each gate only tests what you ask it to. Gate 3 ran steady traffic, steady traffic passed, and the image shipped, with every number in order. The test plan had quietly made an assumption nobody had written down: that the signal would always be there.
Let's go back to the dropout from the opening, the condition no gate had tested. A transmitter paused for 20 milliseconds; the opposite receiver latched and stayed latched for 16 minutes on what was by then a perfectly healthy signal. The team reproduced the mechanism in register-transfer level (RTL) simulation, inside the receiver’s symbol-timing loop.
An explainer for those who don’t live in this domain. The timing-recovery loop is a control loop, structurally a phase-locked loop (PLL). A detector measures the timing error. A loop filter smooths that measurement. Inside the filter, an integrator accumulates the slowly varying part of the correction, which compensates the steady clock-frequency offset between the two radios.
Like any integrator in a control system, it has a clamp: a hard limit on how large the accumulated correction may grow, there to keep the loop bounded.

When the signal disappeared for 20 milliseconds, the loop didn’t stop; it kept integrating noise. With the clamp at 0.06, the integrator was free to wind up to a correction far larger than any real clock offset, and when the signal returned, the loop was commanding a timing slew so far from reality that the genuine signal fell outside its capture range. The loop had no way back. It sat pinned against its own limit: latched, indefinitely, with a good signal at its input.
The fix was one number. The clamp came down from 0.06 to 0.004, a factor of fifteen. The logic is simple once the mechanism is visible: the largest real frequency offset the loop ever needs to hold is small, so the clamp can be tight; a tightly clamped integrator can’t wander far during a dropout, and whatever timing error it accumulates while tracking noise stays inside the range the loop can pull back from when real symbols reappear. The clamp’s role extended beyond preventing numerical runaway: the tighter setting enabled the receiver to reacquire symbol timing after the tested interruptions.
The correction now had to reach the FPGA without losing its connection to the verified model. HDL Coder™ regenerated the implementation from the corrected Simulink model, rather than requiring a patch to generated code. Seven latch-prevention test cases joined the permanent regression suite at Gate 1, where they run on every future build for the cost of a simulation; interruption testing also joined the bench procedure at Gate 3.
Then the proof. In the next verification run, Gate 1 matched the reference, all seven latch-prevention cases passed, and Gate 2 closed routed timing with +1.187 ns of slack. Twelve deliberate transmit interruptions all recovered within one second, none needing a reset. Four-hour and twelve-hour soak tests, run over the following two days, recorded zero resets and zero loss of lock.
The receiver correction came from the authoritative model, simulation, and bench evidence. AI’s clearest documented contribution appeared elsewhere in the workflow: running bounded campaigns and investigating when the test evidence contradicted the first explanation. Engineers supplied the packet contract, project scripts, written briefs, Jupiter reference design, and ADI drivers before introducing Claude as the AI assistant. Engineers retained ownership of the architecture, authoritative model, verification gates, and every release decision. Two briefs authorized unattended test campaigns with retry limits, stop conditions, a watchdog, and a rig lock to prevent competing jobs.
The first unattended campaign produced the episode worth retelling. The test setup has two cooperating tools: a traffic generator that transmits numbered test frames, and a scorer that checks every received frame for a correct marker, a sane length, an advancing sequence number, a matching 32-bit cyclic redundancy check (CRC32), and a payload matching the expected bit sequence. Partway into the overnight campaign, with nobody watching, the scorer began rejecting every single frame. One hundred percent failure.
Superficially, that is a dead radio link, and the cheap conclusion, “the radio failed, abort the campaign,” was available and wrong. Before drawing it, the agent did what a careful engineer would do: it went to the raw receive log and looked at the actual frames. Marker present. Lengths sane. Sequence numbers advancing in order. The radio was delivering bytes perfectly. So why did every frame fail? The answer was in the test tooling itself: the traffic generator had been writing a constant placeholder value into its CRC field (it never computed real checksums) while the scorer independently computed genuine CRC32 over each payload. Every comparison failed because the two tools had never agreed on the rules. The radio was innocent; the test had failed the test.
The fix was made on the scorer side, and it is worth being precise about why that is not a loosened test. For generator frames, the entire payload is known in advance, so the scorer validates every bit of the payload against the expected sequence; a CRC exists to protect payloads you don’t know, and for these frames the bit-for-bit comparison is the stricter check. The scorer gained a generator-specific check and kept that full payload comparison intact. The fix was itself tested, with deliberately good and deliberately corrupted frames confirming the revised check both passes and fails when it should. After redeployment, the repeated smoke test passed and the rate sweep completed.
A separately authorized campaign ran unattended for 12.5 hours and helped isolate a band-dependent impairment, which brings us to the second surprise.
Area | AI contribution | Engineer responsibility |
Context | Worked from the packet contract, project scripts, reference design and drivers supplied in briefs | Defined the briefs, authoritative sources and constraints |
Execution | Ran bounded unattended campaigns under retry limits, stop conditions, a watchdog and a rig lock | Authorized each campaign and its boundaries |
Analysis | Inspected raw captures before drawing conclusions; traced the scorer failure to the test tooling | Determined technical significance and accepted the diagnosis |
Verification | Exercised fixes with positive and negative self-test controls | Defined the three build gates and acceptance criteria |
Decisions | Proposed bounded next actions | Retained architecture, carrier selection, model changes and image promotion |
Frequency selection looked like a desk decision: examine the candidate carriers with the link quiet (a clean spectrum, a healthy-looking receiver) and pick. During the bench campaign, that method failed: the 1.95 GHz reverse carrier looked fine at idle, then failed the packet-error test the moment sustained traffic ran over it. The replacement, 1.85 GHz, passed under load and was kept.
This is where the IIO path set up at the start paid off. The capture-and-replay infrastructure, built on Linux® IIO and libiio access to the transceiver’s raw samples, made the diagnosis tractable. Every Gate 3 run banks four million receiver I/Q samples at 61.44 MSPS alongside the frame records. Verilator can replay those samples through the receiver logic bit-accurately, and MATLAB provides the floating-point comparison.
Replaying captures showed excess noise in the carrier estimator at 2.0 GHz and no such noise at 2.1 GHz. The record attributes the impairment to the analog input on this bench. The lesson generalizes: a carrier qualified at idle is not qualified. Only traffic qualifies a carrier.
The final packet-error measurement used image sp3clamp004 during the same period of bench verification. Two radios with antennas on one bench ran for 600 seconds in each direction, and missing frames were counted as packet errors. The results keep the link directions separate because the carriers and measured error rates differed:
Measurement | Forward | Reverse |
Carrier | 2.1 GHz | 1.85 GHz |
Errors / frames | 355 / 736,447 | 52 / 747,631 |
Packet error rate | 0.048% | 0.007% |
Application target < 1% | Met | Met |
Internal Gate 3 limit 0.01% | Above limit | Met |
Both directions met the application target. The reverse direction also met the tighter internal Gate 3 limit; the forward direction did not, with the remaining loss attributed in the project record to hardware noise on this bench. An earlier image, measured in an earlier phase of development, delivered IP goodput of 12.7 Mbit/s forward and 13.7 Mbit/s reverse. The twelve-hour soak established that both radios remained locked throughout.
The boundary: these are short-range bench results. Flight range, live video and RF sensing remain outside what was demonstrated. In the proposed sensing path, the receiver would feed samples from selected frequencies to an edge classifier that reports “unknown” below an agreed confidence threshold. Proposed, not measured.
Start with the link behavior the application must preserve when the RF path changes or disappears, then define the model, hardware, and bench evidence needed to verify it. The Jupiter platform, ADI HDL reference design, Transceiver Toolbox, Linux® IIO, and libiio provide useful starting points for connecting a modem model to programmable logic and capturing the evidence needed to investigate unexpected behavior. Use interruption tests, positive and negative controls, capture replay, and sustained traffic to explore, test, and refine the recovery behavior required by your own application.
A resilient software-defined radio link shows how ADI resources, ecosystem tools, AI-assisted investigation, and engineer-controlled verification can work together around evidence from the model, generated logic, and physical hardware.
Explore Project Solas™ for more worked examples and ADI resources that can help you bring the same approach to a different engineering challenge.
Resource | Provider | Purpose |
Jupiter boards (ADRV9002 + Zynq™ UltraScale+™ XCZU3EG) | ADI / AMD | Radio and programmable logic platform, both link ends |
MATLAB, Simulink, HDL Coder (R2025b) | MathWorks | Authoritative modem model, floating-point reference, HDL generation |
ADI | Connects the HDL Coder workflow to the Jupiter reference design | |
ADI Jupiter HDL reference design, axi_adrv9001, axi_dmac | ADI | FPGA integration and DMA data movement |
HDL targeting guide | HDL Targeting with HDL-Coder. Transceiver Toolbox supports the IP Core generation flow from MathWorks which allows for automated integration of DSP into HDL reference designs from Analog Devices. |
The team’s modem, DMA wiring and operating scripts live in a private engineering repository, where the image manifest, build-gate documentation and the carrier-lock and forward-link ledgers record everything above. Full reproduction requires those private assets.
MathWorks, MATLAB, and Simulink are registered trademarks, and HDL Coder is a trademark, of The MathWorks, Inc. AMD, Zynq, UltraScale+, and Vivado are trademarks of Advanced Micro Devices, Inc. Linux is a registered trademark of Linus Torvalds in the U.S. and other countries. All other trademarks and product names are the property of their respective owners. © 2026 Analog Devices, Inc. All rights reserved.
This worked example is part of Project Solas, ADI’s work to make engineering resources easier for AI to discover and apply. It follows an engineering challenge from the initial ambition through the technologies, decisions, and tests that shaped the result. The approach and lessons offer ideas for bringing AI-assisted engineering into your own products and workflows.
Linux® (6.12.77, 2026r1), IIO and libiio | ADI | Transceiver configuration, raw I/Q capture and replay |
AMD | FPGA implementation |
Open source | Icarus Verilog: simulation |
ADI | Further exploration of connected drivers, FPGA IP, reference designs, and AI-legible resources; not a measured build contribution. |