MCU with in-built GPIO input qualification
Hi all,
I'm trying to find out if any STM32 MCUs support hardware input qualification on GPIOs, similar to what's available on TI C2000 MCUs.
On the C2000 series, GPIOs can be configured for input qualification using a sampling window—typically 3 or 6 samples spaced apart based on the system clock. Here's a reference from the C2000 TRM for clarity (see attached images):


- Sampling is done every 2 × QUALPRD × T_SYSCLKOUT
- The input must be stable for multiple consecutive samples before it's considered valid
- This helps filter out glitches or noise on input lines without software debounce
I'd like to know:
- Do any STM32 series (F0/F1/F4/G4/H7, etc.) provide similar hardware input qualification or multi-sample filtering at the GPIO input level?
- If not at the GPIO level, do any EXTI lines or timer input capture channels offer configurable digital filtering that could replicate this functionality?
- Are there STM32 families with 'majority-vote' digital filters like what some comparators or HRTIM inputs provide?
I’m aware of workarounds like:
- EXTI digital filters (in G4/H7)
- Timer TIx input filtering
- Comparator input filters with sample settings
But I’m specifically looking for a general-purpose GPIO-based solution similar to C2000’s QUALPRD + QSEL approach, ideally something that works regardless of peripheral routing.
Any pointers or documentation references would be much appreciated.
Thanks in advance!
