
How DMR Actually Works
Table of Contents
Two conversations on one frequency, taken apart one layer at a time — and how to tune a hotspot so it hears them properly.
We’ve now taken apart D-STAR, System Fusion and NXDN. This time it’s the one most of us actually use: DMR. Our Introduction to DMR covered talkgroups, codeplugs and getting on the air, and DMR, WPSD & DMRGateway covered running several networks at once. This post is about what’s actually being sent, and ends with something practical: calibrating an MMDVM hotspot so its frequency is right.
How to read this post. The main text is for anyone who has used, or wants to use, a DMR radio. Grey boxes marked ⚙ Under the bonnet go down to bits and bytes. Skip them freely.
What DMR is
DMR (Digital Mobile Radio) is an open standard from ETSI, the European Telecommunications Standards Institute, first published in 2005 as ETSI TS 102 361. Unlike D-STAR, Fusion and NXDN, it doesn’t belong to one or two manufacturers: anyone can build to it, which is why there are DMR radios from Motorola (MOTOTRBO), Hytera, Kenwood, AnyTone, TYT, Radioddity, Baofeng and many more.
The standard has three tiers:
- Tier I: licence-free, low-power, 446 MHz (in Europe), one call per channel.
- Tier II: conventional two-slot repeaters and direct mode. This is what amateurs use.
- Tier III: trunked systems, where a control channel hands out traffic channels.
DMR’s big idea is TDMA (time-division multiple access). A 12.5 kHz channel is split into two timeslots of 30 ms each, and the two slots take turns. Each slot carries its own conversation, so one repeater on one frequency pair gives you two simultaneous calls: the same spectrum per call as a 6.25 kHz NXDN channel, but with only one repeater to build. And because each radio only transmits half the time, a handheld’s battery lasts noticeably longer.
The big picture
flowchart TB
subgraph TX["Your radio"]
direction LR
A[🎤 Mic<br/>8 kHz audio] --> B[AMBE+2 vocoder<br/>2450 bit/s speech] --> C[60 ms of speech<br/>into one 27.5 ms burst] --> D[4-level FSK<br/>4800 symbols/s<br/>in your timeslot]
end
subgraph NET["Hotspot or repeater"]
direction LR
E[MMDVM modem] --> F[MMDVMHost /<br/>DMRGateway] --> G[(Internet<br/>BrandMeister, FreeSTAR,<br/>TGIF, FreeDMR,<br/>DVSPh, XLX)]
end
TX -- "TS1<br/>(RF, 12.5 kHz)" --> NET
TX -- "TS2<br/>(same frequency)" --> NET
G --> I[Other hotspots,<br/>repeaters and radios]
Like NXDN, your radio says where it wants to go with a number: the talkgroup. Unlike NXDN, it also has to pick a timeslot, and it squeezes 60 ms of speech into 27.5 ms of airtime so the other slot can have the rest.
Layer 1 — the radio signal: 4-level FSK at full speed
DMR uses 4-level FSK at 4800 symbols per second, two bits per symbol, so 9600 bit/s in a 12.5 kHz channel. That’s the same rate as Fusion, with slightly wider deviation:
| Bits | Level | Deviation |
|---|---|---|
01 | +3 | +1944 Hz |
00 | +1 | +648 Hz |
10 | −1 | −648 Hz |
11 | −3 | −1944 Hz |
The bit-to-level map is identical to C4FM’s and NXDN’s. What differs is the spacing, and that matters more than anything else in this post. Here’s where each mode puts its symbols:
Deviation levels for the four digital voice modes. Chart: drawn for this post from the published standards.
DMR’s levels are 1296 Hz apart, the widest of the three four-level modes. A receiver decides which symbol it’s seeing by comparing the deviation against three thresholds halfway between the levels: 0 and ±1296 Hz. So each level has 648 Hz of room either side before it’s mistaken for its neighbour. That room has to absorb noise, filter distortion, and any frequency error between the transmitter and the receiver.
The best way to see that is an eye diagram: overlay the received deviation for hundreds of symbols, and the gaps between the traces form “eyes”. The receiver samples in the middle of each eye. The wider open the eye, the more noise it can take.
A simulated DMR eye, on frequency (left) and with a 300 Hz frequency error (right), with a close-up of one symbol underneath each. Chart: drawn for this post.
A frequency error simply slides the whole eye up or down. At 300 Hz off, every level is 300 Hz closer to one of its thresholds: 648 Hz of margin becomes 348 Hz. Nothing looks wrong on a scope or a waterfall, but the receiver now makes mistakes at a much lower noise level. That’s the whole reason hotspots need calibrating, and why NXDN, with its 350 Hz margins, is even fussier.
⚙ Under the bonnet — a DMR modulator
flowchart LR
A["264-bit burst<br/>(MSB first)"] --> B["Pairs of bits<br/>→ ±1, ±3"] --> C["Root-raised-cosine<br/>filter, α = 0.2"] --> D["FM modulator<br/>±648 / ±1944 Hz"] --> E["Key up for 27.5 ms,<br/>then off"]
- 4800 symbols/s, root-raised-cosine filtered with roll-off α = 0.2, the same filter as C4FM and NXDN. The receiver uses a matching filter, so the pair together gives a raised-cosine response with no interference between symbols at the sampling point. That’s why the eye above closes to four tight points in the middle.
- ±648 / ±1944 Hz is exactly 1:3, and 1944 = 0.405 × 4800. In other words DMR is “C4FM with 8% more deviation”.
- A mobile radio’s transmitter has to ramp up and down every 60 ms. The 2.5 ms gap between bursts gives it time to do that without splattering.
Layer 2 — timeslots and bursts
Every 30 ms is one timeslot. Slot 1, slot 2, slot 1, slot 2, round and round. A radio on a call only transmits in its own slot: 27.5 ms on, 32.5 ms off. The repeater, though, transmits continuously, both slots back to back, with a short CACH (Common Announcement Channel) in the gaps.
Two calls sharing one repeater, and the inside of a burst. Diagram: drawn for this post.
Each burst is 264 bits (27.5 ms) with the same shape: 108 bits of payload, 48 bits in the middle, 108 bits of payload. The middle 48 bits are either a sync pattern (which says “a burst starts here, and it’s voice or data”) or embedded signalling.
A voice burst carries three 72-bit AMBE+2 frames = 216 bits = 60 ms of speech, squeezed into 27.5 ms. Six voice bursts form a superframe (A to F, 360 ms):
- Burst A has the voice sync pattern in the middle.
- Bursts B to E carry the embedded signalling instead: the colour code, plus one quarter of the call’s details (the Link Control) each.
- Burst F has embedded signalling too, but no LC: usually just null data, as it’s reserved for a reverse channel.
So a radio that tunes in mid-call has the caller and talkgroup within 360 ms: DMR’s late-entry time.
⚙ Under the bonnet — sync patterns and the CACH
There are four common 48-bit sync patterns, chosen so they’re easy to tell apart even with errors:
| Pattern (hex) | Meaning |
|---|---|
755FD7DF75F7 | Voice, from a repeater (base station) |
DFF57D75DF5D | Data, from a repeater |
7F7D5DD57DFD | Voice, from a mobile or handheld |
D5D7F77FD757 | Data, from a mobile or handheld |
Data and voice sync are bitwise inverses of each other, so one correlator can spot both.
The repeater’s 24-bit CACH sits in each 2.5 ms gap. Seven bits are the TACT (four bits of information protected by a Hamming (7,4) code): which slot comes next, and whether the inbound channel for that slot is busy. That busy flag is how a polite radio knows not to key up over someone. The other 17 bits carry fragments of a Short LC, which repeaters use to announce channel activity.
Layer 3 — who’s calling whom: colour codes, IDs and Link Control
Colour Code
Every burst carries a 4-bit Colour Code, 0 to 15. It’s DMR’s version of NXDN’s RAN or a CTCSS tone: a repeater ignores a signal with the wrong colour code, and so does a radio. Data bursts carry it in a 20-bit slot type field (colour code + data type, Golay-protected) either side of the sync; voice bursts carry it in the embedded signalling. Most amateur repeaters and hotspots use CC1.
IDs and talkgroups
Like NXDN, DMR doesn’t send your callsign by default. It sends numbers, but bigger ones: a 24-bit source ID and a 24-bit destination, so up to 16.7 million of each.
- Your DMR ID is the 7-digit number from radioid.net. UK IDs start 234 or 235, the UK’s mobile country codes.
- Hotspot IDs are often your ID plus two digits (e.g.
2351234+01) so the network can tell several hotspots apart. - The destination is either a talkgroup (a group call, which everyone on it hears) or another person’s ID (a private call).
- Talker Alias is an optional extra in the embedded signalling that carries your callsign as text, so radios can show it without a contact list. Not every radio sends or shows it.
- As on NXDN, to meet the licence requirement to identify, say your callsign.
Link Control
The details of a call (call type, destination, source and some service options) form a 72-bit Link Control message, the LC. It’s sent three ways:
- In a Voice LC header before the voice starts: a full data burst carrying nothing else.
- Embedded, a quarter at a time, in bursts B to E of every superframe.
- In a terminator burst at the end of the call.
⚙ Under the bonnet — protecting the LC
The Voice LC header and terminator are data bursts, and use the heaviest coding in DMR:
flowchart LR
A["LC<br/>72 bits"] --> B["+ Reed-Solomon (12,9)<br/>24 bits<br/>= 96"] --> C["BPTC (196,96)<br/>block product<br/>turbo code"] --> D["196 bits:<br/>98 + slot type +<br/>SYNC + slot type + 98"]
BPTC arranges the bits in a grid and protects every row and every column with a Hamming code, so a decoder can fix errors in one direction and then the other. The embedded LC uses a lighter version: 72 bits + a 5-bit checksum = 77, laid into a grid with Hamming (16,11) on the rows and parity on the columns to make 128 bits, then sent as four 32-bit pieces in bursts B to E. Each of those pieces sits between two halves of a 16-bit EMB field: colour code, a privacy flag and the “which piece is this” counter, protected by a quadratic residue (16,7) code.
Layer 4 — the voice: AMBE+2
DMR uses AMBE+2 at 2450 bit/s: 49 bits of speech every 20 ms, plus error correction, makes 72 bits per 20 ms frame. That’s exactly the frame NXDN and Fusion’s DN mode use (we went through it in the NXDN post): 12 bits protected by Golay (24,12), the next 12 by Golay (23,12) and whitened with a pseudo-random pattern chosen by the first 12, and the last 25 sent bare.
What is different is the timing. Three 72-bit frames (60 ms of speech) are packed into one burst, split 108 + 108 either side of the sync. The radio has to buffer 60 ms of audio before it can send, and the listener’s radio plays it back at normal speed while the next burst arrives. You hear that as a small extra delay, and as the “everything stops” effect when a burst is lost: 60 ms of speech goes at once.
Layer 5 — repeaters, hotspots and networks
Repeaters and hotspots
A DMR repeater is duplex and uses both slots: it’s two repeaters for the price of one. On UK repeaters the usual convention is that TS1 carries wide-area talkgroups (national and worldwide) and TS2 carries local and regional ones, but each repeater keeper decides.
A simplex hotspot can only receive or transmit at any moment, so it can’t do two slots at once. It pretends: it listens on one slot (by convention TS2), and you set your radio’s channel for the hotspot to TS2. A duplex hotspot has separate transmit and receive frequencies and behaves like a small repeater, with both slots.
Networks
- BrandMeister is the biggest. Talkgroups include 91 (Worldwide), 235 (UK), 2350 (UK calling) and the echo test as a private call to 9990.
- FreeSTAR, TGIF, FreeDMR, DV Scotland Phoenix (DVSPh), DMR+ and XLX reflectors are others. A hotspot running DMRGateway can talk to several at once, as in our WPSD post.
- Bridges link DMR to other modes: DMR2YSF, DMR2NXDN, and XLX modules shared with D-STAR and Fusion users.
flowchart LR
R["Your radio<br/>TG 2350, TS2, CC1"] --> H["Hotspot<br/>MMDVMHost"] --> G{"DMRGateway<br/>routes by TG"}
G --> B[("BrandMeister<br/>TG 2350")]
G --> T[("TGIF or<br/>FreeDMR")]
B --> O["Everyone else<br/>on 2350"]
⚙ Under the bonnet — the Homebrew protocol
MMDVM hotspots talk to BrandMeister, TGIF and FreeDMR with the Homebrew (MMDVM) protocol over UDP (BrandMeister masters listen on port 62031). The hotspot logs in with RPTL + its ID, receives a random salt, and replies with RPTK + SHA-256(salt + password), then sends its configuration with RPTC and keeps the link alive with RPTPING / MSTPONG.
Voice travels in DMRD packets: sequence number (1 byte), source ID (3), destination (3), repeater ID (4), a flags byte (slot, group or private, frame type, A–F position), stream ID (4), then 33 bytes = the whole 264-bit burst, with BER and RSSI bytes on the end: 55 bytes per burst.
Compare that with the NXDN post. NXDN reflectors send only the decoded voice bits; DMR networks, like Fusion’s, carry the raw burst, sync and coding included.
Calibrating an MMDVM hotspot
All of that comes back to the eye diagram. Most cheap MMDVM hotspots (the “MMDVM_HS” boards with an Analog Devices ADF7021 radio chip) take their frequency from a small crystal, and those crystals are often a few hundred hertz out at 430 MHz. Your radio is also slightly off. If the two errors add up to a few hundred hertz, the eye slides towards its thresholds and the hotspot starts making mistakes long before the signal is weak. The symptom is a high BER (bit error rate) on the dashboard, choppy audio, or a hotspot that simply doesn’t hear you.
The fix is to set RXOffset (and TXOffset) in the [Modem] section of MMDVM.ini, in hertz. The best way to find the value is to measure it with MMDVMCal, G4KLX’s calibration program.
Why you look for the middle of the window, not just the lowest reading. Chart: simulated for this post.
flowchart LR
A["Stop MMDVMHost"] --> B["Run MMDVMCal<br/>E: set frequency<br/>b: DMR BER test"] --> C["Key up your radio,<br/>read BER"] --> D["F / f: step 50 Hz,<br/>repeat both ways"] --> E["Find both edges,<br/>take the middle"] --> F["Set RXOffset,<br/>restart"]
Step by step
- Stop the hotspot software, because MMDVMCal needs the modem to itself. On Pi-Star or WPSD, that’s done from SSH. Pi-Star has a watchdog that restarts MMDVMHost, so stop that first:
sudo systemctl stop pistar-watchdog.timer pistar-watchdog.service, thensudo systemctl stop mmdvmhost.timer mmdvmhost.service. Rebooting afterwards brings everything back. - Start MMDVMCal with the modem’s port, for example
sudo MMDVMCal 115200 /dev/ttyAMA0for a Pi HAT board. - Press
Eand enter the hotspot frequency in hertz, e.g.438800000. - Press
b: BER Test Mode (FEC) for DMR Simplex (CC1). It decodes any DMR voice with colour code 1 and reports the error rate. - Set your radio to that frequency, CC1, and key up, talking or not, for a few seconds. MMDVMCal prints the BER.
- Press
Forfto move the frequency up or down by 50 Hz (the default step;Zchanges it) and key up again. Keep going in one direction until the BER rises past about 1%, then go back and do the same in the other direction. - You now have a lower edge and an upper edge. Take the middle. In the chart above that’s 50 and 450, so +250.
- The offset is that frequency minus the nominal one. Put it in
MMDVM.iniasRXOffset=250, setTXOffsetto the same value to start with (both come from the same crystal), save, and restart MMDVMHost.
Why the middle and not the lowest reading? Near the bottom of the curve the BER is so small that the readings are noisy: three good readings in a row at 200, 250 and 300 Hz don’t tell you which is best. The edges, where the BER climbs quickly, are sharp and repeatable. Their midpoint is a much more accurate estimate of the true centre.
Info
You’re calibrating the hotspot to your radio. If your radio is 200 Hz out, the “right” offset will include that error, and another radio may see a different BER. If you have access to a service monitor or a well-calibrated radio (or an SDR locked to a GPS reference), use that for the BER test, so the hotspot ends up on the real frequency.
⚙ Under the bonnet — deviation and the other MMDVMCal modes
T/traise and lower the deviation on a hotspot (on a full MMDVM board, the transmit audio level).Dsends MMDVMCal’s DMR deviation mode, a test signal you adjust to 2.75 kHz on a deviation meter. Too little deviation shrinks the gaps between the levels from the transmitter side, just as frequency error does from the receiver side; too much spreads the signal beyond 12.5 kHz. The setting ends up asDMRTXLevelinMMDVM.ini; most hotspots are happy at the default of 50.Mtransmits a standard 1031 Hz test pattern (CC1, ID 1, TG 9). A DMR radio on TG 9 plays it as a clean tone, which is a quick way to check the transmit side. Some radios and all service monitors can show the BER of that pattern too.Bis the receive BER test using that same 1031 Hz pattern, for when you have a signal generator that can send it.b, used above, works with ordinary speech.- The dashboard’s per-call BER is the same measurement made from real traffic. Under 1% is good; a consistently higher figure from a strong local signal means your offset needs another look.
Four modes side by side
| D-STAR | System Fusion | NXDN (NXDN48) | DMR | |
|---|---|---|---|---|
| Channel | 6.25 kHz, 1 call | 12.5 kHz, 1 call | 6.25 kHz, 1 call | 12.5 kHz, 2 calls (TDMA) |
| Modulation | GMSK, ±1200 Hz | 4-level FSK, ±600/±1800 Hz | 4-level FSK, ±350/±1050 Hz | 4-level FSK, ±648/±1944 Hz |
| Margin to threshold | 1200 Hz | 600 Hz | 350 Hz | 648 Hz |
| Frame | 20 ms after one header | 100 ms | 80 ms | 30 ms slots, 360 ms superframe |
| Access code | None | DG-ID 00–99 | RAN 0–63 | Colour Code 0–15 |
| Who you are | Callsign | Callsign | 16-bit ID | 24-bit ID (+ optional Talker Alias) |
| Routing | In your radio: UR, RPT1, RPT2 | In the network: node/room, DG-ID | In your radio: talkgroup | In your radio: talkgroup + timeslot |
| Internet | REF, DCS, XRF, XLX | WIRES-X, YSF, FCS, XLX | NXDN reflectors, URF | BrandMeister, FreeSTAR, TGIF, FreeDMR, DV Scotland Phoenix (DVSPh), XLX |
My opinion
DMR wins the award for the most technical of the four, and it’s easy to see why. Set against D-STAR, the simplest, it has fixed timeslots, layered signalling and heavy coding wherever it matters. It’s also the mode that won: it’s an open standard, so radios are cheap and plentiful; TDMA gives a repeater keeper two channels for one licence and one box; and the networks behind it are the biggest in amateur digital voice. The price is complexity. Timeslots, colour codes, talkgroups, contact lists and codeplugs are a lot to learn compared with an FM channel, and it’s the only one of the four where a one-off setting on the radio (the wrong slot) can stop you hearing anyone at all.
Info
If there’s one thing to take from this post, it’s the eye diagram. Every digital mode is only as good as the gap between its levels, and frequency error eats that gap silently. Ten minutes with MMDVMCal will do more for a hotspot’s performance than any amount of fiddling with talkgroups.
Summary
| Layer | What it does | Key numbers |
|---|---|---|
| Signal | 4-level FSK, RRC filtered | 4800 symbols/s = 9600 bit/s, ±648/±1944 Hz, 12.5 kHz channel |
| TDMA | Two timeslots share the channel | 30 ms slots; radio sends 27.5 ms bursts, repeater sends continuously with a CACH |
| Burst | Payload either side of sync or embedded signalling | 108 + 48 + 108 = 264 bits; superframe A–F = 360 ms |
| Addressing | Colour code, IDs, talkgroups | CC 0–15; 24-bit source and destination; LC in header, embedded and terminator |
| Voice | AMBE+2, same frames as NXDN | 49 → 72 bits per 20 ms, 3 per burst |
| Network | Talkgroup routing over Homebrew | BrandMeister TG 91, 235, 2350; echo 9990; 55 bytes per burst |
| Calibration | Keep the eye centred | MMDVMCal b, step 50 Hz, find both 1% edges, set RXOffset to the middle |
73 de MW0AXD
Links and further reading
- Our previous posts: Introduction to DMR, DMR, WPSD & DMRGateway, How D-STAR Actually Works, How C4FM, System Fusion and WIRES-X Actually Work and How NXDN Actually Works.
- The DMR standard, ETSI TS 102 361 parts 1 to 4, free to download from etsi.org.
- MMDVMCal, MMDVMHost and DMRGateway by Jonathan Naylor G4KLX: github.com/g4klx.
- DMR IDs: radioid.net.
- BrandMeister, with talkgroup lists and the Homebrew protocol documentation: brandmeister.network.
- FreeSTAR, a UK-founded multi-mode network (DMR, D-STAR, YSF and AllStar) with its own DMR+ and System X servers: freestar.network.
- DV Scotland Phoenix (DVSPh), the Phoenix network hosted by DV Scotland, used by many UK repeaters: dvsph.net.
Image credits
- DMR header: as used in our Introduction to DMR.
- Deviation levels, the DMR eye, DMR timeslots and calibrating an MMDVM hotspot: drawn for this post. The eye diagrams and calibration curve are simulations, not measurements.


