Difference between revisions of "I2c bus number and video node"

From wiki_veye
Jump to navigation Jump to search
Line 8: Line 8:
  
 
===Raspberry pi===
 
===Raspberry pi===
 +
 +
==== General ====
 
For a Raspberry Pi with only one mipi csi-2 interface, the i2c bus is 10. If your piOS is very old, then maybe it is 0.
 
For a Raspberry Pi with only one mipi csi-2 interface, the i2c bus is 10. If your piOS is very old, then maybe it is 0.
  
Line 39: Line 41:
 
|CAM1
 
|CAM1
 
|}
 
|}
 +
 +
=== Nvidia Jetson ===
 +
The following description is only for official Nvidia development boards, third party board need to be confirmed with the manufacturer.
 +
 +
 +
For AGX-Xavier and TX2, ADP-N1 has 6 MIPI CSI-2 interface [A-F],the corresponding i2c address is[30-35].
 +
 +
For Xavier NX, TX2 NX,the corresponding i2c address is CAM0--10,CAM1--9.
 +
 +
For Nano A02,Nano 2GB, the corresponding i2c address is 6.
 +
 +
For Nano B01, the corresponding i2c address is CAM0--7,CAM1--8.
 +
 +
 
== Description of video nodes ==
 
== Description of video nodes ==

Revision as of 11:57, 27 February 2022

查看中文

1 I2c bus number on different boards

For camera modules with MIPI CSI-2 interface, the i2c bus is commonly provided as the communication channel for parameter configuration. Users use the i2c protocol to access the camera registers. A series of shell scripts are provided to facilitate this operation, such as VEYE-MIPI-X I2C.sh,CS-MIPI-X I2C.sh,VEYE-MIPI-IMX335 i2c script.

Generally, there is a matching i2c bus for each MIPI CSI-2 interface on each motherboard. For all our scripts, we can use the -b [bus numer] option to indicate which i2c bus is targeted for this operation. Below, we have summarized the i2c bus serial numbers for commonly used motherboards.

1.1 Raspberry pi

1.1.1 General

For a Raspberry Pi with only one mipi csi-2 interface, the i2c bus is 10. If your piOS is very old, then maybe it is 0.

Special, for the Computer module series. Make the following description.

1.1.2 CM3

CM3 use I2C-1 to control 2 cameras,It is time-sharing multiplexing.

./camera_i2c_config [cameranum]

cameranum description
0 CAM0
1 CAM1

1.1.3 CM4

The CM4 module uses two I2C to communicate with two cameras respectively.

./camera_i2c_config

i2c bus num description
0 CAM0
10 CAM1

1.2 Nvidia Jetson

The following description is only for official Nvidia development boards, third party board need to be confirmed with the manufacturer.


For AGX-Xavier and TX2, ADP-N1 has 6 MIPI CSI-2 interface [A-F],the corresponding i2c address is[30-35].

For Xavier NX, TX2 NX,the corresponding i2c address is CAM0--10,CAM1--9.

For Nano A02,Nano 2GB, the corresponding i2c address is 6.

For Nano B01, the corresponding i2c address is CAM0--7,CAM1--8.


2 Description of video nodes