Hello,
Here's a more detailed description of my problem -
When I try to activate all 3 pwm channels on 100% ratio - the code is :
pwm1_SetRatio8(0);
pwm2_SetRatio8 (0);
pwm3_SetRatio8 (0);
pwm1_Enable();
pwm2_Enable();
pwm3_Enable();
however, the outcome is sometimes correct - meaning that all 3 pwm channels are on 100% ratio, and in other times the outcome is that only pwm1+2 are on 100% ratio while pwm3 is off completely (pwm2 + 3 are the ones with the shared counter, as I mentioned in the previous message).
Another problem - when I perform the following code -
pwm1_SetRatio8(255);
pwm2_SetRatio8 (25);
pwm3_SetRatio8 (200);
pwm1_Disable();
pwm2_Enable();
pwm3_Enable();
again, the outcome is sometimes correct and in other times pwm2 + pwm 3 are on 100% and not in the required pulse ratio.
I hope there are enough details here... please tell me if you need further information.
Thanks alot,
Shany