First of all, let me wish you all a Happy New Year.
Now, lets get to the topic.
I am using a SAM E70 Xplained Development Board & I some how managed to get its timer 0 - channel 0 working using the example code provided in Atmel Studio.
In our current project, we are supposed to use multiple timers to get the logic working. As per datasheet, there are 12 16-bit timer modules in SAM E70. So, I tried to get the code working for other timers. What I did was that, I changed all "TC0" in timers configurations to different timers along with their ISR.
The code compiled successfully, but the program refused to work.
There are only a few steps to configure timer module, but still I have got no idea where I have gone wrong.
Basic Timer Initialization
volatile uint32_t ul_dummy;
This code works perfectly & I am able to configure timer interrupt frequency.
But when I try to change the timer, it stops working.