Working on a custom board (Jetson Xavier NX - Jetpack 4.5), not a devKit, I would like to use the PWM capability of the GPIO07 (gpio424 on my board). But it doesn’t work.
I used the jetson-io.py tool, as it is explained in the documentation, to configure the pin as needed but nothing changed. After a complete reboot of the board, the configuration that I changed on pin32 vanished and the pin still get the status “unused”.
I used the following commands to generate a 10Hz signal, which is working on another board with the same parameters/env :
since you’re using a customer board, you’ll need to use the pinmux spreadsheets to modify the pin configurations.
please access pinmux spreadsheets for reference, thanks
Thanks for the reply.
We have not changed any of the hardware configuration. So the pinmux is the same.
I send you the DeviceTree configuration (.dtb) that was saved after using the jetson-io.py tool. You will see that the configuration for pin32 hasn’t changed, despite the use of the tool. (used with sudo and “save and reboot” option)
as you can see in the default pin settings, GPIO07 is configured as GPIO, GPIO3_PR.00 by default;
please use the pinmux spreadsheets to modify the pin configurations to set it as SFIO, GP_PWM8.
for your reference, here’s created *.dtsi file with SFIO settings.