Check whether you cleared the counters or refreshed their readout snapshot. On the SN74LV8154, CCLR asynchronously clears both live counters. The shared Y0–Y7 bus, however, presents bytes from a separate storage register. A rising RCLK captures both counters and the stored values remain unchanged until the next rising RCLK. Even a reliable stream of test pulses derived from a TaiTien OY oscillator does not make a valid CCLR pulse refresh the captured value.
Separate three operations: clear the live count, capture a snapshot, and read the snapshot. To prove a clean zero, stop the test pulses, apply CCLR and take a new snapshot within the specified timing before reading all relevant bytes. To read the previous measurement window, capture before clearing and finish reading the snapshot before allowing another RCLK edge. Otherwise a multibyte result can combine data from different captures. Also check the specified relationship between the input clock and RCLK at a window boundary before interpreting an edge-count discrepancy.
On the bench, first capture zero with the clock input inactive. Apply a known nonzero number of pulses and take a new snapshot. Stop the pulses and assert only CCLR, keeping RCLK inactive: the previous snapshot should remain readable. Then apply one compliant RCLK edge, and verify that the value becomes zero. Capture CCLR, input clocks, RCLK and the byte strobes together. Ensure only the intended active-low byte selector drives the data bus and log all bytes against the same capture.
Make clear and capture separate firmware operations so the data can be associated with the correct counting window. Qualify the exact OY supply, waveform and frequency for the receiver. Investigate missing or extra input clock edges only after you establish that a fresh snapshot was actually read.
Related selection guide: MERLIN Crystal Timing: Clock oscillators
Resource link: https://www.mecxtal.com.cn/en/products/oscillators.html
