How to start two eMIOS PWM timers at the same exact time ?

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

How to start two eMIOS PWM timers at the same exact time ?

ソリューションへジャンプ
495件の閲覧回数
kyf
Contributor V

Hello NXP team.

I would like to know how can I start two PWM signals at the same time ?

 

I'm writing code for S32K344 and S32K341 MCU and at the moment I'm using S32K3X4EVB-Q172 devBoard for development.

I have to create two PWM signals with frequency 10KHz and fixed phase difference 60 degrees and duty cycle will change from the user.

PWM_A 10 KHZ 50%duty (variable duty)

PWM_B 10 KHZ 50%duty (variable duty) + 60 degrees phase difference from PWM_A

And I need 1 more PWM signal @400KHz that will be synced with PWM_A. I need those two signals to start at the same time.

 

I have studied eMIOS but I can't remember of a way to sync signals. I will go and study again the reference manual in case I've missed something out.

 

Kind regards,

kyf

 

0 件の賞賛
1 解決策
490件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Synchronizing of two eMIOS instance you may see described here:

https://community.nxp.com/t5/S32K/Synchronizing-eMIOS-instances/td-p/1423858

But what you are describing are just multichannel PWM, I don't see any need of synchronization as both channels will be derived from same counter bus.

元の投稿で解決策を見る

1 返信
491件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Synchronizing of two eMIOS instance you may see described here:

https://community.nxp.com/t5/S32K/Synchronizing-eMIOS-instances/td-p/1423858

But what you are describing are just multichannel PWM, I don't see any need of synchronization as both channels will be derived from same counter bus.