Hi all,
I have got some troubles in using cpu timer0 in f2808:
1.I put my main program in the for loop and it takes 2.5us to run each time (which has been accurately tested) without enabling the cpu timer0 first
2.I enable the cpu timer0 to generate an interrupt every 3us, all the program in the for loop is put into the cpu timer0 interrupt service routine
3.A GPIO pin would be toggled each time the cpu timer0 generate an interrupt to see the execution time
4.The GPIO toggles every 5us instead of 3us which cannot be explained
5.My program is downloaded into the flash directly
5. It would be highly preferred if anyone can upload a similar cpu timer0 interrupt example for reference!
Thanks!