AnsweredAssumed Answered

Having trouble with PWM using FRDM-K64F+KDS 2.0+KSDK 1.1+PEx

Question asked by dave408 on Mar 24, 2015
Latest reply on Mar 25, 2015 by dave408

I have been struggling all day so far trying to get PWM to work on my FRDM-K64F.  I am using a FRDM-K64F with KDS 2.0 and KSDK 1.1.  My initial attempts at following app notes and adding the PWM code to my application failed, so I decided to create a new project from scratch and add PEx support to it.


All of the examples I see online make references to a PWM PEx component.  I don't have such a component in my list, but I do have Init_FTM.  I figured that this should also suffice.


I have set all of the properties for this component to try to get PWM working, but so far I have been unsuccessful.  I have tried all different combinations of settings that make sense (to me), but in the end, my PWM pins (PTC10 and PTC11) just go high and stay high when I run my application.


Here are settings that I thought would work:






Hopefully I'm doing something silly that someone will be able to point out and explain.  Any comments would be really appreciated!