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 external trigger delay.
 +
 +
In particular, it supports '''Sensor Direct Access mode'''. In this mode, the MCU gives up the control and operation of the sensor, and opens the i2c of the sensor to the customer for direct control. The MCU only retains very few necessary register functions.
 +
 +
'''N''':Not support.
 +
 +
'''S''':Support in normal mode.
 +
 +
'''SDA''':Support in Sensor Direct Access mode.
 
=== Basic Parameters ===
 
=== Basic Parameters ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 39: Line 53:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x0000
 
|0x0000
Line 47: Line 62:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|manufacturer
 
|manufacturer
 +
|S,SDA
 
|-
 
|-
 
|0x0004
 
|0x0004
Line 52: Line 68:  
|Product Model Code.
 
|Product Model Code.
   −
0x178 : MV-MIPI-IMX178
+
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 63: Line 96:     
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 75: Line 125:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|
 
|
 +
|S,SDA
 
|-
 
|-
 
|0x0010
 
|0x0010
Line 85: Line 136:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|version
 
|version
 +
|S,SDA
 
|-
 
|-
 
|0x0014
 
|0x0014
Line 93: Line 145:  
|A
 
|A
 
|factoryparam
 
|factoryparam
 +
|S,SDA
 
|-
 
|-
 
|0x0018
 
|0x0018
Line 101: Line 154:  
|A
 
|A
 
|paramsave
 
|paramsave
 +
|S,SDA
 
|-
 
|-
 
|0x001C
 
|0x001C
Line 109: Line 163:  
|A
 
|A
 
|reboot
 
|reboot
 +
|S,SDA
 
|-
 
|-
 
|0x0020
 
|0x0020
Line 117: Line 172:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|timestamp
 
|timestamp
 +
|S,SDA
 
|-
 
|-
 
|0x0024
 
|0x0024
Line 135: Line 191:  
|<nowiki>-</nowiki>
 
|<nowiki>-</nowiki>
 
|errcode
 
|errcode
 +
|S,SDA
 +
|-
 +
|0x0028
 +
|Format Cap
 +
|Capbility of data formats supported by the camera.
 +
bit0: Mono8
 +
 +
bit1: Mono10
 +
 +
bit2: Mono12
 +
 +
bit3: Mono14
 +
 +
bit4: UYVY
 +
|uint
 +
|RO
 +
| -
 +
|fmtcap
 +
|S
 
|}
 
|}
 
=== Image Acquisition ===
 
=== Image Acquisition ===
Line 145: Line 220:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x0400
 
|0x0400
Line 157: Line 233:  
|A
 
|A
 
|imgacq
 
|imgacq
 +
|S
 
|-
 
|-
 
|0x0404
 
|0x0404
Line 171: Line 248:  
|S
 
|S
 
|trgmode
 
|trgmode
 +
|S,SDA
 
|-
 
|-
 
|0x0408
 
|0x0408
Line 181: Line 259:  
|S
 
|S
 
|trgsrc
 
|trgsrc
 +
|S
 
|-
 
|-
 
|0x040C
 
|0x040C
Line 189: Line 268:  
|S
 
|S
 
|trgnum
 
|trgnum
 +
|N
 
|-
 
|-
 
|0x0410
 
|0x0410
Line 197: Line 277:  
|S
 
|S
 
|trginterval
 
|trginterval
 +
|N
 
|-
 
|-
 
|0x0414
 
|0x0414
Line 205: Line 286:  
|A
 
|A
 
|trgone
 
|trgone
 +
|S
 
|-
 
|-
 
|0x0418
 
|0x0418
Line 217: Line 299:  
|A
 
|A
 
|trgcount
 
|trgcount
 +
|S
 
|-
 
|-
 
|0x041C
 
|0x041C
Line 225: Line 308:  
|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
 
|}
 
|}
 +
 
=== Image Features ===
 
=== Image Features ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 235: Line 366:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x0800
 
|0x0800
Line 249: Line 381:  
|A
 
|A
 
|testimg
 
|testimg
 +
|S
 
|-
 
|-
 
|0x0804
 
|0x0804
Line 263: Line 396:  
|enum
 
|enum
 
|RW
 
|RW
|A
+
|S
 
|pixelformat
 
|pixelformat
 +
|S
 
|-
 
|-
 
|0x0808
 
|0x0808
Line 273: Line 407:  
| -
 
| -
 
|maxwh
 
|maxwh
 +
|S
 
|-
 
|-
 
|0x080C
 
|0x080C
Line 281: Line 416:  
| -
 
| -
 
|maxwh
 
|maxwh
 +
|S
 
|-
 
|-
 
|0x0810
 
|0x0810
Line 291: Line 427:  
| -
 
| -
 
|maxfps
 
|maxfps
 +
|S
 
|-
 
|-
 
|0x0814
 
|0x0814
Line 301: Line 438:  
|S
 
|S
 
|fps
 
|fps
 +
|S
 
|-
 
|-
 
|0x0818
 
|0x0818
Line 309: Line 447:  
|S
 
|S
 
|roi
 
|roi
 +
|S
 
|-
 
|-
 
|0x081C
 
|0x081C
Line 319: Line 458:  
|S
 
|S
 
|roi
 
|roi
 +
|S
 
|-
 
|-
 
|0x0820
 
|0x0820
Line 327: Line 467:  
|S
 
|S
 
|roi
 
|roi
 +
|S
 
|-
 
|-
 
|0x0824
 
|0x0824
Line 335: Line 476:  
|S
 
|S
 
|roi
 
|roi
 +
|S
 
|-
 
|-
 
|0x0828
 
|0x0828
Line 349: Line 491:  
|A
 
|A
 
|imgdir
 
|imgdir
 +
|S
 
|-
 
|-
 
|0x0830
 
|0x0830
Line 357: Line 500:  
|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 367: Line 541:  
!Update timing
 
!Update timing
 
!script function
 
!script function
 +
!Raw series Support
 
|-
 
|-
 
|0x0C00
 
|0x0C00
Line 399: Line 574:     
lutenable,
 
lutenable,
 +
|N
 
|-
 
|-
 
|0x0C04
 
|0x0C04
Line 413: Line 589:  
|A
 
|A
 
|expmode
 
|expmode
 +
|N
 
|-
 
|-
 
|0x0C08
 
|0x0C08
Line 421: Line 598:  
|A
 
|A
 
|aatarget
 
|aatarget
 +
|N
 
|-
 
|-
 
|0x0C10
 
|0x0C10
Line 429: Line 607:  
|A
 
|A
 
|metime
 
|metime
 +
|S
 
|-
 
|-
 
|0x0C14
 
|0x0C14
Line 437: Line 616:  
|A
 
|A
 
|aemaxtime
 
|aemaxtime
 +
|N
 
|-
 
|-
 
|0x0C18
 
|0x0C18
Line 445: Line 625:  
|  -
 
|  -
 
|exptime
 
|exptime
 +
|S
 
|-
 
|-
 
|0x0C1C
 
|0x0C1C
Line 459: Line 640:  
|A
 
|A
 
|gainmode
 
|gainmode
 +
|N
 
|-
 
|-
 
|0x0C20
 
|0x0C20
Line 467: Line 649:  
|A
 
|A
 
|mgain
 
|mgain
 +
|S
 
|-
 
|-
 
|0x0C24
 
|0x0C24
Line 475: Line 658:  
|A
 
|A
 
|agmaxgain
 
|agmaxgain
 +
|N
 
|-
 
|-
 
|0x0C28
 
|0x0C28
Line 483: Line 667:  
|  -
 
|  -
 
|curgain
 
|curgain
 +
|S
 
|-
 
|-
 
|0x0C2C
 
|0x0C2C
Line 491: Line 676:  
|A
 
|A
 
|aaroi
 
|aaroi
 +
|N
 
|-
 
|-
 
|0x0C30
 
|0x0C30
Line 499: Line 685:  
|A
 
|A
 
|aaroi
 
|aaroi
 +
|N
 
|-
 
|-
 
|0x0C34
 
|0x0C34
Line 507: Line 694:  
|A
 
|A
 
|aaroi
 
|aaroi
 +
|N
 
|-
 
|-
 
|0x0C38
 
|0x0C38
Line 515: Line 703:  
|A
 
|A
 
|aaroi
 
|aaroi
 +
|N
 
|-
 
|-
 
|0x0C60
 
|0x0C60
Line 523: Line 712:  
|A
 
|A
 
|gamma
 
|gamma
 +
|N
 
|-
 
|-
 
|0x0C74
 
|0x0C74
Line 531: Line 721:  
| -
 
| -
 
|lut
 
|lut
 +
|N
 
|-
 
|-
 
|0x0C78
 
|0x0C78
Line 539: Line 730:  
|A
 
|A
 
|lut
 
|lut
 +
|N
 
|-
 
|-
 
|0x0C7C
 
|0x0C7C
Line 547: Line 739:  
|A
 
|A
 
|lut
 
|lut
 +
|N
 
|-
 
|-
 
|0x0C80
 
|0x0C80
 
|AAROI enable
 
|AAROI enable
|Whether to enable AA statistics ROI function, not enable means full screen statistics.
+
|Whether to enable AAROI statistics function, not enable means full ROI statistics.
 
|bool
 
|bool
 
|RW
 
|RW
 
|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 562: Line 756:  
Note3:  AE: Auto exposure; AG: Auto Gain; AA: AE and AG.
 
Note3:  AE: Auto exposure; AG: Auto Gain; AA: AE and AG.
   −
Note4:  The AAROI coordinates are relative coordinates within the roi range.
+
Note4:  The AAROI coordinates are relative coordinates within the ROI area. So the area must be smaller than the image ROI.
    
=== IO Control ===
 
=== IO Control ===
Line 573: Line 767:  
!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 583: Line 778:  
|S
 
|S
 
|trgdelay
 
|trgdelay
 +
|S,SDA
 
|-
 
|-
 
|0x1004
 
|0x1004
|Trigger Activation
+
|Trigger Edge
 
|0: Rising edge
 
|0: Rising edge
   Line 593: Line 789:  
|S
 
|S
 
|trgedge
 
|trgedge
 +
|S,SDA
 
|-
 
|-
 
|0x1008
 
|0x1008
Line 598: Line 795:  
|0: No filtering
 
|0: No filtering
   −
1: Rising edge filtering (filtering out low-level interference signals)
+
1: Low-level filtering (Filtering of interference signals on low levels)
   −
2: Falling edge filtering (filtering out high level interference signals)
+
2: High-level filtering (Filtering of interference signals on high levels)
   −
3 :Both rising edge and falling edge filtering
+
3 :Both Low-level and High-level filtering
 
|uint
 
|uint
 
|RW
 
|RW
 
|S
 
|S
 
|trgfilter_enable
 
|trgfilter_enable
 +
|N
 
|-
 
|-
 
|0x100c
 
|0x100c
Line 617: Line 815:  
|S
 
|S
 
|trgfilter_time
 
|trgfilter_time
 +
|N
 
|-
 
|-
 
|0x1010
 
|0x1010
Line 627: Line 826:  
|S
 
|S
 
|trgexp_delay
 
|trgexp_delay
 +
|N
 
|-
 
|-
 
|0x1014
 
|0x1014
Line 635: Line 835:  
| -
 
| -
 
|gpios_status
 
|gpios_status
 +
|S,SDA
 
|-
 
|-
 
|0x1020
 
|0x1020
Line 645: Line 846:  
|A
 
|A
 
|outio1_mode
 
|outio1_mode
 +
|N
 
|-
 
|-
 
|0x1024
 
|0x1024
Line 653: Line 855:  
|A
 
|A
 
|outio1_usr
 
|outio1_usr
 +
|N
 
|-
 
|-
 
|0x1028
 
|0x1028
Line 661: Line 864:  
|A
 
|A
 
|outio1_rvs
 
|outio1_rvs
 +
|N
 
|-
 
|-
 
|0x102C
 
|0x102C
Line 669: Line 873:  
| -
 
| -
 
|gpios_status
 
|gpios_status
 +
|N
 
|-
 
|-
 
|0x1030
 
|0x1030
Line 678: Line 883:  
2: TriggerWait; trigger wait status.  
 
2: TriggerWait; trigger wait status.  
   −
Indicate that the camera is busy now,Unable to respond to trigger signal.
+
Indicate that the camera is not busy now, able to respond to the trigger signal.
    
3: XVS
 
3: XVS
Line 687: Line 892:  
|A
 
|A
 
|outio2_mode
 
|outio2_mode
 +
|N
 
|-
 
|-
 
|0x1034
 
|0x1034
Line 695: Line 901:  
|A
 
|A
 
|outio2_usr
 
|outio2_usr
 +
|N
 
|-
 
|-
 
|0x1038
 
|0x1038
Line 703: Line 910:  
|A
 
|A
 
|outio2_rvs
 
|outio2_rvs
 +
|N
 
|-
 
|-
 
|0x103C
 
|0x103C
Line 711: Line 919:  
| -
 
| -
 
|gpios_status
 
|gpios_status
 +
|N
 
|}
 
|}
    
=== Special Block Area ===
 
=== Special Block Area ===
 
0x1800-0x37FF : lut area.
 
0x1800-0x37FF : lut area.

Navigation menu