I'm not getting both Timer 1 and Timer 5 interrupt on PIC16F18346
I'm not getting Timer 5 interrupt on PIC16F18346
Timer 5 gate needs to be routed to input RA0 there are pulses coming in T5GPPSbits.T5GPPS = 0x00;
Timer 5 gate is active when low T5GPOL = 0;
Timer 5 counters low and high are initialized to zero TMR5L=TMR5H=0;
Timer 5 config. T5CON = 0b11100100; Timer5 clock LFINTOSC, Prescale 1:4, Do not sync external clk input
Timer is turned on TMR5ON = 1;
Timer gate is on TMR5GE = 1;
Timer 5 overflow enabled TMR5IE = 1;
I also made sure that the watchdog timer has been disabled!
I expect to see an interrupt when timer5 overflows, but, it does not happen.