Changes

Jump to navigation Jump to search
Line 15: Line 15:     
== Hardware Setup ==
 
== Hardware Setup ==
[[File:XAVIER-FPDLINK3-4cam.jpg|center|thumb|600x600px|AGX XAVIER connnect with CS-FPD-CAMs|link=http://wiki.veye.cc/index.php/File:XAVIER-FPDLINK3-4cam.jpg]][[File:XAVIER-FPDLINK3-4cam.jpg|center|thumb|600x600px|AGX XAVIER connnect with CS-FPD-CAMs|link=http://wiki.veye.cc/index.php/File:XAVIER-FPDLINK3-4cam.jpg]][[File:TX2-FPDLINK3-4cams.jpg|center|thumb|600x600px|TX2 connect with CS-FPD-CAMs|link=http://wiki.veye.cc/index.php/File:TX2-FPDLINK3-4cams.jpg]]PS:[[FPD-LINK3-2RX Data Sheet index|FPD-LINK3-2RX]] need a 12V DC power.
+
[[File:XAVIER-FPDLINK3-4cam.jpg|center|thumb|600x600px|AGX XAVIER connnect with CS-FPD-CAMs]][[File:XAVIER-FPDLINK3-4cam.jpg|center|thumb|600x600px|AGX XAVIER connnect with CS-FPD-CAMs]][[File:TX2-FPDLINK3-4cams.jpg|center|thumb|600x600px|TX2 connect with CS-FPD-CAMs]]PS:
 +
 
 +
# [[FPD-LINK3-2RX Data Sheet index|FPD-LINK3-2RX]] need a 12V DC power.
 +
# FPD-LINK3-2RX needs power up no later than Xavier . Because Xavier detects peripherals during the startup phase.
 +
#'''Be sure to screw the ADP adapter board to the bottom board.'''
    
== Upgrade Jetson Nano, Jetson TX2, AGX Xavier and Xavier NX system ==
 
== Upgrade Jetson Nano, Jetson TX2, AGX Xavier and Xavier NX system ==
Line 44: Line 48:  
<code>ls /proc/device-tree/i2c@3180000/tca9548@70/i2c@*</code>
 
<code>ls /proc/device-tree/i2c@3180000/tca9548@70/i2c@*</code>
   −
- Xavier NX
+
- Xavier NX and TX2 NX(p3509-0000 carrier board)
    
<code>ls /proc/device-tree/cam_i2cmux/i2c@*</code>
 
<code>ls /proc/device-tree/cam_i2cmux/i2c@*</code>
Line 81: Line 85:  
|FPD-LINK3-2RX port 0
 
|FPD-LINK3-2RX port 0
 
|}
 
|}
====Xavier NX====
+
====Xavier NX and TX2 NX(p3509-0000 carrier board)====
 
{| class="wikitable"
 
{| class="wikitable"
 
!Camera Index
 
!Camera Index
Line 230: Line 234:     
=== CS-FPD-CAM Video usage, connnect to Jetson Nano B01/NX ===
 
=== CS-FPD-CAM Video usage, connnect to Jetson Nano B01/NX ===
[[File:CS-FPD-CAM connect to Jetson Nano-NX.png|center|thumb|800x800px|CS-FPD-CAM connect to Jetson Nano/NX|link=http://wiki.veye.cc/index.php/File:CS-FPD-CAM_connect_to_Jetson_Nano-NX.png]]
+
[[File:CS-FPD-CAM connect to Jetson Nano-NX.png|center|thumb|800x800px|CS-FPD-CAM connect to Jetson Nano/NX]]
    
=== CS-FPD-CAM Video usage, connnect to Jetson AGX Xavier ===
 
=== CS-FPD-CAM Video usage, connnect to Jetson AGX Xavier ===
[[File:CS-FPD-CAM connect to Jetson AGX Xavier.png|center|thumb|800x800px|CS-FPD-CAM connect to Jetson AGX Xavier|link=http://wiki.veye.cc/index.php/File:CS-FPD-CAM_connect_to_Jetson_AGX_Xavier.png]]
+
[[File:CS-FPD-CAM connect to Jetson AGX Xavier.png|center|thumb|800x800px|CS-FPD-CAM connect to Jetson AGX Xavier]]
    
=== 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's sync singal connection NEW.png|alt=|center|thumb|800x800px|CS-FPD-CAM-IMX307 sync mode's sync singal connection]]<br />SYNC signal connect J7-3 to J1-3,J7-2 to J1-2.
 +
=====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 0 -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-IMX307 connect to Jetson AGX Xavier SYNC MODE NEW.png|alt=|center|thumb|800x800px|CS-FPD-IMX307 connect to Jetson AGX Xavier SYNC MODE]]SYNC signal connect J7-3 to J1-3,J7-2 to J1-2.
 +
 +
=====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.  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]]SYNC signal connect J7-1 to J1-1,J7-2 to J1-2.
 +
 +
=====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]]SYNC signal connect J7-1 to J1-1,J7-2 to J1-2.
 +
 +
=====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