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

Diodes PI7C9X762 Crystal Clock: Why Is a GPIO Interrupt Missing Despite Its Enable Bit?

On the PI7C9X762, enabling an interrupt in IOIntEna is not sufficient. If IOControl assigns the pin group to UART modem signals, GPIO interrupt enables have no effect on that group. That is neither evidence of a missing crystal clock nor a reason to write the enable bit again. First establish which function currently owns the pins.

Why does one setting change four pins?

The manufacturer divides the eight multiplexed pins into two groups. IOControl bit 1 selects the function of GPIO[7:4], associated with UART A; bit 2 controls GPIO[3:0], associated with UART B. Each selector changes a group, not one pin at a time. In modem mode, for example, the UART A group becomes RIA#, CDA#, DTRA#, and DSRA#. Using just one modem signal does not leave the other three in that group available as GPIO interrupt sources under the same setting. If the product needs a UART A modem signal and a GPIO interrupt from that same group, reassign the interrupt input before routing or provide an external input channel. Writing another enable bit does not resolve the conflict.

Separate pin ownership from pulse capture

Read back the group selectors first, then check direction and IOIntEna for the intended input. On a pin that is actually in GPIO mode, apply a level change that lasts until the host reads it. Align the pin waveform, IRQ, and reported interrupt source. The sustained change prevents a pulse that ends before the read from confusing the first test. If the held change works but short pulses do not, verify input latching separately through IOControl bit 0. Latching changes how a GPIO event can be retained when the input returns before the read; it does not reclaim a pin assigned to modem mode.

Document each group's function, direction, and interrupt path together in the initialization and reset-recovery sequence. If an input stops reporting after a driver change, compare the actual group selections first instead of changing the crystal, baud rate, and GPIO configuration simultaneously.

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

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.