Why does the CCR value not Updated?
Hi All,
I would appreciate your help with this problem.
I am presently trying to implement the PWM scheme PWMON as shown in figure below.
I have set the polarity of the timer's main and complementary output to be LOW. And it runs on PWM Mode1.
And then applied the Pulse value to the CCR to get the first step. And for the next step, which is meant to be fully ON, I have applied the (full timer period(ARR)+2). Which would mean that ideally, the OCREF should be high as long as the CCR value is greater than then ARR value. but this is not the case.
From the image, the second step is meant to be fully ON, but its not.
Please can someone point me in the direction to look