Hi ,
SDK : ti-processor-sdk-linux-rt-am335x-evm-03.03.00.04-Linux-x86-Install.bin
Device Tree : am335x-boneblack.dts
pwm1 normal use, pwm2 no signal output .
Will the device tree is configured correctly ?
How to make gpmc_ad9.ehrpwm2B can output signal normally?
Modify the device tree as follows:
ehrpwm2a_pins: pinmux_ehrpwm2a_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x820, PIN_OUTPUT | MUX_MODE4) /* gpmc_ad8.ehrpwm2A */
>;
};
ehrpwm2b_pins: pinmux_ehrpwm2b_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x824, PIN_OUTPUT | MUX_MODE4) /* gpmc_ad9.ehrpwm2B */
>;
};
&epwmss1 {
status = "okay";
};
&ehrpwm1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&ehrpwm2a_pins>;
};
&epwmss2 {
status = "okay";
};
&ehrpwm2 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&ehrpwm2b_pins>;
};
BR