I am trying to generate an interrupt every 100ms and it does not seem to be working. I have attached me code below. What am I doing wrong?1854.TM4C1294_Timer.zip
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.
I am trying to generate an interrupt every 100ms and it does not seem to be working. I have attached me code below. What am I doing wrong?1854.TM4C1294_Timer.zip
Hello Luis,
Thank you for your help. I applied your suggestion but I am still not getting the interrupt to trigger. I have attached my updated code below. Did I implement your suggestion correctly?
Hi Andrew,
I only noticed now, you forgot SysCtlPeripheralEnable(SYSCTL_PERIPH_TIMER0);
Most always - failing to first, "SysCtlPeripheralEnable()" - and then placing a call to that peripheral - causes a hard fault.
Poster reported only, " does not seem to be working." While that's surely true - description that empty/vague is essentially meaningless. Of course poster's are frustrated - yet imprecise communication does not best serve their interest...
Report of entry into Fault ISR - immediately upon execution of that Timer call - would have eased/speeded Luis's diagnosis.