Hi all,
The FlexTimer module (FTM) is a two to eight channel timer that supports the generation of PWM signals.
I have a question that the frequency of PWM can set in different value each channel?
Thanks in advance,Lucas.
已解决! 转到解答。
Pedro is correct, but the real problem with what you want to do is that there is only one modulo counter per module.
You set a register that causes a counter to reset at a certain count, so the overall period is determined by the clock/pre-scaler and the reset value in the modulo register. The PWM channels have a compare register that is compared to the counter value and set/reset the PWM outputs at counter reset and the compare value.