All,
I am creating a timer function in my code. When I use the "free-running" mode of timer3, my code works perfectly. My ISR simply blinks a light. However, when I change my mode to "modulo" my light does not blink. I have ensured that a suitable value is present in the T3CC0 register. So, the only difference is the mode.
When I open a memory map, I see "F8" set in T3CTL, which is what it's supposed to be for normal running mode. When I change it to FA, for modulo mode, things stop. If I change it back to F8, it works again. So, why are interrupts not working for T3 when I am using modulo mode? As far as I can tell, the last two bits of T3 and content of T3CCO are the only things in question.
Thanks.