Hello,
after updating to MCU Config Tools v 13.1 & SDK 2.13.0 for the RT1172, I noticed that our PWM wasn't working.
Inspection shows that a `pwmchannelenable` field has been added to the `_pwm_signal_param` struct, and the SDK function `PWM_SetupPwm` no longer enables the PWM unconditionally.
How do I enable the `pwmchannelenable` field using MCU Config Tools?
Or how can I get MCU Config Tools to add a call to the new `PWM_OutputEnable` function when it initializes the PWM peripheral?
It (`pwmchannelenable`) seems to always be `false` for me in the generated code.
Thanks,
Matt
Solved! Go to Solution.
Hi @mjosborne1 ,
so I check the version of the component pwm_7fcc88d0d1f65bfb9bed79489091437e related to the driver version 2.3.0 - 2.5.9.
Setting related to the pwmchannelenable is here in attached picture (red oval):
It is necessary to have selected PWM as channel function and then select bool setting "Enable PWM output".
I put for this "Enable PWM output" setting description: "If checked PWM signal is fed to the pin routing path."
If you have any feed back on component, please let me know.
Thanks a lot
Hi @mjosborne1 ,
so I check the version of the component pwm_7fcc88d0d1f65bfb9bed79489091437e related to the driver version 2.3.0 - 2.5.9.
Setting related to the pwmchannelenable is here in attached picture (red oval):
It is necessary to have selected PWM as channel function and then select bool setting "Enable PWM output".
I put for this "Enable PWM output" setting description: "If checked PWM signal is fed to the pin routing path."
If you have any feed back on component, please let me know.
Thanks a lot