Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi,
Yocto SDK: 09_02_00
EVM: AM62A SK EVM
I wanted to use the PWM on A53 core. I have configured the PWM in dts as below:
main_ehrpwm0_pins_default: main-ehrpwm0-pins-default {
pinctrl-single,pins = <
AM62AX_IOPAD(0x01ac, PIN_OUTPUT, 6) /* (B21) MCASP0_AFSR.EHRPWM0_A */
AM62AX_IOPAD(0x01b0, PIN_OUTPUT, 6) /* (A21) MCASP0_ACLKR.EHRPWM0_B */
>;
};
&epwm0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_ehrpwm0_pins_default>;
};
And I have enabled the eHRPWM driver in kernel. Than I have probed the channel A and channel B on user expansion jumper J3 in EVK. I didn't see any signals on CRO.
Then I have tested the epwm1 interface on evk and that was working fine on evk and can see the signals properly on the CRO. I did dts configuration as below for epwm1:
main_ehrpwm1_pins_default: main-ehrpwm1-pins-default {
pinctrl-single,pins = <
AM62AX_IOPAD(0x019c, PIN_OUTPUT, 6) /* (B18) MCASP0_AXR1.EHRPWM1_A */
AM62AX_IOPAD(0x01a0, PIN_OUTPUT, 6) /* (B20) MCASP0_AXR0.EHRPWM1_B */
>;
};
&epwm1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_ehrpwm1_pins_default>;
};
Do you see any wrong configuration of epwm0 interface? If configurations are right then what could be the problem?
Regards,
Jay