Hello y’all,
I’m switching my product from jetson nano developer kit B01 to OKDO C100 since the first one is being discontinued.
I was using the GPIO to control led on my product and more precisely the PWM functionalities. However, on the OKDO kit, the PWM are not activated. I tried to configure the /boot/dtb but not successfully.
Two questions :
Is the OKDO kit supporting pwm GPIO ?
If yes, how to edit the /boot/dtb file to make it works on boot ?
Moreover, the pin are set to 5V on boot, is there a way to set it to 0V on boot ?
Thank you for your answer !
Modification of the dtb boot file :
Hi vincent.garcia,
What’s the Jetpack version in use?
It seems a custom carrier board so that your vendor may know more details about it.
I assume it has similar design as Jetson Nano devkit, then you should configure the pinmux for PWM before use.
Which PIN do you mean? How do you configure it in pinmux?
Hello Kevin,
Thank you for the reply, yes it’s the c100 carrier board from okdo with the nvidia jetson nano emmc : References for OKdo Nano C100 Developer Kit (a NVIDIA Jetson Nano Developer Kit B01 - The Jetson Nano Computing Module Compatible Board) · GitHub
I cannot access access the pinmux. When I try to open the jetson-io, it automatically shutdown …
That is why I tried editing directly in the dtb file but unsuccessfully.
Do you know how I can edit the pinmux in another why ?
Thanks !
Jetson -IO may not work with the custom carrier board.
What’s the Jetpack version in use?
Please refer to NVIDIA Jetson Linux Developer Guide : Jetson Module Adaptation and Bring-Up | NVIDIA Docs to update pinmux for Jetson Nano.
Thank you Kevin.
The Jetpack version of the image created by Okdo for its carrier board is based on the JetPack 4.6.1
I tried to edit the pinmux and configurate my pins 32 and 33 to PWM but no success for now … Do you have another method ?
How did you verify PWM on Jetson Nano?
Have you tried using simple_pwm.py in Jetson-GPIO?
Hello Kevin,
I’m using python directly in the terminal with a led driver connected to the PWM pin 32 or 33 and GND.
Here is the command (this command are working with the original jetson board) :
import Jetson.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(32, GPIO.OUT)
GPIO.setup(33, GPIO.OUT)
p1 = GPIO.PWM(32, 100)
p2 = GPIO.PWM(33, 100)
p1.start(50)
p2.start(50)
Could you just refer to the following steps to run simple_pwm.py to verify?
$ sudo apt install git python3-pip pip
$ git clone https://github.com/NVIDIA/jetson-gpio.git
$ cd jetson-gpio
$ sudo python3 setup.py install
$ cd samples
$ sudo python simple_pwm.py
which should generate pwm signal from PIN33 by default.
Hello Kevin,
I’ve tried to follow your steps. The led is going on however no pwm, it just stays on to the maximum value.
There is no update from you for a period, assuming this is not an issue anymore.
Hence, we are closing this topic. If need further support, please open a new one.
Thanks
Isn’t your LED controlled by PWM?
Do you mean that LED is ON but there’s no PWM signal?
If so, what’s the signal you’ve measured now?