cancel
Showing results for 
Search instead for 
Did you mean: 

MCU with in-built GPIO input qualification

ak52
Associate III

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):

ak52_0-1753689522481.png

ak52_1-1753689568215.png

  • 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:

  1. Do any STM32 series (F0/F1/F4/G4/H7, etc.) provide similar hardware input qualification or multi-sample filtering at the GPIO input level?
  2. If not at the GPIO level, do any EXTI lines or timer input capture channels offer configurable digital filtering that could replicate this functionality?
  3. 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!

 

 

 

1 REPLY 1
waclawek.jan
Super User

The answer to your original question is, probably not, certainly not in any STM32 before 'U5/'H5.

> EXTI digital filters (in G4/H7)

No such thing. Let me guess: you've consulted AI?

JW