About Timer function of PWM in i.MX6Q.

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

About Timer function of PWM in i.MX6Q.

Jump to solution
624 Views
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

Labels (6)
0 Kudos
1 Solution
487 Views
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!

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

View solution in original post

0 Kudos
1 Reply
488 Views
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 Kudos