AnsweredAssumed Answered

i.mx6 PWM period

Question asked by ottawa-imx6 on May 21, 2014
Latest reply on May 23, 2014 by ottawa-imx6


I would like to use the PWM output for something other than simple backlight control and this will require me to have a more accurate control over the period.


Is it possible to generate an accurate period with the PWM output?

In this case, I would like to generate a clock signal of 3.57MHZ with a duty cycle of 50%.


My question is essentially asking what the PWM control registers need to be set as to get as close as possible to this frequency of output.



In researching the datasheet, i see I can have prescallers of 1, /2, or /4096 with 3 different clock source options and the period register setting.

Has anyone used the PWM for anything other than backlight (where the period is not critical)?