PWM cannot be enabled


Do you use Xavier developer kit or your own custom board? SDKManager is for developer kit. For your custom board, you would need to modify device tree and build kernel, to enable specific functions on your custom board. The default system image is mainly for developer kit.


If you use Xavier developer kit, please follow the steps in
PWM cannot be enabled - #15 by JerryChang

After doing step 1 and 2, please rebuild device tree and then re-flash the system. The steps are in Kernel Customization section in developer guide
And then after booting to Ubuntu desktop, please do step 3 and connect the pin to an oscilloscope and check if the signal is as expected.


Please execute the commands and check if the device nodes are present first:

root@nvidia-desktop:/sys/devices/32c0000.pwm/pwm/pwmchip2# echo 0 > export
root@nvidia-desktop:/sys/devices/32c0000.pwm/pwm/pwmchip2# ls
device  export  npwm  power  pwm0  subsystem  uevent  unexport
root@nvidia-desktop:/sys/devices/32c0000.pwm/pwm/pwmchip2# cd pwm0/
root@nvidia-desktop:/sys/devices/32c0000.pwm/pwm/pwmchip2/pwm0# ls
capture                double_period  enable  polarity  ramp_time
capture_window_length  duty_cycle     period  power     uevent

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