Line 6:
Line 6:
The RAW series cameras have only one mcu as an auxiliary control chip and do not contain an ISP module. Therefore, its functions are a subset of the MV series. Whether or not the feature is applicable to RAW series cameras will be listed in the description of each feature later on.
The RAW series cameras have only one mcu as an auxiliary control chip and do not contain an ISP module. Therefore, its functions are a subset of the MV series. Whether or not the feature is applicable to RAW series cameras will be listed in the description of each feature later on.
−
−
In addition, RAW series cameras support SDA (Sensor direct access) mode, which will be detailed in the last section of this article.
To facilitate rapid development, we provide hardware datasheet , register manuals and drivers for embedded platforms, demos.
To facilitate rapid development, we provide hardware datasheet , register manuals and drivers for embedded platforms, demos.
Line 21:
Line 19:
!Shutter Mode
!Shutter Mode
|-
|-
−
| rowspan="6" |MV series
+
| rowspan="7" |MV series
|MV-MIPI-IMX178M
|MV-MIPI-IMX178M
|3088×2064@22.3 fps
|3088×2064@22.3 fps
Line 27:
Line 25:
|-
|-
|MV-MIPI-IMX287M
|MV-MIPI-IMX287M
−
|720×544 @ 530fps RAW8
+
|720×544 @ 523fps RAW8
720×544 @ 437fps RAW10
720×544 @ 437fps RAW10
Line 48:
Line 46:
|MV-MIPI-IMX264M
|MV-MIPI-IMX264M
|2464×2056@35fps
|2464×2056@35fps
+
|Global
+
|-
+
|MV-MIPI-GMAX4002M
+
|4lane@8bit mode:2048 x 1200 @213fps
+
4lane@10bit mode:2048 x 1200 @185fps
+
+
4lane@12bit mode:2048 x 1200 @158fps
+
+
2lane@8bit mode:2048 x 1200 @112fps
+
+
2lane@10bit mode:2048 x 1200 @99fps
+
+
2lane@12bit mode:2048 x 1200 @84fps
|Global
|Global
|-
|-
Line 66:
Line 77:
|-
|-
|RAW-MIPI-SC535M
|RAW-MIPI-SC535M
−
|4lane@8bit mode:2448 x 2048 @100fps
+
|4lane@8bit mode:2448 x 2048 @83fps
−
4lane@10bit mode:2448 x 2048 @82fps
+
4lane@10bit mode:2448 x 2048 @80fps
4lane@12bit mode:2448 x 2048 @70fps
4lane@12bit mode:2448 x 2048 @70fps
−
2lane@8bit mode:2448 x 2048 @53fps
+
2lane@8bit mode:2448 x 2048 @54fps
−
2lane@10bit mode:2448 x 2048 @43fps
+
2lane@10bit mode:2448 x 2048 @42fps
−
2lane@12bit mode:2448 x 2048 @36fps
+
2lane@12bit mode:2448 x 2048 @35fps
|Global
|Global
|}
|}
Line 103:
Line 114:
==== Normal trigger mode ====
==== Normal trigger mode ====
+
In normal trigger mode, it is recommended to set the '''fps''' to the '''maxfps''' value to ensure the highest trigger signal responsiveness.
===== Rolling shutter =====
===== Rolling shutter =====
Line 126:
Line 138:
The following figure shows an example of a trigger period with Trigger Number set to 2:
The following figure shows an example of a trigger period with Trigger Number set to 2:
[[File:Normal trigger mode (Global shutter).png|center|thumb|800x800px|Smartsens's Normal trigger mode (Global shutter)]]
[[File:Normal trigger mode (Global shutter).png|center|thumb|800x800px|Smartsens's Normal trigger mode (Global shutter)]]
−
<br />For RAW series modules, Exposure Delay and Trigger Dealy are not supported and Trigger number only support 1.
+
<br />For RAW series modules, Exposure Delay is not supported.
===== Sony's Global shutter =====
===== Sony's Global shutter =====
−
This section applies to model: MV-MIPI-IMX296M,MV-MIPI-IMX265M,MV-MIPI-IMX264M,MV-MIPI-IMX287M.
+
This section applies to model: MV-MIPI-IMX296M,MV-MIPI-IMX265M,MV-MIPI-IMX264M,MV-MIPI-IMX287M,MV-MIPI-GMAX4002M.
For Sony's global shutter sensor, the readout of the previous frame and the exposure of the next frame can be synchronized in the trigger mode.
For Sony's global shutter sensor, the readout of the previous frame and the exposure of the next frame can be synchronized in the trigger mode.
Line 136:
Line 148:
[[File:Sony's Normal trigger mode (Global shutter).png.png|link=http://wiki.veye.cc/index.php/File:Sony's%20Normal%20trigger%20mode%20(Global%20shutter).png.png|center|thumb|800x800px|Sony's Normal trigger mode (Global shutter)]]
[[File:Sony's Normal trigger mode (Global shutter).png.png|link=http://wiki.veye.cc/index.php/File:Sony's%20Normal%20trigger%20mode%20(Global%20shutter).png.png|center|thumb|800x800px|Sony's Normal trigger mode (Global shutter)]]
<br />
<br />
−
==== High-speed continuous trigger mode ====
−
===== Rolling shutter =====
+
==== Pulse trigger mode ====
+
This section applies to model: MV-MIPI-IMX296M,MV-MIPI-IMX265M,MV-MIPI-IMX264M,MV-MIPI-IMX287M,MV-MIPI-SC130M,MV-MIPI-GMAX4002M.
+
+
In pulse trigger mode, the width of the level signal controls the exposure time.
+
+
This mode does not support parameters such as trigger delay, trigger interval, or trigger count, but it does support the ''trigger filter'' and the ''exposure delay'' parameter.
+
[[File:Pulse trigger mode (Global shutter).png|link=http://wiki.veye.cc/index.php/File:Pulse%20trigger%20mode%20(Global%20shutter).png|center|thumb|800x800px|Pulse trigger mode (Global shutter)]]
+
+
==== Rolling shutter multi-frame trigger mode ====
This section applies to model: MV-MIPI-IMX178M.
This section applies to model: MV-MIPI-IMX178M.
Line 152:
Line 171:
==== Trigger source ====
==== Trigger source ====
The soft trigger and hard trigger are only different in the source of trigger signal. The trigger delay, exposure delay, trigger frame number, trigger interval configurations and functions are exactly the same.
The soft trigger and hard trigger are only different in the source of trigger signal. The trigger delay, exposure delay, trigger frame number, trigger interval configurations and functions are exactly the same.
+
+
Note that the Trigger Source setting is only valid for Normal Trigger Mode and Rolling Shutter Multi-Frame Trigger Mode.
Related commands :trgsrc.
Related commands :trgsrc.
Line 207:
Line 228:
|Mono8,Mono10,Mono12
|Mono8,Mono10,Mono12
|sensor's AD is 12bit-depth
|sensor's AD is 12bit-depth
+
|-
+
|MV-MIPI-GMAX4002M
+
|Mono8,Mono10,Mono12
+
|sensor的AD is 10,12bit-depth
|-
|-
|RAW-MIPI-SC132M
|RAW-MIPI-SC132M
Line 214:
Line 239:
|RAW-MIPI-IMX462M
|RAW-MIPI-IMX462M
|Mono10,Mono12
|Mono10,Mono12
−
|sensor的AD is 10,12bit-depth
+
|sensor's AD is 10,12bit-depth
|-
|-
|RAW-MIPI-AR0234M
|RAW-MIPI-AR0234M
|Mono8,Mono10
|Mono8,Mono10
−
|sensor的AD is 10bit-depth
+
|sensor's AD is 10bit-depth
|-
|-
|RAW-MIPI-SC535M
|RAW-MIPI-SC535M
Line 302:
Line 327:
|1920 x 1080
|1920 x 1080
| 67
| 67
+
|
+
|-
+
| rowspan="6" |MV-MIPI-GMAX4002M
+
|2048 x 1200@4lane RAW8
+
|213
+
|
+
|-
+
|2048 x 1200@4lane RAW10
+
|185
+
|
+
|-
+
|2048 x 1200@4lane RAW12
+
|158
+
|
+
|-
+
|2048 x 1200@2lane RAW8
+
|112
+
|
+
|-
+
|2048 x 1200@2lane RAW10
+
|99
+
|
+
|-
+
|2048 x 1200@2lane RAW12
+
|84
|
|
|-
|-
Line 361:
Line 411:
The parameters of the output region include the horizontal offset (x), vertical offset (y), width (w), and height (h) of the output region.
The parameters of the output region include the horizontal offset (x), vertical offset (y), width (w), and height (h) of the output region.
+
+
In the case of full-frame output, the coordinates of the top-left corner of the image are (0, 0).
By default, the ROI area of the camera is the full resolution area of the sensor.
By default, the ROI area of the camera is the full resolution area of the sensor.
Line 393:
Line 445:
|MV-MIPI-IMX264M
|MV-MIPI-IMX264M
|264x4
|264x4
+
|
+
|-
+
|MV-MIPI-GMAX4002M
+
|64x64
|
|
|-
|-
Line 525:
Line 581:
|MV-MIPI-IMX264M
|MV-MIPI-IMX264M
|0-48dB
|0-48dB
+
|0.1dB
+
|-
+
|MV-MIPI-GMAX4002M
+
|Analog Gain:0 dB to 11.6 dB
+
Digital Gain: 6 dB to 23.8 dB
|0.1dB
|0.1dB
|-
|-
Line 589:
Line 650:
Related command:lutenable,lut.
Related command:lutenable,lut.
+
+
==== OSD Overlay ====
+
Certain camera modules perform an OSD overlay function after the ISP process.
+
+
* Mode 1:
+
+
Overlay a square cross at the center of the image with both width and height of 150 pixels, and a stroke width of 2 pixels. This is used for coordinate calibration.
+
+
Related command: osdmode
===IO Control===
===IO Control===
Line 613:
Line 683:
===== Trigger Delay =====
===== Trigger Delay =====
−
MV series cameras have a trigger delay function. The trigger delay time can be set to [1,1000000]us. It is in effect for both hard and soft triggers.
+
MV and RAW series cameras have a trigger delay function. The trigger delay time can be set to [1,1000000]us. It is in effect for both hard and soft triggers.
Related commands :trgdelay.
Related commands :trgdelay.
Line 628:
Line 698:
===== Strobe =====
===== Strobe =====
In this mode, the camera sends a trigger signal to activate the flash. Strobe signal is active high, and when the trigger signal is received, the strobe signal level is pulled up, and the pull-up time is the sum of the '''''exposure delay''''' and '''''trigger cycle'''''.
In this mode, the camera sends a trigger signal to activate the flash. Strobe signal is active high, and when the trigger signal is received, the strobe signal level is pulled up, and the pull-up time is the sum of the '''''exposure delay''''' and '''''trigger cycle'''''.
+
+
The strobe signal of the RAW series cameras is directly output by the sensor, representing the accurate exposure time period.
===== UserOut =====
===== UserOut =====
Line 638:
Line 710:
The camera's trigger wait signal can be used to optimize trigger image acquisition and can effectively avoid the problem of over-triggering.
The camera's trigger wait signal can be used to optimize trigger image acquisition and can effectively avoid the problem of over-triggering.
+
+
===== Diagram of Strobe and TriggerWait signals =====
====== Smartsens's Normal trigger mode(Global shutter) ======
====== Smartsens's Normal trigger mode(Global shutter) ======
+
This section applies to model: MV-MIPI-SC130M,RAW-MIPI-SC132M,RAW-MIPI-SC535M.
+
The following figure lists the Strobe signal and the TriggerWait signal with the number of trigger frames set to 2 as an example.
The following figure lists the Strobe signal and the TriggerWait signal with the number of trigger frames set to 2 as an example.
[[File:Normal trigger mode details (Global shutter).png|center|thumb|800x800px|Smartsens's Normal trigger mode details (Global shutter)]]
[[File:Normal trigger mode details (Global shutter).png|center|thumb|800x800px|Smartsens's Normal trigger mode details (Global shutter)]]
<br />
<br />
====== Sony's Normal trigger mode(Global shutter) ======
====== Sony's Normal trigger mode(Global shutter) ======
+
This section applies to model: MV-MIPI-IMX296M,MV-MIPI-IMX265M,MV-MIPI-IMX264M,MV-MIPI-IMX287M,MV-MIPI-GMAX4002M.
+
The following figure lists the Strobe signal and the TriggerWait signal with the number of trigger frames set to 2 as an example.
The following figure lists the Strobe signal and the TriggerWait signal with the number of trigger frames set to 2 as an example.
−
[[File:Sony Normal trigger mode detail(Global shutter).png.png|link=http://wiki.veye.cc/index.php/File:Sony%20Normal%20trigger%20mode%20detail(Global%20shutter).png.png|center|thumb|800x800px|Sony's Normal trigger mode, Strobe and TriggerWait]]
+
[[File:Sony Normal trigger mode detail(Global shutter).png.png|link=http://wiki.veye.cc/index.php/File:Sony%20Normal%20trigger%20mode%20detail(Global%20shutter).png.png|center|thumb|800x800px|Sony's Normal trigger mode, Strobe and TriggerWait]]<br />
+
+
====== Sony and Smartsens's Pulse trigger mode(global shutter) ======
+
This section applies to model: MV-MIPI-IMX296M,MV-MIPI-IMX265M,MV-MIPI-IMX264M,MV-MIPI-IMX287M,MV-MIPI-SC130M,MV-MIPI-GMAX4002M.
+
[[File:Pulse trigger mode details (Global shutter).png|link=http://wiki.veye.cc/index.php/File:Pulse%20trigger%20mode%20details%20(Global%20shutter).png|center|thumb|800x800px|Pulse trigger mode details (Global shutter)]]
+
+
====== Sony's Normal trigger mode(Rolling shutter) ======
+
This section applies to model: MV-MIPI-IMX178M.
−
====== Normal trigger mode(Rolling shutter) ======
The following figure lists the Strobe signal and the TriggerWait signal with the number of trigger frames set to 2 as an example.
The following figure lists the Strobe signal and the TriggerWait signal with the number of trigger frames set to 2 as an example.
[[File:Rolling shutter Normal trigger mode full-new.png|alt=|center|thumb|800x800px|Normal trigger mode ; Strobe and TriggerWait]]
[[File:Rolling shutter Normal trigger mode full-new.png|alt=|center|thumb|800x800px|Normal trigger mode ; Strobe and TriggerWait]]
−
====== High-speed trigger mode(Rolling shutter) ======
+
====== Sony's Rolling shutter multi-frame trigger mode ======
+
This section applies to model: MV-MIPI-IMX178M.
+
The following figure lists the Strobe signal and the TriggerWait signal with the number of trigger frames set to 3 as an example.
The following figure lists the Strobe signal and the TriggerWait signal with the number of trigger frames set to 3 as an example.
[[File:Rolling shutter High-speed trigger mode full-2.png|alt=|center|thumb|800x800px|High-speed trigger mode; Strobe and TriggerWait]]
[[File:Rolling shutter High-speed trigger mode full-2.png|alt=|center|thumb|800x800px|High-speed trigger mode; Strobe and TriggerWait]]
Line 671:
Line 757:
Related commands :gpios_status.
Related commands :gpios_status.
−
=== Special note for RAW series camera ===
+
=== Special note for RAW series camera Trigger Delay ===
−
RAW series cameras have only one MCU as the auxiliary chip. Normal mode and SDA mode can be switched by [[Mv mipi i2c.sh user guide#mcubypass|mcubypass]] command.
+
For RAW series cameras, the trigger signal needs to be forwarded to the sensor by the MCU, and this forwarding has a fixed delay of about 950ns.
−
==== Normal mode ====
+
=== Document History ===
−
In normal mode, the motherboard cannot access the sensor directly. the MCU provides the initial configuration of the sensor and the configuration of various functions. For different embedded platforms, we have provided corresponding drivers, scripts, and demos.
−
The functions are described in the above description of this article.
+
* 2025-03-14
−
==== SDA mode ====
+
Add description about GMAX4002M.
−
SDA mode is short for Sensor Direct Access, when the MCU no longer has any control over the i2c of the sensor. The user controls the sensor directly.
−
Meanwhile, in order to provide necessary system information, mode switching, and configuration of trigger signals, the MCU itself still provides i2c interface to the outside.
+
* 2025-01-07
−
For example, the RAW series cameras has two i2c addresses in SDA mode: 0x30 is the i2c address of the sensor and 0x3b is the i2c address of the MCU.
+
1. Remove the description of the SDA mode for the RAW series products.
−
In SDA mode, the drivers and demos we provided are no longer applicable, only some [[Mv mipi i2c.sh user guide|mv_mipi_i2c.sh]] instructions and [[MV Series MIPI Camera Register Map|registers]] are available.
+
2. Add a description of the external trigger mode for the RAW series based on the upgrade achievements.
−
==== Trigger Delay ====
+
* 2024-08-27
−
For RAW series cameras, the trigger signal needs to be forwarded to the sensor by the MCU, and this forwarding has a fixed delay of about 850ns.
+
−
<br />
+
Add a description of the pulse trigger mode. Ensure it aligns with the values in the `trgmodecap` register.