Manchester, Miller, 8b/10b and RF Remote Codes
A line code decides how bits become voltage changes on a wire, a radio carrier or an infrared beam. Codes such as Manchester and Miller put a transition in every bit or every few bits, so the receiver can recover the clock from the data and no separate clock wire is needed. The same codes sit under many of the protocols in our other guides, and under the cheap radio remotes and time-signal receivers covered here. A logic analyser decodes them from the demodulated output of a receiver.
Manchester and Differential Manchester
Manchester code (biphase-L) has a transition in the middle of every bit. In the convention used by IEEE 802.3 Ethernet a 1 is a low-to-high transition and a 0 is high-to-low; the original G. E. Thomas convention is the opposite, so a decoder must be told which one the system uses. The signal has no DC content and the receiver locks to the mid-bit edges. 10BASE-T Ethernet, MIL-STD-1553, DALI, RFID tags and many RF and infrared remotes use Manchester.
Differential Manchester also has a transition in every bit centre, but the value is carried by whether there is a transition at the start of the bit: a transition for a 0 and none for a 1 in the usual convention. Because only the presence of a transition matters, swapping the two wires of a differential pair does not change the data. Token Ring (IEEE 802.5) used it, and the biphase mark code used for AES3 and S/PDIF digital audio is a form of it.
Miller and Modified Miller
Miller code (delay modulation) has a transition in the middle of a 1 bit, no transition in a 0 bit, and an extra transition between two consecutive 0s. It has at most one transition per bit, against up to two for Manchester, so it needs less bandwidth for the same bit rate. Modified Miller replaces each transition with a short pause in the carrier; ISO/IEC 14443 Type A contactless cards use it for reader-to-card data at 106 kbit/s. See our smart card guide for the contact interface.
8b/10b
8b/10b encoding maps each data byte to a 10-bit symbol chosen so that the line has an equal number of 1s and 0s over time and enough transitions for clock recovery. Extra control symbols such as K28.5 (the comma) let the receiver find symbol boundaries. PCI Express 1.x and 2.x, SATA, USB 3.0 at 5 Gbit/s, DisplayPort 1.x and Fibre Channel up to 8GFC use it. Acute lists an 8b/10b decoder on request, for links slow enough to sample, such as a deserialised parallel bus.
MIPI DigRF
DigRF is the MIPI Alliance interface between a phone's baseband processor and its RF transceiver, carrying sampled I/Q data and control over high-speed serial lanes. ZeroPlus lists a DigRF decoder; the line rate a logic analyser can follow depends on the DigRF version, so ask us before buying for it.
PT2262 and PT2272 Fixed-Code Remotes
The Princeton PT2262 encoder and PT2272 decoder, and their many clones, are inside cheap 315 MHz and 433 MHz remotes for gates, sockets, alarms and doorbells. The encoder sends a code word of 12 bits followed by a sync bit. Address bits can be 0, 1 or F (floating), set by pins or solder pads, and up to six of the pins can be used as data bits, which can only be 0 or 1. Each bit is a pattern of short and long pulses, the pulse width set by the oscillator resistor, and the word repeats while the button is held. Decode the data output of the radio receiver module, not the antenna. Because the code never changes, anyone who records it can replay it.
KeeLoq Rolling Codes
KeeLoq, from Microchip, is the code-hopping scheme in HCS-series encoders used in car keys, garage doors and gate remotes. Each button press sends a transmission that includes a 32-bit encrypted hopping code, which changes every time, and an unencrypted serial number and button status. The receiver decrypts the hopping code with a shared key and accepts it only if the counter has moved forward within a set window. A decoder shows the fixed and encrypted fields and the pulse timing; it cannot decrypt the hopping code without the key.
WWV and WWVB Time Signals
NIST broadcasts time from WWVB on 60 kHz and from WWV and WWVH on shortwave. WWVB sends one bit per second, as a one-minute frame of BCD minutes, hours, day of year, year and daylight saving flags. The carrier is reduced in power at the start of each second for 0.2 s to send a 0, 0.5 s for a 1 and 0.8 s for a position marker. Radio-controlled clocks in North America read it. Decode the digital output of a 60 kHz receiver module.
How They Compare
| Code | Clock Recovery | Typical Use |
|---|---|---|
| Manchester | Transition in every bit | 10BASE-T, MIL-STD-1553, DALI, RFID, RF remotes |
| Differential Manchester | Transition in every bit, polarity independent | Token Ring, AES3 and S/PDIF digital audio |
| Miller / modified Miller | Transitions in 1 bits and between 0s | ISO 14443 Type A reader to card |
| 8b/10b | Guaranteed transitions, comma symbols | PCIe 1.x and 2.x, SATA, USB 3.0 |
| PT2262 | Pulse widths, repeated words | Fixed-code 315 and 433 MHz remotes |
| KeeLoq | Pulse widths, preamble | Rolling-code car and gate remotes |
| WWVB | One pulse per second | Radio-controlled clocks |
Common Faults and How to Find Them
| Symptom | Likely Cause | What to Check |
|---|---|---|
| Manchester decode gives inverted data | Decoder set to the other polarity convention | Switch between IEEE 802.3 and G. E. Thomas conventions |
| Decoder loses lock mid-frame | Bit rate set wrong, or receiver output has glitches | Measure the shortest pulse and set the bit rate from it |
| RF remote works only close up | Signal too weak at the receiver, so noise pulses break up or add to the code words | Capture the receiver output with no button pressed to see the noise |
| WWVB clock never sets | Interference near 60 kHz, or receiver orientation | Watch for clean one-second pulses for a full minute |
Tools for Decoding Line Codes and Remotes
Watch tools decode line codes from a digital signal. For radio and infrared, connect to the receiver module's data output.
| Product | Role | Capability | Price ex VAT |
|---|---|---|---|
| Acute TravelLogic 34-Channel | Watch | Acute line decoding and encoding for Manchester and related codes, and 8b/10b on request | £1,260 |
| ZeroPlus LAP-C Pro Series | Watch | ZeroPlus decoders for Manchester, differential Manchester, Miller, modified Miller, DigRF, PT2262/PT2272, KeeLoq and WWV/WWVB | £925 |
Reverse-engineering a remote or an unknown link? Send us a capture and we will suggest a decoder.
Frequently Asked Questions
Which Manchester Convention Does My System Use?
IEEE 802.3 sends a 1 as low-to-high. The G. E. Thomas convention, published in 1949 and followed by many authors, sends a 1 as high-to-low. If the decoded data looks inverted, try the other convention.
Can a Logic Analyser Decode a 433 MHz Remote Directly?
No. It needs the demodulated data from a 433 MHz receiver module. Connect the module's data pin to the analyser and decode that.
Can a Logic Analyser Break KeeLoq?
No. The decoder shows the fields and the encrypted hopping code but cannot decrypt it without the manufacturer key.
Why Use Manchester Rather Than a UART?
A UART needs both ends to agree the baud rate and has long runs without transitions. Manchester carries the clock in the data and has no DC content, so it works through transformers, radio and infrared links.
Can I Decode 8b/10b From a SATA or PCIe Link?
Not at full line rate with a logic analyser. Use a protocol analyser for the link, or decode the parallel side of a SERDES at a lower rate.
More Protocols
By John Legg CEng, Director, Debug Store. Updated 24 November 2026.