Changes

Jump to navigation Jump to search
6,310 bytes added ,  13:52, 8 November 2020
Line 237: Line 237:  
=== CS-FPD-CAM-IMX307 sync mode,connnect to Jetson Nano B01/NX ===
 
=== CS-FPD-CAM-IMX307 sync mode,connnect to Jetson Nano B01/NX ===
 
[[File:CS-FPD-CAM-IMX307 sync mode.png|center|thumb|800x800px|CS-FPD-CAM-IMX307 sync mode's sync singal connection|link=http://wiki.veye.cc/index.php/File:CS-FPD-CAM-IMX307_sync_mode.png]]
 
[[File:CS-FPD-CAM-IMX307 sync mode.png|center|thumb|800x800px|CS-FPD-CAM-IMX307 sync mode's sync singal connection|link=http://wiki.veye.cc/index.php/File:CS-FPD-CAM-IMX307_sync_mode.png]]
 +
=====Step 1:=====
 +
On the motherboard of the two cameras, execute:
 +
 +
<code>ls /dev/video*</code>
 +
 +
The presence of a video0,video1, indicates that the camera has been correctly detected and the video can be connected.
 +
=====Step 2:=====
 +
After Step 1,
 +
 +
*Configure cam0 as the master
 +
 +
<code>./fpdlink3_i2c.sh -f sync_init -p 0 -p1 0 -b [i2c_bus_num]</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 0 -b [i2c_bus_num] -d 0x3b</code>
 +
 +
*Configure cam1 as the slave
 +
 +
<code>./fpdlink3_i2c.sh -f sync_init -p 1 -p1 1 -b [i2c_bus_num]</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b [i2c_bus_num] -d 0x3b</code>
 +
=====Step 3:=====
 +
The stream acquisition and I2C instruction control of the camera are exactly the same as those of the camera with the MIPI interface now.
 +
 +
=== CS-FPD-CAM-IMX307 sync mode,connnect to Jetson AGX Xavier ===
 +
[[File:CS-FPD-CAM-IMX307 connect to Xavier.png|center|thumb|800x800px|CS-FPD-IMX307 connect to Jetson AGX Xavier SYNC MODE|link=http://wiki.veye.cc/index.php/File:CS-FPD-CAM-IMX307_connect_to_Xavier.png]]
 +
=====Step 1:=====
 +
On the motherboard of the two cameras, execute:
 +
 +
<code>ls /dev/video*</code>
 +
 +
The presence of a video0-7, indicates that the camera has been correctly detected and the video can be connected.
 +
=====Step 2:=====
 +
After Step 1,
 +
 +
*Configure cam0 as the master
 +
 +
<code>./fpdlink3_i2c.sh -f sync_init -p 0 -p1 0 -b [i2c_bus_num]</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 0 -b [i2c_bus_num] -d 0x3b</code>
 +
 +
*Configure cam1-cam7 as the slave
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f sync_init -p 1 -p1 1 -b 30</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 30 -d 0x3c</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f sync_init -p 0 -p1 1 -b 31</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 31 -d 0x3b</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f sync_init -p 1 -p1 1 -b 31</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 31 -d 0x3c</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f sync_init -p 0 -p1 1 -b 32</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 32 -d 0x3b</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f sync_init -p 1 -p1 1 -b 32</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 32 -d 0x3c</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f sync_init -p 0 -p1 1 -b 33</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 33 -d 0x3b</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f sync_init -p 1 -p1 1 -b 33</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 33 -d 0x3c</code>
 +
=====Step 3:=====
 +
The stream acquisition and I2C instruction control of the camera are exactly the same as those of the camera with the MIPI interface now.
 +
=====SYNC signal connection:=====
 +
The synchronization signal is connected as shown in the figure above. J5 needs to be connected with J7's 2, 4, 6 and 8pin, and J6 is connected with J8's 2, 4, 6 and 8pin.
 +
 +
For the schematic diagram of the SYNC signal, please refer to:
 +
 +
*[[FPD-LINK3-2RX Data Sheet index|FPD-LINK3-2RX Datasheet]]
 +
 +
*[[ADP-N2 Data Sheet index|ADP-N2 Datasheet]]
 +
 +
*[[ADP-N3 Data Sheet index|ADP-N3 Datasheet]]
 +
 +
=== CS-FPD-CAM-SC132 Trigger mode,connnect to Jetson Nano B01/NX ===
 +
[[File:CS-FPD-CAM-SC132 trigger mode new.png|alt=|center|thumb|780x780px|CS-FPD-CAM-SC132 trigger mode's trigger signal|link=http://wiki.veye.cc/index.php/File:CS-FPD-CAM-SC132_trigger_mode_new.png]]
 +
=====Step 1:=====
 +
On the motherboard of the camera, execute:
 +
 +
<code>ls /dev/video*</code>
 +
 +
The presence of a video0, indicates that the camera has been correctly detected and the video can be connected.
 +
=====Step 2:=====
 +
<code>./fpdlink3_i2c_jetson.sh -f trigger_init -p 0 -b [i2c_bus_num] -d 0x3b</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 3 -b [i2c_bus_num] -d 0x3b</code>
 +
 +
Configure port 0 as trigger mode.
 +
=====Step 3:=====
 +
After Step 1, the I2C to control camera is ready.The stream acquisition and I2C instruction control of the camera are exactly the same as those of the camera with the MIPI interface now.
 +
 +
Refer to [[Camera_module_Trigger_Mode_manual]] to configure the camera.
 +
 +
=== CS-FPD-CAM-SC132 Trigger mode,connnect to Jetson AGX Xavier ===
 +
[[File:CS-FPD-SC132-Xavier-TRIGGER.png|center|thumb|800x800px|CS-FPD-SC132-Xavier- trigger mode's trigger signal|link=http://wiki.veye.cc/index.php/File:CS-FPD-SC132-Xavier-TRIGGER.png]]
 +
=====Step 1:=====
 +
On the motherboard of the camera, execute:
 +
 +
<code>ls /dev/video*</code>
 +
 +
The presence of a video0-7, indicates that the camera has been correctly detected and the video can be connected.
 +
=====Step 2:=====
 +
<code>./fpdlink3_i2c_jetson.sh -f trigger_init -p 0 -b 30 -d 0x3b</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 3 -b 30 -d 0x3b</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f trigger_init -p 1 -b 30 -d 0x3c</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 3 -b 30 -d 0x3c</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f trigger_init -p 0 -b 31 -d 0x3b</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 3 -b 31 -d 0x3b</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f trigger_init -p 1 -b 31 -d 0x3c</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 3 -b 31 -d 0x3c</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f trigger_init -p 0 -b 32 -d 0x3b</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 3 -b 32 -d 0x3b</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f trigger_init -p 1 -b 32 -d 0x3c</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 3 -b 32 -d 0x3c</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f trigger_init -p 0 -b 33 -d 0x3b</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 3 -b 33 -d 0x3b</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f trigger_init -p 1 -b 33 -d 0x3c</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 3 -b 33 -d 0x3c</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f trigger_init -p 0 -b 34 -d 0x3b</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 3 -b 34 -d 0x3b</code>
 +
 +
<code>./fpdlink3_i2c_jetson.sh -f trigger_init -p 1 -b 34 -d 0x3c</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 3 -b 34 -d 0x3c</code>
 +
 +
Configure all cameras as trigger mode.
 +
=====Step 3:=====
 +
After Step 1, the I2C to control camera is ready.The stream acquisition and I2C instruction control of the camera are exactly the same as those of the camera with the MIPI interface now.
 +
 +
Refer to [[Camera_module_Trigger_Mode_manual]] to configure the camera.

Navigation menu