Hi
I was working on NXP s32k324 controller .
Need to run a PWM at 100Hz and 125Hz .
I am using core clock 160mhz as input to pwm, and emios_ch_prescala is configured to emios_pwm_ip_clock_div_16.how to achieve this? If we configure EMIOS_PWM_IP_PS_SRC_PRESCALED_CLOCK as prescalar source where to give global prescalar? Is it emios_ch_prescalar alternative?
Period In Ticks: Valid range: [0, 65534]
已解决! 转到解答。
using EmiosChMode as EMIOS_PWM_IP_MODE_OPWFMB since we have to get variable period and variable duty and EmiosChCounterBus as EMIOS_PWM_IP_BUS_INTERNAL.
while configuring EmiosChPrescalerSource as EmiosChPrescalerSource and PwmEmiosBusRef as /Mcl/Mcl/MclConfig/EmiosCommon_0/EmiosMclMasterBus and in mcl EmiosMclClkDivVal is configured as 2, getting error as "When using EMIOS_PWM_IP_BUS_INTERNAL, PwmEmiosBusRef is not needed"