On I.MX6ULL, when the code is solidified to the SD card or nand flash for operation, pwm is not output.
When the code runs in DDR3, the pwm output is normal.
When I use the core board of I.mx6ul to download the pwm firmware of i.mx6ull to the sd card for operation, the pwm output is also normal.
However, when the firmware is started from the sd card, it is necessary to set the PWMx_PWMCR bit23 (WAITEN) to 1 ,the pwm can be output normally.
Hi @zhouxia
Hi @zhouxia
&pwm1 { #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; };
pinctrl_pwm1: pwm1grp { fsl,pins = < MX6UL_PAD_GPIO1_IO08__PWM1_OUT 0x110b0 >; };