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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,588 次查看
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 项奖励
回复
1 解答
1,567 次查看
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 项奖励
回复
1 回复
1,568 次查看
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 项奖励
回复