Hi,
We are using 3 PWM pins with EMIOS0 as instance in the S32k312 MCU using the S32 DS 3.5 IDE, we are getting an output frequency of 1.8k Hz for the PWM signal, but we need 10k Hz output frequency. Our core clock is running with PLL of 120M Hz.
PWM channel configuration:
output frequency = 120000000 / 1 / 65534 = 1.8k Hz
According to the formula, we have changed the default period to 12000, expecting an output frequency of 10k Hz but we are getting the same 1.8k Hz signal.
output frequency = 120000000 / 1 / 12000 = 10k Hz
Solved! Go to Solution.
Check the following threads, it has information related to the topic that may be useful to you.
emios pwm configuration for 40% duty cycle of 1 second
Example S32K344 eMIOS DS3.5 RTD500
BR, VaneB
Check the following threads, it has information related to the topic that may be useful to you.
emios pwm configuration for 40% duty cycle of 1 second
Example S32K344 eMIOS DS3.5 RTD500
BR, VaneB