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.

TM4C1297NCZAD: Can T3CCP1 be used with edge detection to latch the current timer count and measure frequency?

Part Number: TM4C1297NCZAD

I am jumping into a project that has already been going for a while--other engineers have been working on it, but now I'm trying to help resolve some issues.  I worked on a previous version of the same product (using a different microcontroller).  In the older version I worked on, we used a counter chip to give us an edge after a certain number of pulses.  When that edge was detected, the timer count would be latched automatically and I would come back later and read it, subtract the previous number from the new number and calculate frequency.

We are going for a board rev right now, and I want to make sure we have selected the right pin.  We are running the output from the counter chip to R7.  Should that work?

Thanks very much.

  • Hi Mark,
    Welcome to the forum. Yes, BGA ball R7, which is port pin PA7, has the alternate function of T3CCP1 (Timer 3 capture/compare/PWM 1). This pin can be used to capture the timer value of timer 3 B.
  • Thank you very much.  It is much appreciated!!!!

    I expect I might be on this forum more if I keep working on this project.  :)

  • I didn't mean to mark my "thank you" as having resolved the issue!
  • Mark Sheats said:
    I didn't mean to mark my "thank you" as having resolved the issue!

    In the past - this/other forums featured a,  "LIKE"  button - which blended,  "Appreciation while acknowledging a well-formed posting."

    Minds "w/out equal" -  exiled "LIKE" - leading to your "Accidental Verify."      Vendor's response clearly deserved the (departed AND sorely missed) "LIKE."

  • Ha ha. I think LIKE buttons are nice--not sure why anyone would want to get rid of them... :)

    Oh well... if all the world would just listen to us... then our problems would be solved... or maybe we would just have a different set of problems???
  • Speaking of a, "Different set of problems" - a client of ours employed a BGA device - and discovered a better use for a certain pin. And - they were stuck - the pin had not been "exposed" thus was (forever) inaccessible.

    We don't know the "pin-load" placed upon your MCU - yet if you have another "Timer pin free" - I believe you'd gain by routing to "R7" - but also continuing that route to a 2nd Timer pin - as well. (such provides, "Two bites from the apple" - just in case.

    A wise strategy is to "bring-out" many of the most "inaccessible pins" - so that they (potentially) may serve you...