What is the difference between debounce filter and glitch filter on a mcu?
I'm trying to implement a hardware debounce filtering on a ATSAM4S4C
(ATMEL SAM CORTEX-M4 - PAGE 575. http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-11100-32-bit%20Cortex-M4-Microcontroller-SAM4S_Datasheet.pdf).
But even though I selected slow clock and a cut-off frequency at 10 Hz I see false interrupts to be triggered at frequency higher than 10 Hz.
Also I notice that glitch filtering does not help me at all because it is clocked with the peripheral clock which is higher than slow clock.
Am I doing something wrong?