PWM module with settings using Config Tools

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

PWM module with settings using Config Tools

1,916 次查看
cerma
Contributor IV

Hi All,

I want to use PWM module with settings using Config Tools(Peripherals). I have the pin set as output for PWM and the eFlexPWM module. I still don't see a signal on the output pin(G13, GPIO_AD_B0_10). Can anyone tell me where I am going wrong in the ConfigTools settings?

I am attaching a simple project for EVK. Used MCUXpresso 11.5.0.7232 and SDK_2.x_MIMXRT1060-EVKB(v2.110).

Thank you for answer.

Jaroslav C.

标签 (1)
0 项奖励
回复
1 回复

1,895 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @cerma ,

The pin setting seems correct. You can see there is a newline appear in pin_mux.c

IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B0_10_FLEXPWM1_PWMA03, 0U);

You can compare the generated code with the pwm example in SDK to search what is not set correctly.

 

Regards,

Jing

0 项奖励
回复