About Timer function of PWM in i.MX6Q.

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

About Timer function of PWM in i.MX6Q.

跳至解决方案
756 次查看
keitanagashima
Senior Contributor I

Dear Sir or Madam,

Hello.

i.MX6 has PWM with 16-bit up-counter.

Is it possible to use this PWM as Timer function?

Best Regards,

Keita

标签 (6)
0 项奖励
回复
1 解答
619 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Keita

yes in general PWM module can be used

as timer using Compare or Roll-over events -

bits CMP,ROV in register PWMx_PWMSR.

Best regards

igor

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

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

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
620 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Keita

yes in general PWM module can be used

as timer using Compare or Roll-over events -

bits CMP,ROV in register PWMx_PWMSR.

Best regards

igor

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

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

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

0 项奖励
回复