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

Why Enabling AFE on a Diodes PI7C9X7952 Does Not Always Enable Auto-RTS

Setting AFE on the Diodes PI7C9X7952 does not automatically enable both UART flow-control directions. The configuration table for the Modem Control Register, at offset 04h, combines bit 5, AFE, with bit 1, RTS. AFE set and RTS clear enables automatic CTS only. Set both bits to enable auto-RTS and auto-CTS. A healthy crystal, correct baud rate and a transmitter that responds to CTS are still not proof that the receiver can signal automatic flow control over RTS.

Identify Which Direction Is Missing

Auto-CTS concerns whether the local transmitter responds to a flow-control input from the far end. Auto-RTS concerns the outgoing indication from the local receiver to its peer. A bench test that toggles the remote signal wired to local CTS and sees local transmission pause checks the first path. If the product needs protection in the other direction as well, separately verify the indication at local RTS and whether the peer acts on it as intended.

The manufacturer lists three combinations: AFE = 1 and RTS = 1 enable both; AFE = 1 and RTS = 0 enable auto-CTS only; and AFE = 0 disables both automatic functions regardless of the RTS bit. This is a mode table, not a voltage table. The manual separately describes manual pin control. A board-level transceiver can also invert or otherwise translate a signal. Log the register setting, IC pin and external receiving point separately rather than assuming they share the same polarity.

Use Two Bench Cases to Separate Configuration From Wiring

On an authorized development board, record the UART instance, MCR readback, baud setup, wiring and transceiver type. In one case vary the remote signal reaching local CTS under valid electrical conditions and check how transmission responds. In a second, use controlled traffic to observe RTS and the far end's response, while checking the actual receive path. One software indication that hardware flow control is enabled does not substitute for those two observations.

If both bits are set but the remote device still ignores RTS, verify the instance, pin direction, level translator and wiring before attributing the failure to crystal-frequency error. If the design deliberately uses CTS only, document the asymmetric setup and judge it accordingly. Do not sign off one direction based on a test of the other.

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.