How to synchronize the output of multiple PWM waves with S32K324

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

How to synchronize the output of multiple PWM waves with S32K324

492 Views
rookie_engineer
Contributor I

Dear engineers, I have encountered a problem at present. When I use S32K2=324, it seems that the multi-channel PWM signal generated by the EMIOS module cannot be output in the same distribution, and there is a lag in the output. Can someone solve it?

0 Kudos
Reply
2 Replies

490 Views
rookie_engineer
Contributor I

rookie_engineer_0-1706299944949.png

This is the code I wrote

0 Kudos
Reply

430 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

what is a meaning of lag you mentioned? Channels have the same duty cycle and period, but edges are not aligned? How are channels configured, what modes are used? If running from same counter base then there should not be and issue I think.

BR, Petr

0 Kudos
Reply