Greetings,
I have been trying to use the DSP timer to capture an event´s period.
I use it in capture mode and use a GPIO interrupt rutine to stop the timer and read back the
values which are most of the time random ( I could use the timer dedicated input but it conflicts
with the ethernet controller), I´m not sure if the erratic behavior has to do with the time it takes
the processor to manage the interrupt? (my best guess), anyone has a suggestion ?
I could also use the ecap module for this but I´m already using it to generate a variable periodic signal
that is a multiple of the measured frequency.
Regards
Haroldo Calvo