PWM period

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

PWM period

1,661 次查看
Ajul
Contributor I

Hi we are working on nxp s32k324. We need to update the PWM period during the run time.  we are using Pwm_SetPeriodAndDuty() API for updating the Period . The period is updating but we are not getting exactly the correct frequency as expected  . We are using clock of 10Mhz we are giving a tick of 50000 in the PWM period to get a frequency 0f 200Hz but we are getting a frequency 320Hz. we have checked the B register that value is updating as we expected . But the out frequency is not as expected.

We are configured the Davinci configuration for 500Hz PWM out put that we are getting  exactly same as expected, Issue is found when we are using the API to update the PWM could you please reply.

 

Regards

AK

 

0 项奖励
回复
2 回复数

1,634 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Thank you so much for your interest in our products and for using our community.

I noticed that you have another similar case, so I will follow up on this last one that I mention.

Have a nice day!

0 项奖励
回复

1,579 次查看
Ajul
Contributor I

Hi 

 

Thank you

0 项奖励
回复