platform: imxrt1064 evaluation board, SDK2.8.6
It's easy to run the pwm driver example code and observe the right pwm wave whith scope.
I try to modify the code to output pwm wave in PWMX pin(IOMUXC_GPIO_AD_B0_02_FLEXPWM1_PWMX00), but failed.
So, how to modify the example code to output pwm by GPIO_AD_B0_02?
One thing I forgot to mention is that the PWMX is used to generate the frequency and the other two channels are used for the duty cycle so you only can use the channels PWMA and PWMB to output the PWM signal.
Hello Alexis Andalon,
Did you mean PWMX can generate pwm signal with fixed 50 percent duty?
It is ok for my application with frequency signal. So, I want to know how to modify the configration(code)?