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.
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.