pwm sync with input signal

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

pwm sync with input signal

1,034 次查看
ZhouPengfei
Contributor III

Hi support,

Here we have a requirement on S32K3 serials chip. Now we use emios/SAIC mode or IPM mode to capture the period of input signal an emios/OPWMFB mode to generate two pwms.

The latency between the input signal and output signal is about 300ns and not a fixed value.

Is there a method to use some hardware such trgmux to eliminate the latency or reduce the latency. Use the input signal as input source and pwm as output source to sync the pwm directly by hardware not by software which use a interrupt and operate on some registors.

B/R

0 项奖励
回复
1 回复

1,012 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

there is no synchronization between module counters in terms the counter will be reinit at other channel match/capture or similar.
Counters can be just started at the same time using global prescaler, see chapter 64.7.8
Initializing channels and modes for basic init steps example

BR, Petr

0 项奖励
回复