Issues with enabling GPIO Pins in Jetson Orin

Currently I am using Jetson AGX Orin and I am trying to enable a pwm pin in the Jetson 40pin header however, I am having a bit of trouble with configuring and enabling pins. When i try to configure my jetson
$ sudo /opt/nvidia/jetson-io/jetson-io.py

I get

And also when i check my
$ sudo /opt/nvidia/jetson-io/config-by-function.py

I realise my pwm pin is not enabled, is that normal?

orin@NvidiaJetson:~$ sudo /opt/nvidia/jetson-io/config-by-function.py -l all
Header 1 [default]: Jetson 40pin Header
Supported functions (pins):

  1. can0 (29,31)
  2. can1 (33,37)
  3. gp (13)
  4. pwm5 (18)
  5. rsvd3 (7)
    Header 2: Jetson AGX CSI Connector
    Supported functions (pins):
  6. dmic2 (76,96)
  7. dspk0 (90,92)
  8. i2s3 (76,90,92,96)
    Header 3: Jetson M.2 Key E Slot
    Supported functions (pins):
  9. i2s4 (8,10,12,14)
    orin@NvidiaJetson:~$ sudo /opt/nvidia/jetson-io/config-by-function.py -l enabled
    Header 1 [default]: Jetson 40pin Header
    Enabled functions (pins):
  10. can0 (29,31)
  11. can1 (33,37)
  12. gp (13)
    Header 2: Jetson AGX CSI Connector
    No functions are enabled.
    Header 3: Jetson M.2 Key E Slot
    Enabled functions (pins):
  13. i2s4 (8,10,12,14)

Hi rvgroshan22,

Are you using the devkit or custom board for AGX Orin?
What’s your Jetpack version in use?

Jetson-IO is used to enable the functions like PWM, SPI, I2C, CAN…etc on the devkit.
If you want to use the pin as GPIO, please just configure it in pinmux spreadsheet and use gpiod or python script(Jetson.GPIO) to control it.