pwm sync with input signal

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

pwm sync with input signal

1,035件の閲覧回数
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,013件の閲覧回数
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 件の賞賛
返信