Changes

Jump to navigation Jump to search
Line 1: Line 1:  +
[[MV Series MIPI Camera Register Map/zh|查看中文]]
   −
 
+
'''<big>MV Series and RAW Series MIPI Camera Register Map</big>'''
[[MV Series MIPI Camera Register Map/zh|查看中文]]
      
=== Overview ===
 
=== Overview ===
    
==== Register Features ====
 
==== Register Features ====
The register address length is 4 bytes and the data length is 2 bytes.
+
The register address length is 2 bytes and the value length is 4 bytes.
    
Register R/W attributes: '''RW''', '''RO''', '''WO'''. Only the RW  type can be saved to the camera flash.
 
Register R/W attributes: '''RW''', '''RO''', '''WO'''. Only the RW  type can be saved to the camera flash.
Line 20: Line 20:     
==== Update timing ====
 
==== Update timing ====
The camera has two states, '''standby''' and '''running''', after the start of image acquisition into the '''running''' state.
+
The camera has two states, '''standby''' and '''running'''.
 +
 
 +
After power on, it enters the '''standby''' state, and after starting image acquisition, it enters the '''running''' state.
    
In the following table, Update timing possible value is:
 
In the following table, Update timing possible value is:
Line 30: Line 32:  
-: Read only at any time.
 
-: Read only at any time.
    +
==== Raw series Support ====
 +
The RAW series camera functions as a subset of the MV series camera.
 +
 +
It contains an MCU, which is used for sensor mode configuration and trigger timing generation.
 +
 +
'''N''':Not support.
 +
 +
'''S''':Support in normal mode.
 
=== Basic Parameters ===
 
=== Basic Parameters ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 39: Line 49:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x0000
 
|0x0000
Line 47: Line 58:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|manufacturer
 
|manufacturer
 +
|S
 
|-
 
|-
 
|0x0004
 
|0x0004
Line 53: Line 65:     
0x178 : MV-MIPI-IMX178M
 
0x178 : MV-MIPI-IMX178M
 +
 +
0x130 : MV-MIPI-SC130M
 +
 +
0x265 : MV-MIPI-IMX265M
 +
 +
0x264 : MV-MIPI-IMX264M
 +
 +
0x296 : MV-MIPI-IMX296M
 +
 +
0x287 : MV-MIPI-IMX287M
 +
 +
0x4002 : MV-MIPI-GMAX4002M
 +
 +
0x8132 : RAW-MIPI-SC132M
 +
 +
0x8234 : RAW-MIPI-AR0234M
 +
 +
0x8462 : RAW-MIPI-IMX462M
 +
 +
0x8535 : RAW-MIPI-SC535M
 
|enum
 
|enum
 
|RO
 
|RO
 
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|model
 
|model
 +
|S
 
|-
 
|-
 
|0x0008
 
|0x0008
Line 63: Line 96:     
0x178 : IMX178LLJ
 
0x178 : IMX178LLJ
 +
 +
0x130 : SC130GS
 +
 +
0x265 : IMX265LLJ
 +
 +
0x264 : IMX264LLJ
 +
 +
0x296 : IMX296LLJ
 +
 +
0x287 : IMX287LLJ
 +
 +
0x132 : SC132GS
 +
 +
0x234 : AR0234CS
 +
 +
0x462 : IMX462LLR
 +
 +
0x535 : SC535HGS
 +
 +
0x4002 : GMAX4002
 
|enum
 
|enum
 
|RO
 
|RO
 
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|
 
|
 +
|S
 
|-
 
|-
 
|0x000C
 
|0x000C
Line 75: Line 129:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|
 
|
 +
|S
 
|-
 
|-
 
|0x0010
 
|0x0010
Line 85: Line 140:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|version
 
|version
 +
|S
 
|-
 
|-
 
|0x0014
 
|0x0014
Line 93: Line 149:  
|A
 
|A
 
|factoryparam
 
|factoryparam
 +
|S
 
|-
 
|-
 
|0x0018
 
|0x0018
Line 101: Line 158:  
|A
 
|A
 
|paramsave
 
|paramsave
 +
|S
 
|-
 
|-
 
|0x001C
 
|0x001C
Line 109: Line 167:  
|A
 
|A
 
|reboot
 
|reboot
 +
|S
 
|-
 
|-
 
|0x0020
 
|0x0020
Line 117: Line 176:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|timestamp
 
|timestamp
 +
|S
 
|-
 
|-
 
|0x0024
 
|0x0024
Line 135: Line 195:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|errcode
 
|errcode
 +
|S
 
|-
 
|-
 
|0x0028
 
|0x0028
Line 148: Line 209:     
bit4: UYVY
 
bit4: UYVY
 +
 +
bit5: Temperature sensor
 
|uint
 
|uint
 
|RO
 
|RO
 
| -
 
| -
 
|fmtcap
 
|fmtcap
 +
|S
 +
|-
 +
|0x002C
 +
|ReadModeCap
 +
|Capbility of read mode supported by the camera.
 +
bit0: Normal
 +
 +
bit1: Binning
 +
 +
bit2: Subsampling
 +
|uint
 +
|RO
 +
| -
 +
|readmodecap
 +
|S
 +
|-
 +
|0x0030
 +
|TriggerMode Cap
 +
|Capbility of trigger mode supported by the camera.
 +
bit0:Video streaming mode
 +
 +
bit1:Normal trigger mode.
 +
 +
bit2:Rolling shutter multi-frame trigger mode.
 +
 +
bit3:  Pulse trigger mode.
 +
 +
bit4: Continuous Trigger mode.
 +
|uint
 +
|RO
 +
| -
 +
|trgmodecap
 +
|S
 +
|-
 +
|0x0034
 +
|LaneNumCap
 +
|The number of MIPI lanes supported by the camera .
 +
The lower to higher bits correspond to the supported capabilities for 1 lane, 2 lanes, 3 lanes, and 4 lanes, respectively.
 +
 +
For example, 0x2 indicates support for 2 lanes, and 0xA indicates support for both 2 lanes and 4 lanes.
 +
|uint
 +
|RO
 +
|
 +
|lanecap
 +
|S
 +
|-
 +
|0x0038-
 +
0x0054
 +
|Camera name
 +
|String containing the self-describing name of the camera.
 +
|string
 +
|RO
 +
|
 +
|NA
 +
|S
 +
|-
 +
|0x0058
 +
|Temperature K
 +
|The sensor's temperature value, in Kelvin, is 100 times the current temperature.
 +
|uint
 +
|RO
 +
|
 +
|temp
 +
|S
 
|}
 
|}
 
=== Image Acquisition ===
 
=== Image Acquisition ===
Line 162: Line 289:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x0400
 
|0x0400
Line 174: Line 302:  
|A
 
|A
 
|imgacq
 
|imgacq
 +
|S
 
|-
 
|-
 
|0x0404
 
|0x0404
Line 181: Line 310:  
1:Normal trigger mode.
 
1:Normal trigger mode.
   −
2:High-speed continuous trigger mode.  
+
2:Rolling shutter multi-frame trigger mode.
 +
 
 +
3:  Pulse trigger mode.  
    
See product manual for details.
 
See product manual for details.
Line 188: Line 319:  
|S
 
|S
 
|trgmode
 
|trgmode
 +
|S
 
|-
 
|-
 
|0x0408
 
|0x0408
Line 194: Line 326:     
1: Hardware trigger mode.
 
1: Hardware trigger mode.
 +
 +
Effective in Trigger mode 1 and 2 only.
 
|enum
 
|enum
 
|RW
 
|RW
 
|S
 
|S
 
|trgsrc
 
|trgsrc
 +
|S
 
|-
 
|-
 
|0x040C
 
|0x040C
Line 206: Line 341:  
|S
 
|S
 
|trgnum
 
|trgnum
 +
|S
 
|-
 
|-
 
|0x0410
 
|0x0410
Line 214: Line 350:  
|S
 
|S
 
|trginterval
 
|trginterval
 +
|S
 
|-
 
|-
 
|0x0414
 
|0x0414
Line 222: Line 359:  
|A
 
|A
 
|trgone
 
|trgone
 +
|S
 
|-
 
|-
 
|0x0418
 
|0x0418
Line 234: Line 372:  
|A
 
|A
 
|trgcount
 
|trgcount
 +
|S
 
|-
 
|-
 
|0x041C
 
|0x041C
Line 242: Line 381:  
|A
 
|A
 
|i2caddr
 
|i2caddr
 +
|S
 +
|-
 +
|0x0424
 +
|MCU bypass mode
 +
|For RAW series ONLY! Once enabled, the mcu no longer controls the sensor and the user controls the sensor directly.
 +
Automatic restart after change.
 +
|bool
 +
|RW
 +
|A
 +
|mcubypass
 +
|S
 +
|-
 +
|0x044C
 +
|Non discontinuous mode
 +
|Indicates whether the clock lan of the mipi signal is in continuous clock mode. 0 :  discontinuous mode,1: continuous  mode
 +
|bool
 +
|RO
 +
|A
 +
|clkmode
 +
|S
 +
|-
 +
|0x0450
 +
|Sensor Register Addr
 +
|Indirectly read the sensor register function. Write the address of the sensor register to be read to this register.
 +
|uint
 +
|WO
 +
|A
 +
|snsreg
 +
|S
 +
|-
 +
|0x0454
 +
|Sensor Register Value
 +
|Read the sensor register value.
 +
|uint
 +
|RO
 +
|A
 +
|snsreg
 +
|S
 +
|-
 +
|0x0460
 +
|Slave mode
 +
|Whether the sensor is operating in slave mode. Currently, only RAW-MIPI-IMX462M is supported.
 +
|bool
 +
|RW
 +
|S
 +
|slavemode
 +
|S
 +
|-
 +
|0x0464
 +
|Sensor Frame Count
 +
|The number of frames output by the sensor. Cyclic counting.
 +
|uint
 +
|RO
 +
|A
 +
|framecount
 +
|N
 +
|-
 +
|0x0468
 +
|Out Frame Count
 +
|The number of frames output by the camera module. Cyclic counting.
 +
|uint
 +
|RO
 +
|A
 +
|framecount
 +
|N
 +
|-
 +
|0x006C
 +
|Min  Trigger cycle
 +
|Minimum trigger signal period, in microseconds (µs), with 0 indicating an invalid value.
 +
In pulse trigger mode, it represents the minimum interval between the end of the previous trigger level and the next trigger signal.
 +
|uint
 +
|RO
 +
|A
 +
|trgcycle
 +
|S
 +
|-
 +
|0x0070
 +
|Max Trigger  cycle
 +
|Maximum trigger signal period, in microseconds (µs), with 0 indicating an invalid value. (Valid in continuous trigger mode of SC535).
 +
|uint
 +
|RO
 +
|A
 +
|trgcycle
 +
|S
 
|}
 
|}
 +
 
=== Image Features ===
 
=== Image Features ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 252: Line 476:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x0800
 
|0x0800
Line 266: Line 491:  
|A
 
|A
 
|testimg
 
|testimg
 +
|S
 
|-
 
|-
 
|0x0804
 
|0x0804
Line 280: Line 506:  
|enum
 
|enum
 
|RW
 
|RW
|A
+
|S
 
|pixelformat
 
|pixelformat
 +
|S
 
|-
 
|-
 
|0x0808
 
|0x0808
Line 290: Line 517:  
| -
 
| -
 
|maxwh
 
|maxwh
 +
|S
 
|-
 
|-
 
|0x080C
 
|0x080C
Line 298: Line 526:  
| -
 
| -
 
|maxwh
 
|maxwh
 +
|S
 
|-
 
|-
 
|0x0810
 
|0x0810
Line 308: Line 537:  
| -
 
| -
 
|maxfps
 
|maxfps
 +
|S
 
|-
 
|-
 
|0x0814
 
|0x0814
Line 314: Line 544:     
The register value is 100 times the frame rate.
 
The register value is 100 times the frame rate.
 +
 +
In normal trigger mode, it is recommended to set the '''fps''' to the '''maxfps''' value to ensure the highest trigger signal responsiveness.
 
|uint
 
|uint
 
|RW
 
|RW
 
|S
 
|S
 
|fps
 
|fps
 +
|S
 
|-
 
|-
 
|0x0818
 
|0x0818
Line 326: Line 559:  
|S
 
|S
 
|roi
 
|roi
 +
|S
 
|-
 
|-
 
|0x081C
 
|0x081C
Line 336: Line 570:  
|S
 
|S
 
|roi
 
|roi
 +
|S
 
|-
 
|-
 
|0x0820
 
|0x0820
Line 344: Line 579:  
|S
 
|S
 
|roi
 
|roi
 +
|S
 
|-
 
|-
 
|0x0824
 
|0x0824
Line 352: Line 588:  
|S
 
|S
 
|roi
 
|roi
 +
|S
 
|-
 
|-
 
|0x0828
 
|0x0828
Line 366: Line 603:  
|A
 
|A
 
|imgdir
 
|imgdir
 +
|S
 
|-
 
|-
 
|0x0830
 
|0x0830
Line 374: Line 612:  
|A
 
|A
 
|blacklevel
 
|blacklevel
 +
|S
 +
|-
 +
|0x0834
 +
|BLC mode
 +
|Black level calibration modes:
 +
0: Sensor automatic calibration or use default black level.
 +
 +
1: Manually specify black level.
 +
|uint
 +
|RW
 +
|A
 +
|blcmode
 +
|S
 +
|-
 +
|0x0838
 +
|Read Mode
 +
|Read mode:
 +
0: Normal
 +
 +
1: Binning
 +
 +
2: Subsampling
 +
|uint
 +
|RW
 +
|A
 +
|readmode
 +
|S
 +
|-
 +
|0x083C
 +
|Lane Num
 +
|For modules that support lane number configuration, use this register to modify the lane number.
 +
|uint
 +
|RW
 +
|S
 +
|lanenum
 +
|S
 +
|-
 +
|0x0840
 +
|MIPI Datarate
 +
|The MIPI datarate for each lane, measured in Kbps.
 +
|uint
 +
|RO
 +
| -
 +
|mipidatarate
 +
|S
 +
|-
 +
|0x0844
 +
|Min  Width
 +
|The minimum width supported by the camera.
 +
|uint
 +
|RO
 +
|A
 +
|minwh
 +
|S
 +
|-
 +
|0x0848
 +
|Min Height
 +
|The minimum height supported by the camera.
 +
|uint
 +
|RO
 +
|A
 +
|minwh
 +
|S
 +
|-
 +
|0x084C
 +
|Min Frame Rate
 +
|The minimum framerate supported by the camera. The value is 10000 times the actual framerate.
 +
|uint
 +
|RO
 +
|A
 +
|minfps
 +
|S
 +
|-
 +
|0x0850
 +
|Framerate_EX
 +
|The extended register of the '''Framerate''' register, where the value is 10,000 times the actual frame rate.
 +
|uint
 +
|RW
 +
|S
 +
|fps_ex
 +
|S
 +
|-
 +
|0x0854
 +
|OSD_Mode
 +
|OSD mode bit definition:
 +
0: Disabled
 +
 +
1: Crosshair enabled, overlays a crosshair at the center of the image for assisting with coordinate calibration.
 +
|uint
 +
|RW
 +
|A
 +
|osdmode
 +
|N
 
|}
 
|}
 
=== ISP ===
 
=== ISP ===
Line 384: Line 715:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x0C00
 
|0x0C00
Line 416: Line 748:     
lutenable,
 
lutenable,
 +
|N
 
|-
 
|-
 
|0x0C04
 
|0x0C04
Line 430: Line 763:  
|A
 
|A
 
|expmode
 
|expmode
 +
|N
 
|-
 
|-
 
|0x0C08
 
|0x0C08
Line 438: Line 772:  
|A
 
|A
 
|aatarget
 
|aatarget
 +
|N
 
|-
 
|-
 
|0x0C10
 
|0x0C10
 
|ME Time
 
|ME Time
|Manual exposure time,effective in ME mode. Range[16,1000000]. <u>Note1.</u>
+
|Manual exposure time,effective in ME mode. Range[16,1000000]. <u>Note1.</u>Unit: microseconds.
 
|uint
 
|uint
 
|RW
 
|RW
 
|A
 
|A
 
|metime
 
|metime
 +
|S
 
|-
 
|-
 
|0x0C14
 
|0x0C14
 
|AE MAX Time
 
|AE MAX Time
|Maximum exposure time in AE mode.Range[16,1000000]. <u>Note1.</u>
+
|Maximum exposure time in AE mode.Range[16,1000000]. <u>Note1.</u>Unit: microseconds.
 
|uint
 
|uint
 
|RW
 
|RW
 
|A
 
|A
 
|aemaxtime
 
|aemaxtime
 +
|N
 
|-
 
|-
 
|0x0C18
 
|0x0C18
 
|Exp Time
 
|Exp Time
|Current exposure time. <u>Note1.</u>
+
|Current exposure time. <u>Note1.</u>Unit: microseconds.
 
|uint
 
|uint
 
|RO
 
|RO
 
|  -
 
|  -
 
|exptime
 
|exptime
 +
|S
 
|-
 
|-
 
|0x0C1C
 
|0x0C1C
Line 476: Line 814:  
|A
 
|A
 
|gainmode
 
|gainmode
 +
|N
 
|-
 
|-
 
|0x0C20
 
|0x0C20
Line 484: Line 823:  
|A
 
|A
 
|mgain
 
|mgain
 +
|S
 
|-
 
|-
 
|0x0C24
 
|0x0C24
Line 492: Line 832:  
|A
 
|A
 
|agmaxgain
 
|agmaxgain
 +
|N
 
|-
 
|-
 
|0x0C28
 
|0x0C28
Line 500: Line 841:  
|  -
 
|  -
 
|curgain
 
|curgain
 +
|S
 
|-
 
|-
 
|0x0C2C
 
|0x0C2C
Line 508: Line 850:  
|A
 
|A
 
|aaroi
 
|aaroi
 +
|N
 
|-
 
|-
 
|0x0C30
 
|0x0C30
Line 516: Line 859:  
|A
 
|A
 
|aaroi
 
|aaroi
 +
|N
 
|-
 
|-
 
|0x0C34
 
|0x0C34
Line 524: Line 868:  
|A
 
|A
 
|aaroi
 
|aaroi
 +
|N
 
|-
 
|-
 
|0x0C38
 
|0x0C38
Line 532: Line 877:  
|A
 
|A
 
|aaroi
 
|aaroi
 +
|N
 
|-
 
|-
 
|0x0C60
 
|0x0C60
Line 540: Line 886:  
|A
 
|A
 
|gamma
 
|gamma
 +
|N
 
|-
 
|-
 
|0x0C74
 
|0x0C74
Line 548: Line 895:  
| -
 
| -
 
|lut
 
|lut
 +
|N
 
|-
 
|-
 
|0x0C78
 
|0x0C78
Line 556: Line 904:  
|A
 
|A
 
|lut
 
|lut
 +
|N
 
|-
 
|-
 
|0x0C7C
 
|0x0C7C
Line 564: Line 913:  
|A
 
|A
 
|lut
 
|lut
 +
|N
 
|-
 
|-
 
|0x0C80
 
|0x0C80
Line 572: Line 922:  
|A
 
|A
 
|aaroienable
 
|aaroienable
 +
|N
 +
|-
 +
|0x0C8C
 +
|Max Exp  Time
 +
|Maximum exposure time in the current mode
 +
Unit: microseconds
 +
|uint
 +
|RO
 +
|A
 +
|exptime_range
 +
|S
 +
|-
 +
|0x0C90
 +
|Min Exp Time
 +
|Minimum exposure time in the current mode
 +
Unit: 0.1 microseconds
 +
|uint
 +
|RO
 +
|A
 +
|exptime_range
 +
|S
 
|}
 
|}
 
Note1:  All parameters of exposure time are in microseconds. However, due to the properties of the sensor, the actual exposure time unit of the sensor is 1 line, can not be accurate to 1us.
 
Note1:  All parameters of exposure time are in microseconds. However, due to the properties of the sensor, the actual exposure time unit of the sensor is 1 line, can not be accurate to 1us.
Line 590: Line 961:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x1000
 
|0x1000
 
|Trigger Delay
 
|Trigger Delay
|Trigger delay.
+
|Trigger delay. Trigger delay. Effective in both soft trigger and hard trigger modes.
    
range: 0 to 1000000 (unit: microsecond)
 
range: 0 to 1000000 (unit: microsecond)
Line 600: Line 972:  
|S
 
|S
 
|trgdelay
 
|trgdelay
 +
|S
 
|-
 
|-
 
|0x1004
 
|0x1004
Line 610: Line 983:  
|S
 
|S
 
|trgedge
 
|trgedge
 +
|S
 
|-
 
|-
 
|0x1008
 
|0x1008
Line 624: Line 998:  
|S
 
|S
 
|trgfilter_enable
 
|trgfilter_enable
 +
|N
 
|-
 
|-
 
|0x100c
 
|0x100c
Line 634: Line 1,009:  
|S
 
|S
 
|trgfilter_time
 
|trgfilter_time
 +
|N
 
|-
 
|-
 
|0x1010
 
|0x1010
Line 644: Line 1,020:  
|S
 
|S
 
|trgexp_delay
 
|trgexp_delay
 +
|N
 
|-
 
|-
 
|0x1014
 
|0x1014
Line 652: Line 1,029:  
| -
 
| -
 
|gpios_status
 
|gpios_status
 +
|S
 
|-
 
|-
 
|0x1020
 
|0x1020
Line 662: Line 1,040:  
|A
 
|A
 
|outio1_mode
 
|outio1_mode
 +
|N
 
|-
 
|-
 
|0x1024
 
|0x1024
Line 670: Line 1,049:  
|A
 
|A
 
|outio1_usr
 
|outio1_usr
 +
|N
 
|-
 
|-
 
|0x1028
 
|0x1028
Line 678: Line 1,058:  
|A
 
|A
 
|outio1_rvs
 
|outio1_rvs
 +
|N
 
|-
 
|-
 
|0x102C
 
|0x102C
Line 686: Line 1,067:  
| -
 
| -
 
|gpios_status
 
|gpios_status
 +
|N
 
|-
 
|-
 
|0x1030
 
|0x1030
Line 704: Line 1,086:  
|A
 
|A
 
|outio2_mode
 
|outio2_mode
 +
|N
 
|-
 
|-
 
|0x1034
 
|0x1034
Line 712: Line 1,095:  
|A
 
|A
 
|outio2_usr
 
|outio2_usr
 +
|N
 
|-
 
|-
 
|0x1038
 
|0x1038
Line 720: Line 1,104:  
|A
 
|A
 
|outio2_rvs
 
|outio2_rvs
 +
|N
 
|-
 
|-
 
|0x103C
 
|0x103C
Line 728: Line 1,113:  
| -
 
| -
 
|gpios_status
 
|gpios_status
 +
|N
 
|}
 
|}
    
=== Special Block Area ===
 
=== Special Block Area ===
 
0x1800-0x37FF : lut area.
 
0x1800-0x37FF : lut area.

Navigation menu