PWM module with settings using Config Tools

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

PWM module with settings using Config Tools

771 Views
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.

Labels (1)
0 Kudos
Reply
1 Reply

750 Views
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 Kudos
Reply