DIT DOTS KO6ETZ HAM RADIO • ELECTRONICS • SOFTWARE 14.074 MHz TX PWR RX

W1700K: Receive and Transmit on Windows

Amateur radio · RF bring-up · KO6ETZ

A Wi-Fi 7 router as a wideband receiver and a microwave transmitter, both driven from Windows.

The Gemtek W1700K is a Wi-Fi 7 router. With h0m3us3r’s open-source w1700k-sdr firmware it becomes a 14-bit, 320 Msps receiver covering 2.08–2.75 and 4.65–7.6 GHz. Upstream’s host side runs on Linux, and its firmware is receive-only. This page covers what was built on top of it, in two parts. The receiver on Windows: the install, a lossless stream, a self-contained Windows program and the ShackLink backend. The transmitter: three weeks of work, from 21 October to 11 November 2026, on getting the same radio to transmit CW, AM, NBFM and single-sideband voice on 13 cm and 5 cm, as a low-power amateur station under FCC Part 97. Most of the transmit work was wrong turns, and they’re all on this page.

Receives on Windows, lossless 13 cm: transmits 5 cm: transmits CW · AM · NBFM · USB · LSB No calibrated power figure yet
The W1700K Transmitter window on 13 cm, set up for NBFM at 2392.526 MHz, with the pre-key check, the level slider and the transmit audio scope

The W1700K Transmitter window: 13 cm, NBFM, at rest.

🙏 It stands on w1700k-sdr. Thank you, h0m3us3r.

None of this would exist without w1700k-sdr. Its author wrote firmware that runs the router’s MediaTek MT7996 with no MediaTek code at all. The ROM patch and both firmware cores are built from source, and they bring the radio up from a cold power-on by themselves, from MediaTek’s initialisation decoded register by register. The project also includes the Linux driver, the lossless 10 GbE IQ stream, and a register reference of about 20,000 lines (include/hw/) with notes on what each register does and what is dangerous.

Every transmit register used here was found in that reference or next to it. Every key-down went through its control mailbox (firmware/stream/ctl.h), a register-program interpreter written for receive that turned out to work as a sample player. Its notes even warned about this, with “HAZARD: transmits CW tones” written beside the tone generator.

Upstream runs on Linux and is receive-only. Nothing on this page is part of it. The Windows port and the transmit work are separate projects, run by the owner, a licensed amateur, on their own equipment. h0m3us3r didn’t ask for either and doesn’t endorse them. Please don’t take Windows or transmit questions to upstream’s issue tracker. w1700k-sdr is MIT-licensed (its kernel and U-Boot parts are GPL), and its own README is the place to start.

📻 Part one: the receiver on Windows

Upstream’s host software runs on Linux: the stream receiver, the browser spectrum and the control tool. This station runs Windows, and the receiver had to come first, because every transmit measurement on this page was read through it.

19–20 Oct

The install, on a NAND nobody had run

This unit is a W1700K2 with a Winbond W25N04LV flash chip. Upstream supported that chip in code, but at the time it had “never been run on a unit”, and the installer stops on it until you pass a flag named --i-dont-care-about-nand-corruption.

So nothing was written until the reasons for that stop had been checked. First came upstream’s write-free raw dump and backup. Then the two things the stop exists for, the vendor bad-block tables and the chip’s spare-area layout, were checked against this unit’s own data. Both matched upstream’s assumptions. The install then ran in one pass in about 3 minutes, every image read back identical, and nothing was remapped. In a later write test Linux erased 94 blocks and wrote 7,048 pages, each one on the first attempt. As far as we could find, this was the first reported install on a W25N04LV unit. Everything that runs on the router is upstream’s work.

20 Oct

First light, around a switch that ate jumbo frames

The radio came up from cold in 2.9 s with all three synthesizers locked. The stream did not: the export sends 8 KB datagrams, and the 1 GbE switch in the path dropped every jumbo frame. So the first look at the spectrum came another way. Upstream’s stream sequence ran unchanged, but the samples went into the router’s own RAM instead of the network, and were copied off over SSH. At 160 Msps the whole 2.4 GHz band showed, with the three Bluetooth LE advertising channels where they belong.

Then a direct cable to the PC’s 2.5 GbE port: a 10 s live stream at 40 Msps reached Windows lossless, 198,867 of 198,867 datagrams. 40 Msps is the most 2.5 GbE carries.

20–21 Oct

Upstream’s control, native on Windows

A small patch let upstream’s own control package run under Windows’ Python and OpenSSH, with no WSL. The main obstacle was that Windows OpenSSH has no connection multiplexing, which upstream relies on for every command. The patch keeps one long-lived SSH session to the router and frames each command through it.

On top of that came w1700k.exe, a self-contained Windows program that needs no Python. It bundles the radio firmware, and a doctor runs twelve checks (adapter, jumbo frames, link speed, SSH key, host key, driver hashes, calibration, radio state), each with a fix. It trusts the router’s key on first use, against the fingerprint the installer printed. It refuses a sample rate the PC’s own adapter can’t carry. It also enforces one program per router, so two controllers can’t fight over one radio. W1700K Control is the same thing as a window. On the real router: load in 2.37 s, then 205,621 of 205,621 datagrams.

21 Oct

In ShackLink, with nothing to configure

w1700k.exe serve is ShackLink’s backend for the router. The ShackLink installer ships the whole program and adds the stream’s firewall rule. Its Device Setup card checks the adapter and offers to prepare it, and shows the router’s fingerprint for you to confirm. In the acceptance run, from a fresh install the spectrum appeared with no file copied or edited, and a 10 s window had 219,665 datagrams and none lost.

27–28 Oct

10 GbE, and two receivers at once

A USB 10 GbE adapter replaced the 2.5 GbE port, which opens every rate up to 320 Msps. It took two days of moving USB devices between controllers and hubs. In the end the router and the USRP B210 streamed at the same time without a loss: 204,837 of 204,837 datagrams from the router, and the B210 at 32 Msps with no overruns. That pairing is the bench the transmitter was measured on.

The W1700K2's circuit board inside its opened case, with the four-pin serial console header J5 near the left edge

The unit opened for its serial console (header J5, left) during the install, 19 October 2026.

What it needs

  • A router installed with w1700k-sdr, with your SSH key.
  • A wired adapter at 10.77.0.10/24 with 9014-byte jumbo frames, cabled straight to the router’s 10 GbE port.
  • 2.5 GbE carries 40 Msps, 5 GbE 80 Msps, 10 GbE everything up to 320 Msps. Each PC’s limit comes from its own adapter, never a fixed number.

⬇️ Download: W1700K for Windows 1.1.5, receiver

The command line w1700k.exe and the window W1700K Control, with upstream’s radio firmware bundled. It needs no Python and no WSL. Unzip it anywhere and start W1700K Control.exe. The setup checks tell you what’s missing and how to fix it, then you trust the router’s key, load the radio, pick band, rate and centre, and start the stream.

W1700K-receiver-1.1.5.zip

14.1 MB · Windows 10 or 11, 64-bit · SHA-256 8257fe6e6865af8300c4e3c4a51ed5fab2b335a7e9aeab4d63c9e859b1621402

  • Receive only. This build has no transmit service. The transmitter described below isn’t released.
  • The router must already run w1700k-sdr, installed with upstream’s own installer, which runs from Linux.
  • Unsigned. Windows SmartScreen may warn on first start: choose More info, then Run anyway.
  • MIT, like upstream. NOTICE.txt in the folder lists every component and its licence.
A live spectrum and waterfall of the 2.4 GHz band from 2402 to 2482 MHz at 80 Msps, with a strong Wi-Fi channel near 2417 MHz

Live, 13 November 2026: band 0 at 80 Msps around 2442 MHz over the 10 GbE link, in the project’s browser viewer (tools/w1700k-live.py). The strong signal centred near 2417 MHz is where the owner’s own Wi-Fi sits, on channel 2. The viewer is a Python bench tool: it transforms about three quarters of the samples and drops datagrams it can’t keep up with, hence its “lost” counter. The link itself carries every datagram; the lossless figures above come from a dedicated receiver.

The W1700K Control window: twelve setup checks all passed, and the radio loaded on 2.4 GHz at 80 Msps, 2442.000 MHz, streaming

W1700K Control in the same run: twelve checks passed, 10 Gb/s link, so every rate up to 320 Msps is offered. Paths, the adapter’s MAC, the router’s key fingerprint and the unit’s serial are blacked out.

One program per router. Opening this window took the router’s claim, so the command line’s next stop was refused with “W1700K Control is driving the router at 10.77.0.1. Close it to drive the router from here.” That’s the rule working as designed: two controllers each keep their own copy of the radio state, and either could undo the other.

First light: the whole 2.4 GHz band

Band 0 at 160 Msps around 2442 MHz, 20 October 2026, captured into the router’s RAM (the 1 GbE switch blocked the stream). Peak of every 10 bins. The marks are the three Bluetooth LE advertising channels.

The first live stream on Windows

Band 0 at 40 Msps around 2442 MHz, 20 October 2026: 4,096 FFTs of 4,096 points averaged, 419 ms of samples, no datagram lost. Shown as the peak of every 8 bins.

📡 Part two: the transmitter. The question

Upstream’s summary of transmit was one word, “None. The firmware runs no TX calibration and keeps the MAC TX path disabled.” The first line of the transmit notes answers it:

That is true of upstream’s firmware, and false of the hardware.docs/08, the opening paragraph

A Wi-Fi 7 router is a four-chain microwave transceiver on three bands, with power amplifiers that are made to transmit. Wi-Fi itself was never the goal, though. The unit runs only upstream’s own firmware, so there is no 802.11 stack, no access point, no frames and no clients. The question was narrower: can the RF chips be made to emit a clean, controlled carrier inside the amateur bands, and can that carrier be modulated?

The W1700K’s radio: the SoC streams over 10 GbE; the MT7996 baseband drives three RF dies, each through front-end modules to the internal antennas Airoha AN7581 4× Cortex-A53 SoC 10 GbE to the PC PCIe MediaTek MT7996 “D-die”: PHY, DFE, MAC upstream’s WM firmware and its control mailbox TX LO codes live here MT7976 A-die · band 0 2.4 GHz front ends 13 cm: 2390–2450 MHz MT7977 A-die · band 1 5 GHz front ends 5 cm: 5650–5850 MHz MT7977 A-die · band 2 6 GHz front ends no amateur band above 5.925 FEM × 4 ePA · LNA · switch FEM × 4 ePA · LNA · switch FEM × 4 ePA · LNA · switch internal antennas

The hardware. Each RF front end (MediaTek calls them A-dies) has four chains, and each chain ends in a front-end module (FEM): the external power amplifier, the low-noise amplifier and the transmit/receive switch in one package. The PA and the switch are controlled by pins, not by RF. Holding a PA open turned out to be the hard part.

Why transmit at all

Honestly, not for voice. For voice the notes say plainly that a USRP B210 is the better transmitter, and one sits on the same bench. The interest is the hardware. It’s a consumer router with a 320 MHz-wide receiver that also has a transmitter on 13 cm and 5 cm, both microwave amateur bands where home-built gear is the norm.

What it might do that nothing else on the bench does is act as a stepped-CW sweep source paired with its own wideband receiver, which makes a scalar network analyser for filters and antennas. That part isn’t built yet. Everything below is the groundwork for it.

⚖️ Ground rules

Changing what a certified Wi-Fi device emits ends its Part 15 certification. What is left is Part 97, which lets a licensed amateur build and modify transmitters. These rules held for every key-down:

📡

Licensed, own equipment

Station KO6ETZ. The router and the receiver are the owner’s, on one bench, cabled straight to one PC. No network, no Wi-Fi firmware, nobody else’s devices.

📏

Inside the band, all of it

Every test key-down stays inside 2390–2450 MHz (bench work at 2390–2400, amateur-only) or 5650–5850 MHz. The tone, its quadrature image and the LO leakage all have to land inside.

🎙️

An outside ear

A USRP B210 one metre away measures the first key-down of every new stimulus or gain range. The router’s own receiver doesn’t count as proof.

⏱️

Short, low, identified

Short bursts at low level from the unit’s internal antennas, by the operator’s decision. Each session ends with the call sign.

✋

The operator keys

Code that makes the router emit was prepared and checked first. The control operator ran the key-down, or authorised it for that session.

⚠️

The law is the operator’s

Since 11 November the software tunes anywhere the synthesizer locks, with a red warning outside the amateur bands. Nothing outside them has been keyed or measured.

📜 The story

The record of the work is docs/08, which runs to 4,000 lines in 31 phases named T0 to T30. Nothing in it was deleted. A claim that turned out wrong stays in place, struck through, with the phase that withdrew it. The story below follows that record.

21 OctT0–T11

Eleven phases in one day, and none of them counted

The day opened with a read-only census of 228 transmit-path registers on the live unit. Nothing was written and nothing changed. It showed what the transmit baseband actually has: no player. Nothing in 20,000 lines of decoded registers takes samples from memory and transmits them. There were four fixed-function sources: a single tone generator, an undecoded wideband test signal, a DFE test signal and the MAC (gated off). The plan was therefore built on a tone.

By the afternoon there was a headline, “the transmitter runs” (T1). The chip’s own TSSI power meter followed a digital gain control at exactly 1/8 dB a step. Then came T8, which switched the analog transmitter off. The meter read 6523 in standby, 6516 in receive and 6153 in loopback, so it was measuring the digital baseband and never saw the analog side. Withdrawn Everything since T1 described the digital half of the chip.

Three nulls in this investigation were instrument failures, not results… Each looked like a clean negative.docs/08 §9, T4–T6
21 OctT12

The capture was never alive

The other instrument was the router’s own receiver, capturing what the transmitter did. T10 found it unvalidated. Its two “paths”, from antennas four centimetres apart, agreed to 0.01 dB, and real antennas can’t do that. T12 found three independent reasons:

  1. The stream was one path (chain 0), packed two samples to a word. The tools unpacked it as two paths on a doubled frequency axis, so a line at f appeared at 2f.
  2. A 64 MiB socket buffer meant that a capture could come from before the register change it was supposed to measure.
  3. The transmit preparation itself disconnected the capture from every chain, twice over (a DFE lane and the A-die’s mode).

Every capture result from T2 to T11 was declared void, including an “emission bound” of about −50 dBm. The capture was then validated against a B210 carrier with same-run controls, and gave the same answer in 17 of 17 reloaded runs. From that day the method had four rules.

The instrument rules that came out of T1–T12

  1. Prove the instrument responds to something known.
  2. The control has to switch off the thing being measured. If the reading doesn’t go away, the instrument can’t see it.
  3. Controls in the same run, repeated.
  4. Know what the data is (read the packing from the code that writes it) and when it is from.
27–28 OctT13–T16

The first valid tone test

The disconnection turned out to be a single nibble in TOP 0x070. Chain 1 could then be prepared for transmit while chain 0 stayed connected as a receiver. In eight runs by the control operator, the band’s tone generator showed up on chain 1’s A-die: a 300 ms line at exactly LO − 5 MHz, 30–49 dB above the off state, and gone when chain 1’s A-die went to standby. That was the first transmit result that passed its own controls.

The B210, one metre away, saw nothing.

The runs were also messy. A USB-C link dropped, the unit needed a power cycle, a shared USB hub caused overflows, and the owner’s own Wi-Fi on channel 2 forced the test LO to 2397 MHz.

28 OctT17–T18

Real RF, but it wouldn’t leave the box

T17 was the first positive result of the whole investigation. Chain 1’s analog transmit line-up produced real RF, and the A-die’s PA index moved it by 18.6 dB, with the router’s witness receiver and the B210 agreeing to 0.2 dB. The level law predicted the next three runs to within 0.6 dB, so power control existed.

But the signal was detectable at 10 cm and gone at 1 m, even with more drive. That is at least 38 dB lost where the inverse-square law predicts 20, so the 10 cm reading was coupling inside the box. The front-end module’s PA was still closed. Four FEM control states were forced, each with a read-back inside the same program to prove the write had landed. All four did nothing.

T18 then disassembled MediaTek’s own WM firmware. Its FEM helper for this chip writes exactly one register. The conclusion was “the gate is outside the A-die register space”, and the day’s worklog said:

The end goal – a signal visible in other SDR apps at a useful distance – is not reachable this way. It needs the antenna, which means it needs the FEM.T17 worklog, step 14
9 NovT19

The FEM opens, because of a pin nobody was looking at

Twelve days later, a re-read of T17 found the mistake. It wasn’t in what was written. It was in what had been skipped.

The FEM has two control pins per chain, one that opens the transmit path and one that opens the receive path. MediaTek’s calibrations force only the TX pin. That’s safe for MediaTek because those calibrations also disable the MAC’s receive path, and with it the RX pin’s drive. This project’s preparation had deliberately left the MAC’s receive path alone. So T17 had been telling the FEM to transmit and receive at the same time, a state MediaTek never produces, and the FEM resolved it as receive.

StateTOP 0x744Chain 1 TX pinChain 1 RX pinAt 1 m
Rest (receive)0xaa800800offon—
T17: TX forced0xaa888823onstill onnothing
T19 run 9: RX held off0xaa88882bonofftone 50 dB over off

One two-bit field. In run 9 the witness rose 22–23 dB and the B210 at one metre saw the tone 50 dB above the key-up state, where every earlier state had shown nothing. T17’s “the gate is outside the A-die” was Withdrawn.

The same day brought the second discovery. The control mailbox chains programs without a gap: it starts a queued program the instant the previous one ends. A stream of tiny programs, each writing a few register values with fixed delays between them, is a sample player that needs no firmware change. The PC couldn’t keep it fed over ssh (326 underruns in 667 programs), so the refill loop moved onto the router as a small static C program, w1700k-txfeed. Each program ends with a keep-alive check, so a lost link or a killed feeder unkeys the transmitter by itself within 0.3 s.

By that evening the router had keyed “KO6ETZ TEST” in Morse, and the B210 decoded it from the keying. It had also sent 3.4 s of AM speech, and the B210’s demodulated audio matched the source with a correlation of 0.975.

9–10 NovT20–T21

The LO-leakage trim is a quadrature modulator

A direct-conversion transmitter leaks some of its local oscillator straight through, which shows up as a carrier at the LO. To cancel it, the chip has a pair of signed 8-bit trim codes, I and Q, that add a small DC offset to each arm of the modulator. They are meant to be set once per gain step and left alone.

Written as a time-varying pair, they are a complex baseband signal at the LO, which makes an IQ modulator. Measured: linear, about 2° off true quadrature as built, and full scale 27 dB above the leakage. Two MMIO writes per sample through the mailbox, up to about 48 kS/s.

The TX LO-leakage trim codes used as an IQ modulator PC: audio → I/Q SSB / AM / NBFM / CW shaped, calibrated, 8-bit per axis Control mailbox 38 samples a program: W32 I · W32 Q · DELAY chained with no gap TXLO_I code meant: DC trim TXLO_Q code meant: DC trim × × LO cos LO sin + PA → FEM → antenna

The trim was designed as two constants that cancel the carrier. Written about 16,000 to 48,000 times a second, it carries a signal. The chip applies the codes at about 48.8 kHz internally (inferred from the response), so modulation stops at about ±20 kHz. There is no reconstruction filter, so sample-and-hold images sit at multiples of the sample rate.

The first single-sideband tone came out with its image 35 dB down and the carrier 50 dB down. Upper-sideband voice reached the B210 with the opposite sideband 30 dB down. After a calibration against the B210 (T21), 13 cm reached an image of −67.5 dB and a carrier of −61.2 dB at the time of calibration. That null drifts: it was at −45 dB within 25 minutes. SSB, AM, NBFM and shaped CW all run on this path. Before it, the notes had listed SSB under “cannot be built”.

10 NovT22–T23

5 cm transmits, and a week of “clean carrier” gets withdrawn

The same line-up, carried to the 5 GHz die (an MT7977), transmitted. Its FEM gate is a different register (TOP 0x4a8) and needs no RX-pin trick. Its PA index is a straight 0.74 dB a step, and its IQ calibration reached an image of −55.4 dB and a carrier of −49.3 dB, the floor of the measurement.

The same phase also withdrew the T19 claim of “one clean carrier” Withdrawn. Bit 21 of the tone generator’s control word makes the tone real rather than complex, which gives two lines 10 MHz apart. T19’s second line had happened to land on a room Wi-Fi signal and was taken for it. For a week, every tone key-down had radiated both lines. They were in band only because the frequency rule had always placed the image inside the band as well. The station now clears the bit.

The notes also record two level errors as they happened, both measured by the B210:

  • A signed byte. A digital gain value of 0x50 was read as −22 dB, but the byte is signed and 0x50 is +10 dB. One check run keyed 5.4 s of “KO6ETZ TEST” 31 dB over the accepted level. It stayed in band, carried the call sign and didn’t clip, and was of the order of a milliwatt EIRP by a rough estimate. The code now refuses that range.
  • A gain table that is not monotonic. Stepping the 13 cm PA index below its default, expecting less power, produced more: the table is a sawtooth (chart below). Six 30 ms bursts went out up to 8.6 dB over intent. The rule since then is that no index on either die is used without a measurement of that index.

Why levels are never stepped blind: the 13 cm PA index

The tone line at the B210, in dB against index 0x20. Below 0x20: T22, measured when this was found. Above it: T17’s level law. Only the dots are measurements.

T23 found that on 5 cm, the first preparation after a change of frequency transmitted with the previous frequency’s A-die tables, about 2 dB off. The die keeps separate tables per frequency group, and a retune only moves the synthesizer. Since then the radio is reloaded at the run’s own frequency.

10–11 NovT24–T27

From bench tools to a program

A service for ShackLink. The generator became tx-serve, a process ShackLink’s sidecar starts. Samples come in on stdin at 48 kS/s, and closing stdin unkeys the transmitter. Building it uncovered a defect that had been in every key-down since T19: the router-side feeder had been starving the ssh server that carried its own samples, so 10 of 16 test streams had gaps. Raising the ssh server to real-time priority above the feeder fixed it, with no gaps in 30 streams.

Temperature. T25 brought up the dies’ own temperature sensors. The A-die rises 3.5–5.5 °C within seconds of keying at every level, including two levels 17 dB apart. Over a 30-minute key-down at the default level, the output drifted 0.2 dB on 13 cm and 0.06 dB on 5 cm. The station now stops a key-down at 85 °C or at a 30 °C rise. The external PAs have no sensor; the only sign of them is a level droop of 0.07–0.3 dB.

The temperatures do not know the level.docs/08 §9, T25

One program per router. A 23-minute run at the top level died when another program on the PC loaded the radio underneath it. The feeder’s dead-man switch unkeyed it, as designed. Since then the first W1700K program on the PC to change the radio claims the router with a named mutex, and every other program is refused with the holder’s name.

The window. T26 put the service inside w1700k.exe as the verb tx-serve. T27 derived each unit’s sensor constants from its own EEPROM, and gave the C# window continuous key-downs. On the air, a 256-second NBFM voice transmission went out as one key-down with no gap, its level steady within 0.64 dB from start to end.

11 NovT28–T30

The whole range, and the third die

The window was used on the air, button by button. 5 cm SSB ran at the top level, with the opposite sideband 37.8 dB down. A 30-minute key-down ran at the 13 cm top index, and 1,008 s at the 5 cm top. The owner then opened the software to the radio’s whole tuning range, with a red warning wherever the signal would fall outside an amateur band.

The last phase took the third die, the MT7977 behind the 6 GHz front ends. On band 1’s line-up, unchanged, it transmitted. Its gate is the same register, all four chains radiate, Morse was decoded and NBFM matched at 0.92. It was measured only inside 5650–5850 MHz, through its front end’s stopband, about 30 dB under band 1. No level measured there describes it above 5.9 GHz, and nothing here has measured it there. Its carrier also drifts: 4.7 kHz in the first half-minute after a load and another kilohertz during each key-down, where band 1 moves 21 Hz.

Band 2’s carrier after a load

The carrier’s offset from where it started, at 5849 MHz, read by the B210 (T30). Band 1 moves 21 Hz in a 10 s key-down; band 2 moves 975 Hz.

Nothing in the hardware, in upstream’s firmware or in its headers stood in the way.docs/08 §9, T30

🎧 Heard off the air

These are the B210’s own recordings, demodulated from what it received one metre from the router. The top row is the clip that was sent. The other three are the router’s transmissions as another radio heard them. The AM recording on 13 cm matches the source with a correlation of 0.975.

Four spectrograms of the spoken words KO6ETZ voice test: the source clip, then the B210's demodulated recordings of AM on 13 cm, upper sideband on 13 cm and AM on 5 cm, each showing the same speech formants above the receiver's noise

Sent, then received off the air: AM on 13 cm (9 November), USB on 13 cm (9 November), AM on 5 cm (10 November). The 5 cm recording window closed before the clip ended.

Sent

The clip that was sent: “KO6ETZ, voice test”, 3.4 s.

Received: AM, 13 cm

The B210 at 1 m, envelope-detected, 8 kHz.

Received: USB, 13 cm

The opposite sideband was 29.7 dB down. The two free-running oscillators drift a hertz over the clip.

Received: AM, 5 cm

5675 MHz, matching the source at 0.95.

❌ The wrong turns, in one table

The record keeps every claim that was later withdrawn, struck through and dated. Some of these cost days.

ClaimMadeUndoneWhat was actually happening
“The transmitter runs”T1T8The on-chip power meter was digital. It read the same with the analog transmitter off.
“The adjacent chain sees no emission” (a −50 dBm bound)T2T12There was no adjacent chain: one path, unpacked as two.
Every capture-based resultT2–T11T12Wrong unpacking, stale buffered samples, and a capture the preparation had disconnected.
“Our reload transmits” (an open lead)§10T12A misreading. That hazard belongs to MediaTek’s firmware, not upstream’s load.
“The FEM’s gate is outside the A-die”T17T19The TX pin was forced while the RX pin was still asserted.
“One clean carrier”T19T22The tone was real-valued: two lines 10 MHz apart, every tone key-down for a week.
5 cm NBFM/AM scoring 0.88–0.97T22T23The scorer’s sample-rate search grid was too coarse; with a finer pass both bands scored 0.96–0.99.
“Band 2 sits 5 kHz under band 1”T30T30Two different runs had been compared. Within one capture, the gap is the drift.

There were also self-inflicted defects that weren’t claims: the signed gain byte (31 dB over), the non-monotonic PA table (8.6 dB over), a feeder that starved its own link for a week, A-die tables left over from the previous frequency, and a 23-minute run killed by another program reloading the radio. Each one is now a rule in the code.

⚙️ How it works now

Two front doors share one core. The C# window drives a Python backend, and ShackLink drives w1700k.exe tx-serve. Both use the same Station: the register line-up, the measured level tables, each unit’s IQ calibration and the temperature watch.

The transmit chain, from the Windows programs through the router’s control mailbox to the antenna WINDOWS PC W1700K Transmitter C# / WPF window w1700k-tx-host.py its backend, 32 kS/s ShackLink sidecar (and CRTU200 reads caps) w1700k.exe tx-serve stdin samples, 48 kS/s Station (shared core) line-up · measured level tables · per-unit IQ calibration temperature watch · router claim (one program at a time) ssh 10 GbE THE ROUTER w1700k-txfeed static C, on the SoC keeps the mailbox full Control mailbox upstream’s WM firmware (ioctl W1700K_SDR_CTL) ONE KEYED PROGRAM (38 samples: 2.4 ms at 15.9 kS/s) head: TX on, FEM 38 × { I, Q, delay } alive? tail D-die TX LO codes I/Q A-die chain to TX, PA index FEM gate 0x744 / 0x4a8 USRP B210 at 1 m (receive only) the outside ear: level, image, carrier, decoded Morse, demodulated audio over the air

The transmit chain. The PC never writes samples in real time. It writes them over ssh to the feeder on the router, which keeps the mailbox queued. Each program turns the chain and the FEM on, plays 38 IQ samples, checks that the feeder is still alive, and has a tail that turns everything off. If the next program doesn’t arrive, the tail runs and the transmitter unkeys. Closing the window, or ending tx-serve’s stdin, does the same.

Two paths to the antenna

IQ modes (AM, USB, LSB, NBFM, shaped CW) play the LO-trim codes as an IQ modulator, with the carrier and image nulled by each unit’s own calibration. Tone modes (tone Morse, “AM (tone)”) use the band’s tone generator 5 MHz below the LO. Their LO leakage and image fall above the wanted frequency, so the in-band check covers all three.

Levels are a table, not a law

The level slider runs 0 to −40 dB under each band’s maximum, and every position is a measured PA index plus a digital back-off. On 13 cm the PA is linear only up to its default index. Above it the window allows constant-envelope modes (Morse, NBFM) and refuses AM and SSB. 5 cm is linear to the top.

🖥️ The Windows app

W1700K Transmitter is a native C# (.NET 9, WPF) window for the operator. It deliberately keeps the proven Python layer for the hardware: the same register line-up, feeder, interlocks, level tables, temperature check and key-down limits that the bench tools measured. The C# side owns validation, presentation, settings and the process lifecycle. Nothing touches the radio when the window opens. Only Send Morse, Send Voice or Send Both keys it, STOP unkeys, and closing the window puts the registers back.

The transmitter window on 5 cm, upper sideband at 5680.000 MHz, the pre-key check showing Morse, voice and both ready

5 cm, upper sideband at 5680 MHz. The pre-key check says what will happen before anything is sent, and how long one key-down may last at this band and level.

The transmitter window on the 6 GHz die at 6000 MHz, with a red banner saying the carrier is outside the amateur bands

Outside the amateur bands, a red banner says so and names the nearest allocation. The window warns but doesn’t refuse; following the law is the operator’s job. The pre-key check adds that this die was only ever measured inside 5650–5850 MHz.

🎛️

A real VFO

Digit-select tuning with the wheel and keys, ten memories (click to recall, hold to overwrite), and a keypad-and-knob entry dialog shared with the owner’s B210 FM receiver.

🗣️

Morse and voice

Morse at a set speed. Voice from Windows speech synthesis of a text, or from a WAV or MP3 of any length, shaped and modulated ten seconds at a time.

🆔

Call sign enforced

None is built in, and nothing can be sent until one is set. The Morse text, the voice text, or a confirmation that the audio file identifies the station has to carry it. The window and the backend both check.

⏱️

Continuous key-downs

IQ modes go out as one key-down of up to 10 minutes, with the dies’ temperatures watched while keyed. Longer material continues after one second unkeyed.

📊

Audio scope

The outgoing audio as a spectrum over a waterfall in ShackLink’s palette, moving only while the transmitter is keyed.

🔒

One program at a time

The first Send claims the router. While ShackLink or a bench tool holds it, a Send is refused with the holder’s name and nothing on the unit is touched.

The frequency entry dialog: a large VFO display, a numeric keypad with Hz, kHz and MHz keys, and a tuning knob

The frequency dialog: keypad, units and knob.

And for ShackLink: tx-serve

The same transmitter is a service inside w1700k.exe, the Windows program that also runs the receiver for ShackLink. ShackLink’s sidecar starts it and speaks a small wire. Requests and samples go in on stdin, framed, at 48 kS/s, and events come out as JSON lines. Asking it what it can do (hello, caps) touches nothing. Its first prepare claims the router, and the end of stdin unkeys.

The level tables in it were measured on one router. The IQ calibration is each router’s own, and none is shipped. Making one takes an external receiver. Without one the service says so and transmits uncalibrated, with the carrier about 25 dB under a full-scale signal on 13 cm and 16 dB on 5 cm.

📐 Measurements

Every figure here is relative: dB at the B210 or dB against a reference index. There is no calibrated power figure in dBm yet. That needs a conducted measurement through an attenuator, and the bench doesn’t have one. Treat “a milliwatt” anywhere on this page as an order of magnitude.

Asked for, and got

The frozen w1700k.exe 1.1.0 walked through every level (T26). Each point is the tone the B210 received at that setting, in dB against the band’s maximum. The grey line is a perfect match.

13 cm, 2392 MHz5 cm, 5680 MHzasked = got
13 cm (band 0, MT7976)5 cm (band 1, MT7977)Band 2 (MT7977, 6 GHz front ends)
Keyed and measured2390–2450 MHz5650–5850 MHz5650–5850 MHz only, through its stopband
Image / carrier, uncalibratedcarrier −25 dBccarrier −16 dBcleakage −22 dBc
Image / carrier, calibrated−67.5 / −61.2 dB at calibration−55.4 / −49.3 dB (the floor)no calibration possible here
Image / carrier through the service−50 / −51 dB−57 / −52 dB—
Level range40 dB; linear to −17.1 dB under max40 dB; linear to the topconstant-envelope modes only
Level accuracy (walks)−0.27 … +0.99 dB−0.33 … 0.00 dB—
Longest key-down30 min at every level30 min at default and under; 1,000 s above300 s
Carrier drift in a 10 s key-downsettles within 30 s of a load21 Hz975 Hz

Modulation bandwidth

About ±20 kHz. The in-chip hold rolls off by 0.4, 1.2, 3.0 and 5.4 dB at 5, 10, 15 and 20 kHz.

Two-tone IMD (13 cm)

−48 dB at the default index, −22 dB at the top. That’s why AM and SSB stop at the default there.

Temperature

At rest: A-die 49–51 °C, D-die 45–47 °C, board 38–40 °C. Keyed: the A-die rises about 3.5–5.5 °C, whatever the level.

📍 Where it stands (11 November 2026)

ItemState
Receiving on Windows: w1700k.exe, W1700K Control, ShackLink’s backend, lossless at 40 Msps on 2.5 GbE and on 10 GbEdone
The receiver above 40 Msps on this PC through ShackLink, and on other stationsnot yet measured here
13 cm and 5 cm: CW, AM, NBFM, USB, LSB, from the window and from tx-servedone, on the air
Per-unit IQ calibration, measured level tables, temperature watch, dead-man unkey, router claimdone
The third die (band 2) keysdone inside 5 cm only
A calibrated output power in dBm, and an external-PA thermal budgetnot done needs a conducted measurement
RF harmonicsnot measured only baseband harmonics, −60 to −65 dB
Anything outside the amateur bands; band 2 above 5.85 GHznot keyed, not measured
A second unit, a second PC, an installed ShackLink with its transmit sidenot yet
The stepped-CW sweep source (scalar network analyser)not built

The hazards, as the notes list them

  • The external PAs. Wi-Fi PAs are rated for backed-off burst OFDM, not hours of CW near saturation, and they have no temperature sensor. The key-down limits are what was measured, not a rating.
  • No transmit calibration from MediaTek. Carrier, image, harmonics and intermodulation are only as good as this project’s own corrections, and the absolute power is unknown.
  • Wedging the radio. Undocumented registers can hang the radio until a power cycle. Every program has a tail that turns things off, and some registers are never written.
  • The internal antennas are connected. Every test is a real emission, so it has to be legal, identified and in band, all of it.

📚 Credits

  • w1700k-sdr by h0m3us3r: the firmware, driver, streaming and register reference that both the Windows receiver and the transmit work are built on. MIT, with GPL-2.0 kernel and U-Boot parts, and BSD-3-Clause-Clear files derived from MediaTek’s mt76 driver.
  • OpenWrt’s Table of Hardware for the console pinout and how to open the case.
  • Ettus Research’s USRP B210, the outside ear for every key-down.
  • The Windows port, the tools, the record (docs/04–08) and the Windows programs were written with Claude, Anthropic’s AI model, as a lab partner. The station, its licence and every key-down decision belong to the control operator, KO6ETZ.

More from the same bench: ShackLink, the station software the transmitter plugs into, and the RF Bench Analyser.