Changes

Jump to navigation Jump to search
Line 1: Line 1:  
[[MV Series MIPI Camera Register Map|English]]
 
[[MV Series MIPI Camera Register Map|English]]
   −
'''<big>MV系列MIPI摄像机模组寄存器列表</big>'''
+
'''<big>MV系列和RAW系列MIPI摄像机模组寄存器列表</big>'''
    
=== 概述 ===
 
=== 概述 ===
    
==== 寄存器特征 ====
 
==== 寄存器特征 ====
寄存器地址的长度为4字节,值的长度为2字节。
+
寄存器地址的长度为2字节,值的长度为4字节。
    
寄存器读写属性分为RW,RO,WO三种。只有RW属性的可以保存到摄像机flash中。
 
寄存器读写属性分为RW,RO,WO三种。只有RW属性的可以保存到摄像机flash中。
Line 24: Line 24:  
摄像机有两种状态,standby和running。上电后进入standby状态,开始图像采集后进入running状态。
 
摄像机有两种状态,standby和running。上电后进入standby状态,开始图像采集后进入running状态。
   −
下表中,Update timing的类型有:<br />A:任何时刻都可以读写。
+
下表中,Update timing的类型有:<br />'''A''':任何时刻都可以读写。
   −
S:  running状态下可读不可写。
+
'''S:''' running状态下可读不可写。
   −
-:任何时刻都只读。
+
'''-''':任何时刻都只读。
 +
 
 +
==== Raw series Support ====
 +
RAW系列摄像机的功能是MV系列摄像机的子集。
 +
 
 +
它包含一个MCU,用于sensor模式的配置和外触发的延迟。
 +
 
 +
特别的,它支持Sensor Direct Access模式。在此模式下,MCU放弃对sensor的控制和操作,开放sensor的i2c给客户直接控制。MCU只保留极少必要的寄存器功能。
 +
 
 +
'''N''':不支持。
 +
 
 +
'''S''':普通模式下支持。
 +
 
 +
'''SDA''':Sensor Direct Access模式下支持。
 
=== 基础功能 ===
 
=== 基础功能 ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 38: Line 51:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x0000
 
|0x0000
Line 46: Line 60:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|manufacturer
 
|manufacturer
 +
|S,SDA
 
|-
 
|-
 
| 0x0004
 
| 0x0004
Line 51: Line 66:  
|Product Model Code.
 
|Product Model Code.
 
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
 +
 +
0x8132 : RAW-MIPI-SC132M
 +
 +
0x8234 : RAW-MIPI-AR0234M
 +
 +
0x8462 : RAW-MIPI-IMX462M
 
|enum
 
|enum
 
|RO
 
|RO
 
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|model
 
|model
 +
|S,SDA
 
|-
 
|-
 
|0x0008
 
|0x0008
Line 60: Line 92:  
|Sensor Model:
 
|Sensor Model:
 
0x178 : IMX178LLJ
 
0x178 : IMX178LLJ
 +
 +
0x130 : SC130GS
 +
 +
0x265 : IMX265LLJ
 +
 +
0x264 : IMX264LLJ
 +
 +
0x296 : IMX296LLJ
 +
 +
0x287 : IMX287LLJ
 +
 +
0x132 : SC132GS
 +
 +
0x234 : AR0234CS
 +
 +
0x462 : IMX462LLR
 
|enum
 
|enum
 
|RO
 
|RO
 
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|
 
|
 +
|S,SDA
 
|-
 
|-
 
|0x000C
 
|0x000C
Line 72: Line 121:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|serialno
 
|serialno
 +
|S,SDA
 
|-
 
|-
 
|0x0010
 
|0x0010
Line 81: Line 131:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|version
 
|version
 +
|S,SDA
 
|-
 
|-
 
|0x0014
 
|0x0014
Line 89: Line 140:  
|A
 
|A
 
|factoryparam
 
|factoryparam
 +
|S,SDA
 
|-
 
|-
 
|0x0018
 
|0x0018
Line 97: Line 149:  
|A
 
|A
 
|paramsave
 
|paramsave
 +
|S,SDA
 
|-
 
|-
 
|0x001C
 
|0x001C
Line 105: Line 158:  
|A
 
|A
 
|reboot
 
|reboot
 +
|S,SDA
 
|-
 
|-
 
|0x0020
 
|0x0020
Line 113: Line 167:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|timestamp
 
|timestamp
 +
|S,SDA
 
|-
 
|-
 
|0x0024
 
|0x0024
Line 130: Line 185:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|errcode
 
|errcode
 +
|S,SDA
 
|-
 
|-
 
|0x0028
 
|0x0028
Line 147: Line 203:  
| -
 
| -
 
|fmtcap
 
|fmtcap
 +
|S
 
|}
 
|}
 
=== 图像采集 ===
 
=== 图像采集 ===
Line 157: Line 214:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x0400
 
|0x0400
Line 168: Line 226:  
|A
 
|A
 
|imgacq
 
|imgacq
 +
|S
 
|-
 
|-
 
|0x0404
 
|0x0404
Line 181: Line 240:  
|S
 
|S
 
|trgmode
 
|trgmode
 +
|S,SDA
 
|-
 
|-
 
|0x0408
 
|0x0408
Line 190: Line 250:  
|S
 
|S
 
|trgsrc
 
|trgsrc
 +
|S
 
|-
 
|-
 
|0x040C
 
|0x040C
Line 198: Line 259:  
|S
 
|S
 
|trgnum
 
|trgnum
 +
|N
 
|-
 
|-
 
|0x0410
 
|0x0410
Line 206: Line 268:  
|S
 
|S
 
|trginterval
 
|trginterval
 +
|N
 
|-
 
|-
 
|0x0414
 
|0x0414
Line 214: Line 277:  
|A
 
|A
 
|trgone
 
|trgone
 +
|S
 
|-
 
|-
 
|0x0418
 
|0x0418
Line 225: Line 289:  
|A
 
|A
 
|trgcount
 
|trgcount
 +
|S
 
|-
 
|-
 
|0x041C
 
|0x041C
Line 233: Line 298:  
|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,SDA
 +
|-
 +
|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
 +
|N
 +
|-
 +
|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
 
|}
 
|}
 
=== 图像参数 ===
 
=== 图像参数 ===
Line 243: Line 355:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x0800
 
|0x0800
Line 256: Line 369:  
|A
 
|A
 
|testimg
 
|testimg
 +
|S
 
|-
 
|-
 
|0x0804
 
|0x0804
Line 269: Line 383:  
|enum
 
|enum
 
|RW
 
|RW
|A
+
|S
 
|pixelformat
 
|pixelformat
 +
|S
 
|-
 
|-
 
|0x0808
 
|0x0808
Line 279: Line 394:  
| -
 
| -
 
|maxwh
 
|maxwh
 +
|S
 
|-
 
|-
 
|0x080C
 
|0x080C
Line 287: Line 403:  
| -
 
| -
 
|maxwh
 
|maxwh
 +
|S
 
|-
 
|-
 
|0x0810
 
|0x0810
Line 296: Line 413:  
| -
 
| -
 
|maxfps
 
|maxfps
 +
|S
 
|-
 
|-
 
|0x0814
 
|0x0814
Line 305: Line 423:  
|S
 
|S
 
|fps
 
|fps
 +
|S
 
|-
 
|-
 
|0x0818
 
|0x0818
Line 313: Line 432:  
|S
 
|S
 
|roi
 
|roi
 +
|S
 
|-
 
|-
 
|0x081C
 
|0x081C
Line 322: Line 442:  
|S
 
|S
 
|roi
 
|roi
 +
|S
 
|-
 
|-
 
|0x0820
 
|0x0820
Line 330: Line 451:  
|S
 
|S
 
|roi
 
|roi
 +
|S
 
|-
 
|-
 
|0x0824
 
|0x0824
Line 338: Line 460:  
|S
 
|S
 
|roi
 
|roi
 +
|S
 
|-
 
|-
 
|0x0828
 
|0x0828
Line 351: Line 474:  
|A
 
|A
 
|imgdir
 
|imgdir
 +
|S
 
|-
 
|-
 
|0x0830
 
|0x0830
Line 359: Line 483:  
|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
 +
|-
 +
|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
 
|}
 
|}
 
=== 图像处理(ISP) ===
 
=== 图像处理(ISP) ===
Line 369: Line 524:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x0C00
 
|0x0C00
Line 399: Line 555:     
lutenable,
 
lutenable,
 +
|N
 
|-
 
|-
 
|0x0C04
 
|0x0C04
Line 412: Line 569:  
|A
 
|A
 
|expmode
 
|expmode
 +
|N
 
|-
 
|-
 
|0x0C08
 
|0x0C08
Line 420: Line 578:  
|A
 
|A
 
|aatarget
 
|aatarget
 +
|N
 
|-
 
|-
 
|0x0C10
 
|0x0C10
Line 428: Line 587:  
|A
 
|A
 
|metime
 
|metime
 +
|S
 
|-
 
|-
 
|0x0C14
 
|0x0C14
Line 436: Line 596:  
|A
 
|A
 
|aemaxtime
 
|aemaxtime
 +
|N
 
|-
 
|-
 
|0x0C18
 
|0x0C18
Line 444: Line 605:  
| -
 
| -
 
|exptime
 
|exptime
 +
|S
 
|-
 
|-
 
|0x0C1C
 
|0x0C1C
Line 457: Line 619:  
|A
 
|A
 
|gainmode
 
|gainmode
 +
|N
 
|-
 
|-
 
|0x0C20
 
|0x0C20
Line 465: Line 628:  
|A
 
|A
 
|mgain
 
|mgain
 +
|S
 
|-
 
|-
 
|0x0C24
 
|0x0C24
Line 473: Line 637:  
|A
 
|A
 
|agmaxgain
 
|agmaxgain
 +
|N
 
|-
 
|-
 
|0x0C28
 
|0x0C28
Line 481: Line 646:  
| -
 
| -
 
|curgain
 
|curgain
 +
|S
 
|-
 
|-
 
|0x0C2C
 
|0x0C2C
Line 489: Line 655:  
|A
 
|A
 
|aaroi
 
|aaroi
 +
|N
 
|-
 
|-
 
|0x0C30
 
|0x0C30
Line 497: Line 664:  
|A
 
|A
 
|aaroi
 
|aaroi
 +
|N
 
|-
 
|-
 
|0x0C34
 
|0x0C34
Line 505: Line 673:  
|A
 
|A
 
|aaroi
 
|aaroi
 +
|N
 
|-
 
|-
 
|0x0C38
 
|0x0C38
Line 513: Line 682:  
|A
 
|A
 
|aaroi
 
|aaroi
 +
|N
 
|-
 
|-
 
|0x0C60
 
|0x0C60
Line 521: Line 691:  
|A
 
|A
 
|gamma
 
|gamma
 +
|N
 
|-
 
|-
 
|0x0C74
 
|0x0C74
Line 529: Line 700:  
| -
 
| -
 
|lut
 
|lut
 +
|N
 
|-
 
|-
 
|0x0C78
 
|0x0C78
Line 537: Line 709:  
|A
 
|A
 
|lut
 
|lut
 +
|N
 
|-
 
|-
 
|0x0C7C
 
|0x0C7C
Line 545: Line 718:  
|A
 
|A
 
|lut
 
|lut
 +
|N
 
|-
 
|-
 
|0x0C80
 
|0x0C80
Line 553: Line 727:  
|A
 
|A
 
|aaroienable
 
|aaroienable
 +
|N
 
|}
 
|}
 
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 570: Line 745:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x1000
 
|0x1000
 
|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)
 
|uint
 
|uint
Line 579: Line 755:  
|S
 
|S
 
|trgdelay
 
|trgdelay
 +
|S,SDA
 
|-
 
|-
 
|0x1004
 
|0x1004
|Trigger Activation
+
|Trigger Edge
 
|0: Rising edge
 
|0: Rising edge
 
1: Falling edge
 
1: Falling edge
Line 588: Line 765:  
|S
 
|S
 
|trgedge
 
|trgedge
 +
|S,SDA
 
|-
 
|-
 
|0x1008
 
|0x1008
Line 601: Line 779:  
|S
 
|S
 
|trgfilter_enable
 
|trgfilter_enable
 +
|N
 
|-
 
|-
 
|0x100c
 
|0x100c
Line 610: Line 789:  
|S
 
|S
 
|trgfilter_time
 
|trgfilter_time
 +
|N
 
|-
 
|-
 
|0x1010
 
|0x1010
Line 619: Line 799:  
|S
 
|S
 
|trgexp_delay
 
|trgexp_delay
 +
|N
 
|-
 
|-
 
|0x1014
 
|0x1014
Line 627: Line 808:  
| -
 
| -
 
|gpios_status
 
|gpios_status
 +
|S,SDA
 
|-
 
|-
 
|0x1020
 
|0x1020
Line 636: Line 818:  
|A
 
|A
 
|outio1_mode
 
|outio1_mode
 +
|N
 
|-
 
|-
 
|0x1024
 
|0x1024
Line 644: Line 827:  
|A
 
|A
 
|outio1_usr
 
|outio1_usr
 +
|N
 
|-
 
|-
 
|0x1028
 
|0x1028
Line 652: Line 836:  
|A
 
|A
 
|outio1_rvs
 
|outio1_rvs
 +
|N
 
|-
 
|-
 
|0x102C
 
|0x102C
Line 660: Line 845:  
| -
 
| -
 
|gpios_status
 
|gpios_status
 +
|N
 
|-
 
|-
 
|0x1030
 
|0x1030
Line 677: Line 863:  
|A
 
|A
 
|outio2_mode
 
|outio2_mode
 +
|N
 
|-
 
|-
 
|0x1034
 
|0x1034
Line 685: Line 872:  
|A
 
|A
 
|outio2_usr
 
|outio2_usr
 +
|N
 
|-
 
|-
 
|0x1038
 
|0x1038
Line 693: Line 881:  
|A
 
|A
 
|outio2_rvs
 
|outio2_rvs
 +
|N
 
|-
 
|-
 
|0x103C
 
|0x103C
Line 701: Line 890:  
| -
 
| -
 
|gpios_status
 
|gpios_status
 +
|N
 
|}
 
|}
 
===特殊块存储区===
 
===特殊块存储区===
 
0x1800-0x37FF : lut area.
 
0x1800-0x37FF : lut area.

Navigation menu