Hi we are working on nxp s32k324. We need to update the PWM period during the run time. we are using Pwm_SetPeriodAndDuty() API for updating the Period . The period is updating but we are not getting exactly the correct frequency as expected . We are using clock of 10Mhz we are giving a tick of 50000 in the PWM period to get a frequency 0f 200Hz but we are getting a frequency 320Hz. we have checked the B register that value is updating as we expected . But the out frequency is not as expected.
We are configured the Davinci configuration for 500Hz PWM out put that we are getting exactly same as expected, Issue is found when we are using the API to update the PWM could you please reply.
Regards
AK