Search found 2 matches

by AndreMP
Thu Oct 10, 2019 11:49 pm
Forum: ESP32 Arduino
Topic: Strange behavior when changing dutycycle at up down counter
Replies: 1
Views: 2669

Re: Strange behavior when changing dutycycle at up down counter

This topic can be closed.

I change de duty cycle mode to 1 and the blue line do what I expected.

Then I figure out that this is the behavior when you have a up an down counter.
The complementary channel must have this behavior to the other channel fit in the remaining space.
by AndreMP
Thu Oct 10, 2019 2:47 am
Forum: ESP32 Arduino
Topic: Strange behavior when changing dutycycle at up down counter
Replies: 1
Views: 2669

Strange behavior when changing dutycycle at up down counter

Hi dear, I´m using 2 mcpwm with up and down counter and could make 2 symmetric complementary wave forms with deadtime, this is ok! But how to change the duty cycle to affect the up and down cycle? I try to create a interrupt at the start of timer and change the dutyCycle before it start. But it's on...