Skip to main content

RTC Testbench

The RTC Testbench is an end-to-end validation harness for OPC/UA over TSN on Qualcomm Dragonwing™ platforms. It uses two IQ-9075 / QCS9100 devices connected back-to-back via the internal EMAC (end0) to measure round-trip time (RTT) and one-way latency of OPC/UA publish-subscribe frames under a PREEMPT_RT kernel with gPTP clock synchronization.

Key Points

  • Two-device topology — reference and mirror roles, direct Ethernet cable (no switch) via end0
  • PREEMPT_RT + gPTP — CPUs 3–7 RT-isolated; ptp4l and phc2sys provide sub-microsecond clock synchronisation before the test starts
  • meta-rtc layer — custom Yocto layer that builds the OPC/UA binaries, test scripts, and configuration alongside QLI 2.0
  • Success criterion — zero new OpcUaRttOutliers or OpcUaOnewayOutliers after initial warm-up (first 64 RTT outliers at test start are a known XDP TX-ring warm-up artifact)

Test Topology


CPU Partitioning


Subpages

Build & Setup

Compile with meta-rtc, verify RT boot, run postboot.sh, start PTP

Test Execution

Configure peer MACs, run mirror/reference, interpret results

Reference Files

postboot.sh, ptp.sh, and gPTP_qcom_emac.cfg full source

RTC Benchmarks IQ9

Benchmark results for the Dragonwing IQ-9075 platform