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.

TM4C1294NCPDT: Timer Configuration

Part Number: TM4C1294NCPDT

Hi everyone!

I 'am using a tiva Launchapd with TM4C1294NCPDT microcontroller and I have this problem, I'm trying to calculate PID values with fixed time using timers or systicks interruptions,  when the interruption occur a condition is verified and if it's true calculate and save the values in global variables returning to the main program, but  when i start my program it works for few times and stop, i check the configuration of the timers and they are ok and the other part of the program works well without the timers, i dont know why this happen, Can anyone sugest me a way to fix it? Thanks a lot.

  • Jackson Chinelli1 said:
    my program - works for few times and stops

    Would it not prove 'helpful' to your, 'Remote Diagnostic Crüe' - if you could identify, 'Where the program stops - and if that (same) stop location is repeated?'    

    Such provides a 'huge clue' - does it not?

    As a proponent of 'KISS' - it 'so often' helps to, 'Reduce & Simplify your program!'     By carefully isolating - and then measuring & testing each program section individually - you dramatically raise the odds of 'Total, Combined Program Success!'

    Tag: 'KISS' once more - to poster's rescue...

  • Hi,

      Can you post your code? When it stops working, does the timer still generate interrupt?

  • Hi Jackson, 

        I have not heard back from you. I assume you figure out how to resolve the issue.  I will close this thread for now. If the issue is not resolved, you can update this post to reopen the thread.