Hello Guys,
I am using the TM4C1294NCPDT part of the launchpad (EK-TM4C1294XL).
I am trying to run a timer at 1 microsecond interrupts. I am getting 0.55usec however. I am not sure what is wrong with my calculations. I toggle a GPIO pin, in the interrupt. I have used the timer interrupt code in the workbook (page 118) provided by T1 called: Creating IoT Solutions with the Tiva® C Series Connected LaunchPad Workshop.
I am using the following period calculations.
if we relate the clock rate by the time: 120,000,000 cycles/sec= 1 second
and 1 second = 1usec*1,000,000
then 120,000,000=1*1,000,000
or 1usec=120,000,000/1,000,000 = ui32SysClkFreq/1,000,000.
the output can be viewed here, or http://imgur.com/ULJiZOb :
The code: http://pastebin.com/AWWzn77W
The project file:proj.zip
Thanks Guys
