Not able to access pwm through sysfs in AGX Orin

Hello team,

I was trying access pwm pin in AGX Orin on pin no 15 “pwm1”. I have configured the pin through file. But I was not able to initialize the pin. Need help regarding sysfs call for pwm in jetson AGX Orin.

hello yglovi,

could you please also try modify mb1 pinmux configure as below…

                        soc_gpio39_pn1 {
                                nvidia,pins = "soc_gpio39_pn1";
                                nvidia,function = "gp";
                                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_DISABLE>;
                                nvidia,lpdr = <TEGRA_PIN_DISABLE>;

please also check device tree sources to confirm you’ve enable the PWM controller.
for example,

        pwm@3280000 {
                status = "okay";

you should perform a full flash to update the mb1 pinmux cfg,

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.