I am working with the Jetson AGX Xavier H01 kit from Seeed, running Ubuntu 20.04 / JetPack 5.1.2
I am trying to get some PWM output on any of the 3 PWM outputs on the 40-pin header.
First off, it seems that the pin #s printed on the metal enclosure are wrong, and that pin 1 as displayed here: https://jetsonhacks.com/nvidia-jetson-agx-xavier-gpio-header-pinout/
Is actually the pin with 39 next to it on the dev kit. Would be great if somebody could confirm this.
Second, I am unable to get a nice PWM signal out of any of the pins I’ve listed.
Steps I’ve taken so far:
1.) ran sudo /opt/nvidia/jetson-io.py and verified that PWM is starred for all 3 of the possible pins on the 40-pin header
2.) Ran the simple_pwm.py script from the Jetson.GPIO git repo. This caused a change in signal on Header pin 18 but it is not a square wave. Looks like high frequency noise on the scope.
3.) Manually messing with the pwmchipX Sysfs devices, setting duty_cycle and period values and enabling.
Seems I am missing something fundamental here. Any pointers would be appreciated.