Hello,
I am using the Kinetis EA series and i would like to use the FTM0 timer ch0 as PWM and ch1 as normal timer channel. If i do that ch1 is not working correctly! I think the Problem is some where in the FTM0_cnt register!
thank you in advance
Hani
Hi Hani,
For the fixed period PWM(CH0), the FTM0_MOD is fixed. So the period of timer(CH1) is equal to the period of PWM(CH0).
Alought the FTM0_C0V and FTM0_C01V can be different, it will only cause interrupt happen at different time.
But a fixed period timer may not suit your needs.
You can refer below image which tested on TRK-KEA8 board. I am using KDS3.2 with Processor Expert.
Best Regards,
Robin