PWM support on Xavier NX

Hi Team,

I am using Xavier NX SOM on a custom carrier board.
I want to control PWM GPIOs, The Jetson GPIO python tool doesn’t work with a custom carrier board.
So Can I use any other userspace tools or Should I configure those GPIOs from pinmux and cfg files ?

Regards,
Ajith.

hello ajith.kumaresh,

please check developer guide, Jetson Xavier NX Platform Adaptation and Bring-Up.
you should have to complete board customization, by update the pinmux settings.

please checked the PWM status, $ sudo cat /sys/kernel/debug/pwm
and, you’re able to control the period and duty cycle via sysnode to control PWM,
for example,

echo <period_val> > /sys/class/pwm/pwmchip0/pwmN/period
echo <duty_width> > /sys/class/pwm/pwmchip0/pwmN/duty_cycle