PWM control

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PWM control

928 Views
kimsuhak
Contributor I

Hello Im working with IMX6Q sabreauto board.

I want to control SD4_DAT1 to PWM3 in uboot.

I set pads like this

     mxc_iomux_v3_setup_pad(MX6X_IOMUX(PAD_SD4_DAT1__PWM3_PWMO));

how to control PWM duty?

help me :smileyhappy:

0 Kudos
Reply
1 Reply

719 Views
igorpadykov
NXP Employee
NXP Employee

Hi kim

I think links below may be good starting point

https://gitorious.org/u-mobo/uboot-imx/commit/82d607a

https://support.bluetechnix.at/wiki/Linux_Software_User_Manual_%28i.MX6%29

In general one can use "mw" command and write registers directly,

one can use SDK for PWM example.

i.MX 6Series Platform SDK

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply