Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Starting from the tima_timer_mode_pwm_dead_band.c example.
It sets the Edge-Aligned-Down-Counting Mode.
I want 4 PWM's, so I don't need complementary mode so I have turned it off.
When the channel update mode is set to the default "Capture Compare value has immediate effect" everything works fine.
When I set the channel update mode to "Capture Compare value has effect one TIMCLK cycle after timer counter reaches 0" the duty cycle drops to basically 1 count, i.e., it forgets the value set in sysconfig.
Is this normal?
I am trying to PWM a servo, so I want to have it as glitch free as possible, so what is the best channel update mode?