Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

Why a Diodes PI7C9X7952 Can Report an RI Edge After RI Returns Low

A recorded transition and the current state are different observations. On the Diodes PI7C9X7952 UART, the Modem Status Register at offset 06h includes the current RI input in bit 6. Bit 2 records the specified logic 0-to-1 transition and clears on read. After a short low–high–low pulse, a first host read can therefore show bit 6 as zero and bit 2 as one. The reference crystal can be functioning normally while both observations are true.

Match the Edge to the Logic at the Device

The manual calls bit 2 Trailing RI Edge but defines it as an RI input change from logic zero to logic one. Do not use a falling-edge scope trigger merely because of the field name. A level translator or inverting interface can also make the connector waveform differ from the logic at the UART. Record probe location and polarity before comparing a capture to the specified transition.

An input that is high now is not the same as an input that previously went high. When the first read returns bit 2 set, it records that qualifying direction; bit 6 instead describes the state at readout. A current low does not invalidate earlier evidence. Conversely, if the input remains high with bit 2 clear, the current read does not prove there was no earlier transition. Another task may have already read and cleared the record.

Give One Reader Ownership of the First Status Byte

Have a defined driver path capture and retain the original register byte once, then distribute the current state and edge indication separately. A status dashboard and a service routine should not independently read the register and treat their two answers as an argument about the physical input. A subsequent read cannot reconstruct the earlier event. A read intended only to display bit 6 still needs to respect event ownership.

For a controlled comparison, arrange one test that changes the device logic only from high to low and another that changes it from low to high and back to low. Clear old status at the beginning of each run, exclude background readers and collect the first complete status byte and pin waveform. Do not infer a guaranteed minimum detectable pulse width from whatever delay worked in the test. Record the UART instance, probe polarity, first read and the owner that consumed the indication, so a later review can distinguish “no qualifying edge” from “edge already observed.”

Related selection guide: MERLIN Crystal Timing: Why keep a 2 kΩ pull-up on XTLO when a Diodes PI7C9X7952 uses an external oscillator?

Resource link: https://www.mecxtal.com.cn/en/handbook/dio-053.html

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.