Debug captured RS-485 logic-analyzer and serial hex dumps
When bringing up a new RS-485 bus, a single flipped bit, missing 120 Ω termination resistor or swapped CRC byte order causes silent slave drops. Paste raw space-separated or `0x`-prefixed hex bytes directly in Validate mode to verify the trailing 2-byte CRC immediately.
If the checksum fails, the calculator displays both the received CRC and the exact expected CRC in wire order so you can distinguish a byte-swap bug from physical line noise.
Formulas
Received CRC = (Frame[N−1] << 8) | Frame[N−2]Valid iff Received CRC == CRC-16/MODBUS(Frame[0 .. N−3])9600 bps framing: t1.5 = 1,719 µs, t3.5 = 4,010 µs
Worked example
Validating `01 03 00 00 00 0A C5 CD` confirms Slave ID 1, FC03, computed CRC 0xCDC5 matching received 0xCDC5 (Valid). Changing the final byte to CC immediately flags CRC Invalid.