Tool/software:
Hi TI team,
I'm using the TMS320F28388D and trying to filter short pulses using the GPIO input qualification feature. Here's my setup:
- GPIO configured with input qualification mode
01
(3 samples). - Qualification period set to
255
, expecting a sampling window of ~10.2 µs. - Configuration is done by CPU1, as required.
- GPIO ownership is then transferred to CPU2, which reads the input using the
GPxDAT
register.
Despite this setup, a 3 µs pulse is still being detected by CPU2. I confirmed that the qualification settings are correctly applied and expected this pulse to be filtered out.
Worth noting: the same input qualification configuration is already used successfully in other parts of the application managed by CPU1, and it behaves as expected there. The issue only appears when reading the input from CPU2.
My understanding is that GPxDAT
reflects the qualified input state, so short glitches should be rejected. Is there any reason why CPU2 might be seeing unqualified input values? Could this be due to timing alignment with the sampling instants, or is there a limitation in how qualification interacts with CPU2 reads?
Any insights or clarifications would be greatly appreciated!
Thanks,
Javier Fernandez Cepeda