Hellow,
trying to use eCAP0 driver as APWM,so, how to configure it in APWM mode in linux (SDK 0801)?
Thanks,
Ruijie
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hellow,
trying to use eCAP0 driver as APWM,so, how to configure it in APWM mode in linux (SDK 0801)?
Thanks,
Ruijie
Hi Ruijie,
Here is a link to the FAQ that can help you to make further progress.
Regards
Karthik
Hi Karthik,
I see that the above link is about the modification of dts of ehrpwm, but I want to set ecap to be pwm mode,
I greped the ecap in ti linux dts,can found the ecap setting in k3-am64-main.dtsi,but can’t found this in j721e,
How can I set ecap,thanks.
k3-am64-main.dtsi:1355: ecap0: pwm@23100000 {
k3-am64-main.dtsi:1356: compatible = "ti,am64-ecap", "ti,am3352-ecap";
k3-am64-main.dtsi:1364: ecap1: pwm@23110000 {
k3-am64-main.dtsi:1365: compatible = "ti,am64-ecap", "ti,am3352-ecap";
k3-am64-main.dtsi:1373: ecap2: pwm@23120000 {
k3-am64-main.dtsi:1374: compatible = "ti,am64-ecap", "ti,am3352-ecap";
Thanks,
Ruijie Sun