An industrial display's asynchronous serial link works and some letters look right, but others are consistently garbled. Both ends can use 9,600 baud with different frame formats. If the transmitter uses seven data bits plus even parity and the receiver reads the parity slot as data bit eight, some characters decode correctly by chance while others fail systematically. Identify the pattern before changing the clock.
This low-voltage bench example uses synthetic character waveforms and offline records. It does not connect to an industrial control network or provide procedures for accessing, configuring, writing to, or controlling field equipment. It concerns display acceptance.
The same ten bit periods can carry different information
An asynchronous character normally follows idle with a start bit, the specified data bits, optional parity, and a stop bit. Start and stop orient the receiver. Seven data bits, even parity, and one stop bit are 7E1. Eight data bits, no parity, and one stop bit are 8N1. Each can occupy ten positions, including one start, eight intermediate slots, and one stop. The last intermediate slot is parity in 7E1 and data in 8N1.
Correct character duration and normal gaps do not establish matching formats. Even with accurate clocks and clean signals, a receiver can interpret a parity bit as data. The resulting byte may be invalid in the host character encoding and cause a replacement symbol or blank. The glyph alone does not reveal the actual received byte. Some programs mask the high bit and conceal the problem. Locate the first changed representation.
Even parity makes the number of ones across the seven data bits and parity bit even. It can be checked using XOR, and does not replace a checksum or message-integrity check. Whether the receiver detects an error depends on its framing configuration. A receiver configured without parity may issue no parity error.
Offline example: why only certain characters change
Hexadecimal 41 has two ones in its seven data bits, so even parity is zero. Read as 8N1, the extra high bit is zero and the result stays 41. Hexadecimal 43 has three ones, so its even parity is one. If read as the eighth data bit, it adds hexadecimal 80 and produces C3. A can look correct while C changes. Whether C3 displays and how it looks depend on the host encoding. Retain the raw value.
At an ideal 9,600 bits per second, one bit lasts about 104.17 μs and ten bits about 1.042 ms, excluding inter-character idle. Both formats take the same time under these assumptions. This demonstrates that correct bit timing can coexist with wrong characters. It does not establish any device's tolerance. Actual transmit and receive error, bit-center sampling, line conditions, and receiver design matter. If bit widths are actually abnormal, verify them separately.
Use characters with both zero and one parity values and neighboring normal characters. Repeated spaces or a string that happens to pass can conceal the difference. If the same characters repeatedly change only the same bit, investigate framing. If errors are unrelated to content and involve bad stop bits or unstable levels, investigate hardware and timing separately.
| Observation | Keep | What it establishes |
|---|---|---|
| Transmit framing | Synthetic bytes, data length, parity, stop bit | Identifies the transmitted fields |
| Waveform and sampling | Bit duration, approved observation points, start and stop positions | Detects obvious bit-width problems under known framing |
| Receive record | Raw bytes, configured receive framing, error flags | Distinguishes a fixed high-bit change, error reports, and occasional loss of framing |
| Display text | Samples before and after rendering, software version | Locates changes before or during display conversion |
Qualify the clock and serial format separately
A controller may derive serial timing from an active 16 MHz reference using its internal configuration. The receiver observes bit intervals and does not infer the purpose of a slot from the waveform. Even if the 16 MHz measurement passes, verify actual board bit widths. If signal and bit timing meet the agreed limits, changing the oscillator will not reinterpret the high bit as parity. Include character framing in the handoff independently of rate and connector.
For a compatible active-reference design, Epson's SG-210STF X1G0041710403xx from Japan is a listed 16 MHz CMOS configuration. Confirm the complete suffix and controlled conditions before ordering. This example does not identify the original display part. Purchasing should check supply, logic, package, load, tolerance, temperature, and startup. Application acceptance uses the same board ID and known records to check timing, interpretation, and rendered text. An active oscillator is not a drop-in part for a passive crystal circuit.
Keep transmitter, receiver, and capture-tool decoder settings separate. A tool can decode incorrectly even when the endpoints agree. Correcting the tool's display does not prove the host uses that configuration. Preserve bench bytes and both endpoint settings, and state whether testing covers seven-bit data only or requires high-bit values. Passing an English text sample does not qualify all production content.
Frequently asked questions
Do correctly displayed digits prove the settings match? Some bytes have zero parity and are unchanged by the mismatch. Include characters with both parity values in the test.
Do no parity errors rule out a parity mismatch? A receiver without parity checking can use the parity slot as data without reporting an error. Compare raw bytes, framing, and reports together.
Retain a diagnostic export without character rendering. Show only byte values, order, and original sample IDs. If the display changes but the byte export does not, focus on rendering. If the raw high bit changes, examine receiver interpretation even if the interface happens to show the expected glyph.
