CCS: Version: 6.1.2.00015
Tiva Eval Board: EK_TM4C1294XL
TivaWare_C_Series-2.1.2.111
xdctools_3_31_01_33_core
Hello,
I have a Timer (timer 0) configured to interrupt once every 256 microseconds (I realize this is fast).
It occasionally misses an interrupt (approx 7 per minute).
How do I know?
The ISR adds 256 to a variable.
Over time if I compare this value to what is returned by Timestamp_get64 (divided by 120), they diverge.
The ISR is very short.
My code is not disabling hardware interrupts.
I am using configuration to create the Timer instnace.
Elsewhere in the program, a UART is being used, tasks are running and Clocks (as opposed to Timers) are
being used to time things for the tasks. I am using TIRTOS drivers for all of these.
Note: Dramatically increasing the serial load does not seem to increase the dropout frequency.
This timer performs the most important function in the system, sampling data that must be gathered
at that frequency.
Does something in the TIRTOS kernel disable interrupts for that long?
What can I do to make certain these are not being missed?
Thanks,
Greg Winters