Using FTM Timing output PWM, periodically to modify the duty cycle, found that each modification of duty cycle after a 8us spike, please ask how to remove the interference?
Hi 张 qing
There is ftm_pwm_s32k144 SDK example in the S32 Design Studio. Could you clarify how are you modifying the duty cycle? you can use the FTM_DRV_UpdatePwmChannel function from the SDK.
I don't understand exactly your issue, but It can be caused by synchronization. FTM support 2 types of synchronizations: immediate or on next loading point (end of timer period). If you use immediate mode the duty (CnV) is update ASAP, but the counter is reset. This can cause glitches.
Retrieving data ...