We are developing camera module for our custom build Nvidia Jetson Nano Carrier board.
I am using IMX415 SONY image sensor. That I interfaced with SOM through CSI.
I am using CSI Port 4 (two lane) and CAM_I2C for interface.
Please check given dtsi for module interface. imx415.txt (9.2 KB)
In this case drivers are compiled successfully and its inserted in OS.
I am getting Video 0 device for camera module.
But issue is that when I try to read video0 stream I am getting green screen.
I checked on debug screen , I am not getting any error but no picture is coming.
Then I checked actual signals on camera module while interface is on.
Then on both data lanes I have observed pulses but on CLK lane I am not getting any pulse.
I’m missing something?
Please guide me on this.
it looks you’re actually using port-index = <2> by checking your sensor device tree.
please double check the configuration, please have device tree settings as same as your hardware connection.
Thanks a lot for reply.
I am using CSI Port 4 (two lane). Initially I was also confused about indexing of Ports.
In Nano for CSI Port 0 given index 0, for CSI Port 2 given index 4.
Then I search on forum and I got following link
according to this link I have decided to then index 2 for CSI Port 4.
Please guide me if I missing something.
please refer to Port Index for the CSI/VI port index mappings.
regrading to CSI port-2, you may see-also board schematics, which is using CSI-E, (so, index will be 4)
Thanks a lot for reply.
But in one of my old project I already used CSI PORT 2 with 2 lane and there I consider port index 4 and there it work fine.
I think for CSI PORT 4 there is different indexing number.
I checked above link but there also its not clear about indexing.
If you have any reference on this please let me know.
you may refer to Jetson Nano Product Design Guide for [Table 8-1. CSI Pin Description].
CSI PORT 2 it maps to CSI-C/D for up-to 4-lane config, you may use CSI-C only for 2-lane config.
Thanks for reply.
Our custom carrier board is design in such a way that we have to use CSI4 port either in two lane or four lane mode and CAM I2C for configuration.
Other CSI ports are used for different application.
Please guide me on to finalize port index of VI and CSI port.
That will really help me to proceed on development.
Thanks for support.
you should check design guide for [CSI Pin Description] ultimately.
device tree setting, port-index maps to CSI and VI bricks,
for example,
A 2-lane camera on CSI-A is assigned with port-index=<0>;, it’s 1st VI block port-index=<0>; for processing the frame.
A 4-lane camera on CSI-E is assigned with port-index=<4>;, it’s 4th VI block port-index=<4>; for processing the frame.
Hello,
Thanks a lot for reply.
As we know Nano default setup provide built in driver for IMX219 image sensor module.
If you check in Nano source hardware/nvidia/platform/t210/porg/kernel-dts/porg-platforms folder there are plenty of dtsi given for IMX219 image sensor.
We can say that those dtsi for Nvidia Jetson Nano Devkit where it has two Camera connectors CAMERA 0 and CAMERA 1.
As per schematic CAMERA 0 use CSI0 port where as CAMERA 1 use CSI2 port in both of them 2 lanes are given.
If you check on dtsi named tegra210-camera-rbpcv2-imx219.dtsi its for dual IMX219 camera module connections. tegra210-camera-rbpcv2-dual-imx219.txt (25.6 KB)
In this dtsi CSI Port 0 in defined by port_index =0 and CSI Port 2 is defined by port_index = 4.
Then I think so CSI-E port index should not be 4.
Then what is port_index for CSI Port 4?
Please guide me on this.
please check design guide for [CSI Pin Description].
as mentioned, please check the CSI brick it’s used. it’s camera connector #1 for using CSI-A (port_index=<0>) and camera connector #2 for using CSI-E (port_index=<4>)
Thanks a lot for reply.
Sorry for delay.
I was trying to find design guide for CSI Pin Description but I won’t find particular details for CSI port indexing.
I checked in product design guideline and in TRM for NANO but I am not getting any topic which explain how to do port indexing for all CSI ports of Nano?
Is it separate document?
If you have any link for that document then please share.
Thanks for support.