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:
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.
Best regards
chip
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------