ArduCAM / MIPI_Camera

235 stars 109 forks source link

Xavier NX does not boot when setting GPIO as PWM after installing Jetvariety driver #80

Open ntobler opened 3 years ago

ntobler commented 3 years ago

I have installed the camera driver using the install.sh (https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.2/install.sh) . After the installation, when trying to configure GPIO Pin 33 as PWM using the nvidia tool

sudo /opt/nvidia/jetson-io/jetson-io.py

the Jetson Xavier NX in unable to boot. After the initial Nvidia logo, the system is stuck and shows a black screen with a static _. The heat sink gets very hot, as the fan is not running. I was not able to recover from this state, so I flashed the image again.

With a fresh image, before installing the driver, setting the Pin as PWM is successful since gp is returned by

sudo /opt/nvidia/jetson-io/config-by-pin.py -p 33

After installing the driver, however, the configuration is reset to unused. I encountered the same issue after configuring the Pin as PWM again.

Is it possible that the camera driver reserves some GPIOs on the header?

Hardware: Nvidia Jetson Xavier NX developper kit Image: jetson-nx-jp441-sd-card-image.zip Commit: 315574e548fccf2bf06e5293ad013f636015e54d