i’ve tried setting the PWM3 as GPIO in the pinmux configuration with no success to control it.
According to the design guide this PWM is already used by NVIDIA nfvancontrol.
see below content from the guide:
“Orin module provides PWM and Tachometer functionality for controlling a fan as part of the
thermal solution.
The FAN_PWM pin is configured as GP_PWM3
The FAN_TACH pin is configured as NV_THERM_FAN_TACH0”
Furthermore, when using jetson-io.py (sudo /opt/nvidia/jetson-io/jetson-io.py) i can select only PWM1/5/7.
Is it possible to use PWM3 on SOMDIM Pin #230 (Signal name GPIO14) as GPIO3_PX.03 and not as GP_PWM3? if possible (assuming PWM3 is not reserved), what is the correct way to define PWM3 in the pinmux (xls) file and use it with some example code?
Thanks for the fast reply. the issue I’ve encountered with python code is as follows:
when using import Jetson.GPIO as GPIO , then setting GPIO.setmode(GPIO.BOARD) and using GPIO.setup($fan_line_number, GPIO.OUT, initial=GPIO.LOW)
Note: $fan_line_number is taken from the mapping of the gpioinfo output: for example line32: which is mapped to PF.03 and fan control is working (using GP_PWM7), but when using the SODIMM Pin#230 (PX.03) which shown as line 117 , i get error the following errors:
" No such file or directory: '/sys/bus/platform/devices/32e0000.pwm/pwm/p "
“Channel 117 is invalid.”
How this issue could be solved? (as SOMDIMM Pin#230 is already set to GP_PWM3)