I am using K64F FlexTimer channel0 as my PWM output. I am using PE to configure channel0 as output compare with toggle output.
I disable the software output control and interrupt...
In my main rountine, I just change FTM0_MOD register to get the different PMW output(50/50) every second. It works fine. The only problem is that PWM out frequency can be changed in middle.
Could you tell me how to control the loading point of the new value, like always after complete PWM output?
Another question: Is it possible to change the polarity of channel0?