Hi and thank you for all that tried to help.

I made 2 BIG mistakes that make it failed.

FIRST: I assumed that when using TIMER1 clock as the source for TIMER3 I will have the output of the timer (with prescaler). Seems to be wrong, I'm just using the same clock that's all.

SECOND: ----- This was the real catch ------
I'm using PORTC.0 and PORTC.1 for the LCD display. C0 is also TIMER3 clk input. C1 is TIMER1 osc input. I fist moved the LCD wires to somewhere else and I was amazed to find out that TIMER3 stopped. I know think that I was sending some clock signal with the LCD. One thing that help me find this was that I had about 1 count for every pass within the loop. hehehe

I solved this issue by using HPWM out to T0CK1 input.


Thanks again!