in my program first i am setting the system clock to 120 MHz then, i am enabling the GPIO Module to blink USER LED and after that i am enabling the Timer Module.in this case everything is working fine and Corresponding Timer handler is also getting called and USER LED is blinking according to the Timer Interval set.
But when i am not setting the System clock to 120 MHz then by default it will get the clock from PIOSC which is 16 MHz.in this case if i am enabling the GPIO Module to blink USER LED and after that i am enabling the Timer Module then, the timer is not working and USER LED is not blinking.
But if i am enabling the Timer Module First and after that if i am enabling the GPIO Module then everything is working fine with both 16 and 120 MHz.
Can any one tell me the reason behind it?