Setting up PWM on Jetson AGX Xavier

Hello.
1)I am trying to have pwm output signal for 100 hz frequency and 50% Duty cycle. however, the pin is giving only High and low signal Irrespective of the Clock and Duty cycle.
2) I am checking Signal on CRO. how do i get the Pwm signal on the pin.
3) I am using Pin no.18. My device specs are Jetson Nvidia AGX Xavier(jetpack 4.6.2 L4T 32.7.2) . Also i am not able to run sudo /opt/nvidia/jetson-io/jetson-io.py .
4)i have only one kernel_tegra194-p2888-0001-p2822-0000.dtb.sig file in dtb folder and many such files in boot folder. Need help to set the pwm pins so that i can get the signal at the pwm pin.

hello user84050,

did you mean GPIO35/GPIO3_PH.00? this pin is default configured as GPIO, please update the pin usage as PWM through pinmux. please see-also developer guide, Pinmux Changes.
after that, you may also check # ls -la /sys/class/pwm/ for the PWM mappings from file system.

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