Try to use timer 6 or 7 today as periodic timer and it faults MCU. Table 13.1 show external TM6, TM7 having CCP0/1 pins where table 13.2 has not.
So it seems there are not 8 GPTM timers after all?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Try to use timer 6 or 7 today as periodic timer and it faults MCU. Table 13.1 show external TM6, TM7 having CCP0/1 pins where table 13.2 has not.
So it seems there are not 8 GPTM timers after all?
BP101 said:there are 8 useable timers but only 5 actually have CCPx pins.
And while, "More the merrier" that's not (usually) a fatal shortcoming.
In the olde dayze - when dinosaurs & 8 bit MCUs roamed - we used Timers based upon, "Non Timer pin triggers." (i.e. some other GPIO pin)
Indeed you lose some of the "auto-features" which the "more complete" Timers provide - yet you're clever/motivated enough to overcome.
At some point you must accept - that which is...is!
Amit Ashara said:There are 8 times but only "6" with IO capability
Our bp claimed "5" - oh well.
May we note that there are, "Only 6 w/"direct" IO capability?"
Past (or present) any MCU pin toggle may trigger an interrupt - and that interrupt's "service" may enable one (or more) Timers.
Surely not as "neat/clean" as the more complete Timer (w/IO) but as we sailor's (sometimes) say - "Any port (GPIO) in a storm (Timer shortage)."
Hi Amit,
Yea forgot there was TM0 in there - debug was showing 6 ending on TM5 and the GEL file was maybe out of date?
I manually added the TM6/7 into the GEL for now.
/* tm4c1294ncpdt.gel * * Revisions: * Jul-01-2009 1st revision * * This is derived from revision 10691 of the TivaWare Library. * */