fernando_g
Senior Member
I've noticed that if I setup a PWM value on a port, for instance C1:
pwmout pwmdiv4, C.1, 199, 600
and immediately afterwards I follow with another command in a different port, same frequency but different % like so:
pwmout pwmdiv4, C.2, 199, 550
Then, both ports assume the last PWM value.
This tells me that there is a single timer available, and its output is only assigned to different ports.
Am I correct?
I tested this assumption on a 28X2 (5 volt version)
pwmout pwmdiv4, C.1, 199, 600
and immediately afterwards I follow with another command in a different port, same frequency but different % like so:
pwmout pwmdiv4, C.2, 199, 550
Then, both ports assume the last PWM value.
This tells me that there is a single timer available, and its output is only assigned to different ports.
Am I correct?
I tested this assumption on a 28X2 (5 volt version)