How to synchronize the output of multiple PWM waves with S32K324

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

How to synchronize the output of multiple PWM waves with S32K324

933 次查看
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 项奖励
回复
2 回复数

931 次查看
rookie_engineer
Contributor I

rookie_engineer_0-1706299944949.png

This is the code I wrote

0 项奖励
回复

871 次查看
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 项奖励
回复