With the PI7C9X762 in normal 9-bit multidrop mode, a parity error on an address is not, by itself, evidence of crystal frequency error. The ninth bit distinguishes byte types: one marks an address; zero marks ordinary data. The receiver is configured to expect a zero, so the marked address deliberately produces a parity indication and is placed in the receive FIFO. Identify that byte before treating the indication as a timing fault.
Which byte can arrive while the receiver is disabled?
For this documented mode, set EFCR bit 0 for 9-bit operation with EFR bit 5 clear and LCR[5:3] set to binary 111. Starting with reception disabled, the UART ignores ordinary data bytes, but a byte with the address marker still goes into the FIFO. Line-status interrupt reporting additionally requires IER bit 2. Software must read the address and compare it with the local address before enabling payload reception. A nonmatching address leaves reception disabled; after a complete selected message, software closes the receive window again. A generic driver that discards every byte with a parity flag can therefore discard the very address needed to open that window.
What changes when the hardware matches the address?
With EFR bit 5 set and XOFF2 programmed with the local address, the datasheet describes a separate automatic address detection path. A matching address can enable the receiver automatically and enters the FIFO with the address marker represented in the parity-error position. A nonmatching address instead follows the hardware filtering path. Do not give both modes the same unconditional discard rule, and do not diagnose crystal error from that status bit alone.
How to separate the protocol marker from a timing fault
Start with payload reception disabled. Use a known-good transmitter to send an unmatched address and payload, then a local address and payload. Align three observations in the capture: the ninth bit on the wire, the FIFO reads, and the point at which software enables reception. Normal mode uses both addresses for the software decision, but the first payload should be filtered and the second should enter only after the receive window opens. If payload bytes with a confirmed zero marker also show parity errors, check frame format, configured baud rate, sampling, and signal quality separately. Changing the crystal cannot restore an address discarded by the driver. Conversely, expected address interrupts alone do not validate sampling of all payload bytes.
Related Articles
Related selection guide: MERLIN Crystal Timing: Programming SC16IS752 Divisors for 115200 Baud from a 22.1184 MHz Crystal with Prescaling
Resource link: https://www.mecxtal.com.cn/en/handbook/sc16is752-crystal-predivider-baud.html
