Hi @sbmd_1234!
Thank you for contacting NXP Support!
I am able to use the PWM on iMX93 EVK board.
&tpm4 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_tpm4>;
status = "okay";
};
pinctrl_tpm4: tpm4grp {
fsl,pins = <
MX93_PAD_GPIO_IO05__TPM4_CH0 0x19e //EXP_GPIO_IO05 J1001 29
>;
};
$ cd /sys/class/pwm/pwmchip1/
$ echo 0 >> export
$ echo echo 2000000 >> pwm0/period
$ echo echo 1000000 >> pwm0/duty_cycle
$ echo 1 >> pwm0/enable
Best Regards!
Hi, @Chavira
I've enabled the config in menuconfig and added the dts changes I am able to get the /sys/class/pwm/pwmchip4 but the gpio pin of imx93 evk is not generating any signal?
though, I've wrote the duty_cycle, period and enabled also but still not worked.
can you please tell what could be the reason.
Thanks.
Hi @Chavira
I am having a doubt, I am working on i.MX91 custom evaluation board so that board contains the GPIO2_IO05 pin header. My question is can we test the PWM signal on this pin if we configure this "MX93_PAD_GPIO_IO05__TPM4_CH0" but can we check this on this pin "MX93_PAD_GPIO_IO05__GPIO2_IO05"?
Thanks for your support.