AnsweredAssumed Answered

PWM with processor expert KL43z?

Question asked by Christopher Demos on Jan 24, 2016
Latest reply on Jan 26, 2016 by Alice_Yang



I'm using frdm-kl43z and processor expert. I'm trying to set up a simple pwm output for pin E24. I'm using component fsl_tpm.


I've configured the component as follows:


Not sure how to set the duty cycle, but I initialized the frequency as 250 kHz:


And just trying to initialize the output, I wrote this code:

Is this correct?