PWM control

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

PWM control

1,283 次查看
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 项奖励
回复
1 回复

1,074 次查看
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 项奖励
回复