Hello Nxp team,
1. For the first approach, Fast update function we tried with fast update function in our model and checked but there is a variable delay in pwm 2 pulse. is there any example model available for the previous mentioned requirement.
and i have attached the file "Test_in_new".
2. And for the second approach,
The program which shared was running in opwmb and has counter bus of bcde. And we seen change in periods not happening, its in fixed frequency with variable dutycycle.
Observation with your shared model(S32k312_pwm_icu_S32ct):
1. High side frequency always at 259.63HZ, refer image.
(our requirement: it need to change from 0.1HZ to 150HZ)
2. Low side Frequency always at 2.8Khz refer image
(Our requirement: its need to change from 0.1Hz to 12Khz based on ON time of High side frequency)
we tried changing the mode and counter bus to 'OPWFMB' & 'internal bus' but the PWM-2 pulse is not getting synchronized with PWM1 pulse.
we want to change one pwm (PWM-1) both period and duty cycle for different frequency (OPWFMB) from Application and PWM-2 has to turned on and off based on PWM-1 ON time.
And i have attached the file below as "Nxp_pwm"
Kindly help us to resolve this issue
Thanks & regards,
Esakki.P
Hi @Vijay98 ,
I recommend keeping the discussion only in the original thread here:
Pwm_delay_in_trigger_pulse - NXP Community
I will further respond there, in the meantime i am looking into your question,
PS: you can delete this thread, since this is a duplicate of that original one.
Thank you,
Stefan V.