Changes

Jump to navigation Jump to search
Line 6: Line 6:     
==== 寄存器特征 ====
 
==== 寄存器特征 ====
寄存器地址的长度为4字节,值的长度为2字节。
+
寄存器地址的长度为2字节,值的长度为4字节。
    
寄存器读写属性分为RW,RO,WO三种。只有RW属性的可以保存到摄像机flash中。
 
寄存器读写属性分为RW,RO,WO三种。只有RW属性的可以保存到摄像机flash中。
Line 33: Line 33:  
RAW系列摄像机的功能是MV系列摄像机的子集。
 
RAW系列摄像机的功能是MV系列摄像机的子集。
   −
它包含一个MCU,用于sensor模式的配置和外触发的延迟。
+
它包含一个MCU,用于sensor模式的配置和触发时序的生成。
 
  −
特别的,它支持Sensor Direct Access模式。在此模式下,MCU放弃对sensor的控制和操作,开放sensor的i2c给客户直接控制。MCU只保留极少必要的寄存器功能。
      
'''N''':不支持。
 
'''N''':不支持。
   −
'''S''':普通模式下支持。
+
'''S''': 支持。
 
  −
'''SDA''':Sensor Direct Access模式下支持。
   
=== 基础功能 ===
 
=== 基础功能 ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 60: Line 56:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|manufacturer
 
|manufacturer
|S,SDA
+
|S
 
|-
 
|-
 
| 0x0004
 
| 0x0004
Line 72: Line 68:     
0x264 : MV-MIPI-IMX264M
 
0x264 : MV-MIPI-IMX264M
 +
 +
0x296 : MV-MIPI-IMX296M
 +
 +
0x287 : MV-MIPI-IMX287M
 +
 +
0x4002 : MV-MIPI-GMAX4002M
    
0x8132 : RAW-MIPI-SC132M
 
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,SDA
+
|S
 
|-
 
|-
 
|0x0008
 
|0x0008
Line 90: Line 98:     
0x264 : IMX264LLJ
 
0x264 : IMX264LLJ
 +
 +
0x296 : IMX296LLJ
 +
 +
0x287 : IMX287LLJ
    
0x132 : SC132GS
 
0x132 : SC132GS
 +
 +
0x234 : AR0234CS
 +
 +
0x462 : IMX462LLR
 +
 +
0x535 : SC535HGS
 +
 +
0x4002 : GMAX4002
 
|enum
 
|enum
 
|RO
 
|RO
 
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|
 
|
|S,SDA
+
|S
 
|-
 
|-
 
|0x000C
 
|0x000C
Line 105: Line 125:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|serialno
 
|serialno
|S,SDA
+
|S
 
|-
 
|-
 
|0x0010
 
|0x0010
Line 115: Line 135:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|version
 
|version
|S,SDA
+
|S
 
|-
 
|-
 
|0x0014
 
|0x0014
Line 124: Line 144:  
|A
 
|A
 
|factoryparam
 
|factoryparam
|S,SDA
+
|S
 
|-
 
|-
 
|0x0018
 
|0x0018
Line 133: Line 153:  
|A
 
|A
 
|paramsave
 
|paramsave
|S,SDA
+
|S
 
|-
 
|-
 
|0x001C
 
|0x001C
Line 142: Line 162:  
|A
 
|A
 
|reboot
 
|reboot
|S,SDA
+
|S
 
|-
 
|-
 
|0x0020
 
|0x0020
Line 151: Line 171:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|timestamp
 
|timestamp
|S,SDA
+
|S
 
|-
 
|-
 
|0x0024
 
|0x0024
Line 169: Line 189:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|errcode
 
|errcode
|S,SDA
+
|S
 
|-
 
|-
 
|0x0028
 
|0x0028
Line 183: Line 203:     
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
 
|S
 
|}
 
|}
Line 217: Line 302:  
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 224: Line 311:  
|S
 
|S
 
|trgmode
 
|trgmode
|S,SDA
+
|S
 
|-
 
|-
 
|0x0408
 
|0x0408
Line 230: Line 317:  
|0: Software trigger mode.
 
|0: Software trigger mode.
 
1: Hardware trigger mode.
 
1: Hardware trigger mode.
 +
 +
Effective in Trigger mode 1 and 2 only.
 
|enum
 
|enum
 
|RW
 
|RW
Line 243: Line 332:  
|S
 
|S
 
|trgnum
 
|trgnum
|N
+
|S
 
|-
 
|-
 
|0x0410
 
|0x0410
Line 252: Line 341:  
|S
 
|S
 
|trginterval
 
|trginterval
|N
+
|S
 
|-
 
|-
 
|0x0414
 
|0x0414
Line 292: Line 381:  
|A
 
|A
 
|mcubypass
 
|mcubypass
|S,SDA
+
|S
 
|-
 
|-
 
|0x044C
 
|0x044C
|Non discontinuesmode
+
|Non discontinuous mode
|Indicates whether the clock lan of the mipi signal is in continuous clock mode. 0 :  discontinues mode,1: continues mode
+
|Indicates whether the clock lan of the mipi signal is in continuous clock mode. 0 :  discontinuous  mode,1: continuous mode
 
|bool
 
|bool
 
|RO
 
|RO
Line 319: Line 408:  
|A
 
|A
 
|snsreg
 
|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
 
|S
 
|}
 
|}
Line 358: Line 493:  
|enum
 
|enum
 
|RW
 
|RW
|A
+
|S
 
|pixelformat
 
|pixelformat
 
|S
 
|S
Line 394: Line 529:  
|The current framerate.
 
|The current framerate.
 
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
Line 459: Line 596:  
|blacklevel
 
|blacklevel
 
|S
 
|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 527: Line 756:  
|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
Line 536: Line 765:  
|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
Line 545: Line 774:  
|0x0C18
 
|0x0C18
 
|Exp Time
 
|Exp Time
|Current exposure time. <u>Note1.</u>
+
|Current exposure time. <u>Note1.</u>Unit: microseconds.
 
|uint
 
|uint
 
|RO
 
|RO
Line 673: Line 902:  
|aaroienable
 
|aaroienable
 
|N
 
|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 700: Line 949:  
|S
 
|S
 
|trgdelay
 
|trgdelay
|S,SDA
+
|S
 
|-
 
|-
 
|0x1004
 
|0x1004
Line 710: Line 959:  
|S
 
|S
 
|trgedge
 
|trgedge
|S,SDA
+
|S
 
|-
 
|-
 
|0x1008
 
|0x1008
Line 753: Line 1,002:  
| -
 
| -
 
|gpios_status
 
|gpios_status
|S,SDA
+
|S
 
|-
 
|-
 
|0x1020
 
|0x1020

Navigation menu