PWM period

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PWM period

1,548件の閲覧回数
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,521件の閲覧回数
_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,466件の閲覧回数
Ajul
Contributor I

Hi 

 

Thank you

0 件の賞賛
返信