Using CSI camera on the Jetson Orin Nx 16GB does not work

Hello,
We encountered a problem with the Jetson Orin NX 16GB with our custom board:When we use two cameras with CSI channels CSI0 and CSI1, both works. However, with the same setup but a single camera on channel CSI0, it does not work. Closing CSI1 does not help.
To summarize:
One camera on CSI0 and another on CSI1: work;
One camera on CSI0, no camera on CSI1 but channel open: does not work;
One camera on CSI0, CSI1 closed: does not work.
By “work” I mean get the video stream from the camera.

We did some testing with one camera on CSI0 and CSI1 closed:
We were able to retrieve /dev/video0, and use cmd v4l2-ctl --device=/dev/video0 --get-fmt-video to read the camera parameters normally.
However, cmd v4l2-ctl --set-fmt-video=width=2592,height=1944,pixelformat=RG10 --stream-mmap --set-ctrl=sensor_mode=0 --stream-count=100 -d /dev/video0 gives no output and does not return or terminate.

Our jetpack version is 5.1.1. I also attached my Device Tree file, where the camera CSI channel is set to CSI0(mainly in file tegra234-camera-rbpcv2-ox05b1s.dtsi line 28, 57, 253).
device-tree.zip (59.2 KB)

Hello @oliveira1,

A couple of questions:

  1. What happens if you connect 1 camera to CSI-1 and no camera to CSI-0 ?
  2. Can you share the output of dmesg in both 2 camera and 1 camera setups?
  3. What camera are you using?
  4. Did you develop the driver ?

regards,
Andrew

Using two camera working device tree and connect one camera to CSI0 to confirm the device tree.

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.