pwm sync with input signal

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

pwm sync with input signal

259 Views
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 Kudos
1 Reply

237 Views
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 Kudos