Difference between revisions of "Camera module Stream Mode manual"

From wiki_veye
Jump to navigation Jump to search
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  
 
[[Camera module Stream Mode manual/zh|查看中文]]
 
[[Camera module Stream Mode manual/zh|查看中文]]
===适用型号===
+
===Applicable Product models===
 
CS-MIPI-IMX307
 
CS-MIPI-IMX307
===码流模式概念===
+
===The concept of image synchronization mode===
 
====free running====
 
====free running====
这个模式下,摄像机模组自有运行,多路摄像机的曝光和采样处于随机状态。
+
In this mode, the camera module runs on its own.
 
====stream sync mode====
 
====stream sync mode====
一个摄像机模组配置为master模式,其余多个摄像机模组配置为slave模式。
+
One camera module is configured in master mode, and the other camera modules are configured in slave mode.
  
master模式的摄像机模组,输出XVS和XHS信号,slave模式下的摄像机模组跟随master模组进行感光和输出数据。
+
The camera module in master mode outputs XVS and XHS signals, while the camera module in slave mode follows the master module for exposure and output data.
  
此模式下,摄像机模组的曝光参数,可以配置为手动,也可以配置为自动。
+
In this mode, the exposure parameters of the camera module can be configured manually or automatically.
===硬件连接方法===
+
===Hardware connection of sync mode===
====两路摄像头实现双目的连接方法====
+
According to the following config method, J7-3 is used as the XVS signal and J7-1 as the XHS signal.(note: In version LV3.3, XHS signals no longer need to be connected)
<br />
 
====Jetson TX2/Xavier 6路同步的连接和设置方法====
 
  
 +
XVS time sequence diagram:[[File:XVS Timeing.png|alt=XVS time sequence diagram|center|thumb|800x800px|XVS timing sequence diagram]]
 +
====The method of connecting two cameras====
 +
[[File:CS-MIPI-IMX307双模组同步示意图.png|alt=CS-MIPI-IMX307双模组同步示意图|thumb|800x800px|CS-MIPI-IMX307 2 cameras sync mode(note: In version LV3.3, XHS signals no longer need to be connected) |center]]
 +
=====Jetson nano B01 config=====
 +
Reference link:[[CS-MIPI-X i2c/zh|cs_mipi_i2c.sh usage]]
  
<br />
+
*set cam0 as master
 +
 
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 0 -b 7</code>
 +
 
 +
*set cam1 as slave
 +
 
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 8</code>
 +
====Jetson TX2/Xavier 6 cameras sync mode connection and configration====
 +
[[File:ADP-N1-6CAM YT0.95-4I.jpg|alt=6cam interposer board connected with 6 cameras|thumb|800x800px|6cam interposer board connected with 6 cameras|center]]<br />
 +
=====Jetson TX2/Xavier config=====
 +
Reference link:[[CS-MIPI-X i2c/zh|cs_mipi_i2c.sh usage]]
 +
 
 +
*set cam0 as master
 +
 
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 0 -b 30</code>
 +
 
 +
*set other 5 cameras as slave
 +
 
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 31</code>
 +
 
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 32</code>
 +
 
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 33</code>
 +
 
 +
<code>./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 34</code>
 +
 
 +
./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 35<br />

Latest revision as of 13:52, 29 March 2021

查看中文

1 Applicable Product models

CS-MIPI-IMX307

2 The concept of image synchronization mode

2.1 free running

In this mode, the camera module runs on its own.

2.2 stream sync mode

One camera module is configured in master mode, and the other camera modules are configured in slave mode.

The camera module in master mode outputs XVS and XHS signals, while the camera module in slave mode follows the master module for exposure and output data.

In this mode, the exposure parameters of the camera module can be configured manually or automatically.

3 Hardware connection of sync mode

According to the following config method, J7-3 is used as the XVS signal and J7-1 as the XHS signal.(note: In version LV3.3, XHS signals no longer need to be connected)

XVS time sequence diagram:

XVS time sequence diagram
XVS timing sequence diagram

3.1 The method of connecting two cameras

CS-MIPI-IMX307双模组同步示意图
CS-MIPI-IMX307 2 cameras sync mode(note: In version LV3.3, XHS signals no longer need to be connected)
3.1.1 Jetson nano B01 config

Reference link:cs_mipi_i2c.sh usage

  • set cam0 as master

./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 0 -b 7

  • set cam1 as slave

./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 8

3.2 Jetson TX2/Xavier 6 cameras sync mode connection and configration

6cam interposer board connected with 6 cameras
6cam interposer board connected with 6 cameras


3.2.1 Jetson TX2/Xavier config

Reference link:cs_mipi_i2c.sh usage

  • set cam0 as master

./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 0 -b 30

  • set other 5 cameras as slave

./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 31

./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 32

./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 33

./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 34

./cs_mipi_i2c.sh -w -f streammode -p1 1 -p2 1 -b 35