PWM enable setting in v13.1, RT1172 SDK v2.13.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PWM enable setting in v13.1, RT1172 SDK v2.13.0

Jump to solution
868 Views
mjosborne1
Contributor III

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

0 Kudos
1 Solution
847 Views
jch
NXP Employee
NXP Employee

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):

jch_0-1683116511684.png

 

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

 

 

View solution in original post

0 Kudos
1 Reply
848 Views
jch
NXP Employee
NXP Employee

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):

jch_0-1683116511684.png

 

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

 

 

0 Kudos