Hello NVIDIA team,
I am currently bringing up a custom UV-THG69225AW-E MIPI CSI-2 camera on a Jetson Orin NX, but I cannot get any valid image. The screen remains completely black when starting the stream.
I would appreciate help from the NVIDIA camera/CSI team to review my Device Tree and tegracam driver, which are attached to this post.
1. Jetson platform
My current platform information is:
Model:
NVIDIA Jetson Orin NX Engineering Reference Developer Kit
L4T:
R36.5.0
2. Hardware configuration
-
Camera connected to CAM1 / 15-pin FPC connector
-
2-lane MIPI CSI-2
-
Camera output: 640 × 512 @ 30 FPS
-
Pixel format: YUYV / YUV 4:2:2
-
Clock lane is connected normally.
-
Both data-lane P/N polarities are swapped on my PCB.
The actual physical connections are:
Jetson Data 0 P <--------> Camera Data 1 N
Jetson Data 0 N <--------> Camera Data 1 P
Jetson Data 1 P <--------> Camera Data 3 N
Jetson Data 1 N <--------> Camera Data 3 P
Jetson Clock P <--------> Camera Clock P
Jetson Clock N <--------> Camera Clock N
Therefore:
-
Camera Data Lane 1 → Jetson Data Lane 0
-
Camera Data Lane 3 → Jetson Data Lane 1
-
P/N polarity is swapped on both data lanes
-
Clock lane is connected normally without P/N swapping
3. Current Device Tree configuration
The relevant configuration is:
tegra_sinterface = "serial_b";
num_lanes = "2";
active_w = "640";
active_h = "512";
pixel_phase = "yuyv";
csi_pixel_bit_depth = "16";
line_length = "1294";
pix_clk_hz = "27000000";
lane_polarity = "3";
The camera is connected to CAM1 / serial_b using two data lanes.
The complete DTS is attached to this post.
4. Driver
I am using a custom tegracam-based driver for this camera.
The camera module is controlled through UART/VISCA rather than a conventional image-sensor I2C register interface. Therefore, the current driver does not configure image-sensor registers through I2C.
The driver mainly handles:
-
Camera registration with the NVIDIA tegracam framework
-
V4L2 registration
-
640 × 512 @ 30 FPS mode
-
Reset GPIO
-
MCLK
-
Start/stop streaming
The current start_streaming() implementation releases SYS_RST_N to allow the camera module to start its MIPI output.
The driver source is also attached for review.
5. Current problem
The driver can probe successfully and the V4L2 device is created, but when I start streaming:
-
No valid image is received
-
The screen remains completely black
-
No valid frame can be obtained from the camera
At this point, I am not sure whether the problem is in the Device Tree configuration, lane mapping/polarity, NVCSI configuration, or the tegracam driver implementation.
6. Request for help
Could you please review the attached DTS and driver, especially:
- The CAM1 / CSI-B 2-lane configuration
- The lane mapping and P/N polarity
lane_polarity = "3"- The 640 × 512 @ 30 FPS timing parameters
- The current tegracam driver implementation
I would also appreciate any recommended NVCSI/VI debug commands or logs that can help determine whether the MIPI data is reaching NVCSI/VI.
Thank you for your help.
Driverr.zip (6.5 KB)