Are there any issues in using peripherals (such as eCAP, eQEP) solely for the purpose of provding additional timers or elapsed time counts?
We have a design in which it looks like all available CPU timers are already being used, and we would like to do additional timing without constraining the exising timers. So we are wondering about using e.g. eQEP as a means of counitng clock cycles and maybe interruting at certain points.
Is this likely to affect performance or interfere with other functions? There would be no I/O, and any pins that might be used by eCAP or eQEP will have been allocated to other functions.
Thanks.
Giles,
I don't see any issue with this scheme as long as you use a peripheral where you can configure the interrupts as needed based on timer overflow. Keep interrupt priorities in mind as to when each of these interrupts will be serviced relative to other things going on in the system.
Kris