Difference between revisions of "MV Series MIPI Camera Register Map"

From wiki_veye
Jump to navigation Jump to search
Line 10: Line 10:
 
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.
  
Register values have several types: '''int''', '''bool''', '''enum''', '''ascii'''.
+
Register values have several types: '''uint'''(unsigned int), '''bool''', '''enum''', '''ascii'''.
  
 
==== I2c communication protocol ====
 
==== I2c communication protocol ====
Line 38: Line 38:
 
!script function
 
!script function
 
|-
 
|-
 +
|0x0000
 +
|Manufacturer  Name
 
|
 
|
 +
|ascii
 +
|RO
 +
|<nowiki>-</nowiki>
 
|
 
|
 +
|-
 +
|0x0004
 +
|Model Name
 
|
 
|
 +
|enum
 +
|RO
 +
|<nowiki>-</nowiki>
 
|
 
|
 +
|-
 +
|0x0008
 +
|Sensor Name
 
|
 
|
 +
|enum
 +
|RO
 +
|<nowiki>-</nowiki>
 
|
 
|
 +
|-
 +
|0x000C
 +
|Serial Number
 +
|
 +
|uint
 +
|RO
 +
|<nowiki>-</nowiki>
 
|
 
|
 
|-
 
|-
 +
|0x0010
 +
|Device Version
 
|
 
|
 +
|uint
 +
|RO
 +
|<nowiki>-</nowiki>
 
|
 
|
 +
|-
 +
|0x0014
 +
|System reset
 
|
 
|
 +
|bool
 +
|WO
 +
|A
 
|
 
|
 +
|-
 +
|0x0018
 +
|Param save to flash
 
|
 
|
|
+
|bool
 +
|WO
 +
|A
 
|
 
|
 
|-
 
|-
 +
|0x001C
 +
|System reboot
 
|
 
|
 +
|bool
 +
|WO
 +
|A
 
|
 
|
 +
|-
 +
|0x0020
 +
|Time stamp
 
|
 
|
 +
|uint
 +
|RO
 +
|<nowiki>-</nowiki>
 
|
 
|
 +
|-
 +
|0x0024
 +
|Error Code
 
|
 
|
|
+
|uint
 +
|RO
 +
|<nowiki>-</nowiki>
 
|
 
|
 
|}
 
|}

Revision as of 16:51, 6 March 2022


查看中文

1 Overview

1.1 Register Features

The register address length is 4 bytes and the data length is 2 bytes.

Register R/W attributes: RW, RO, WO. Only the RW type can be saved to the camera flash.

Register values have several types: uint(unsigned int), bool, enum, ascii.

1.2 I2c communication protocol

The module supports parameter configuration via i2c protocol. The default i2c slave address of the camera is 0x3b which can be modified.
I2c data input order is MSB-first transfer.

We provide open source shell scripts under Linux to help read and write each register.

The script function column in the following table indicates the function name in the shell script corresponding to this register.

1.3 Update timing

The camera has two states, standby and running, after the start of image acquisition into the running state.

In the following table, Update timing is divided into "A" and "S".

A: Read and write at any time.

S: Running state is readable only.

2 Basic Parameters

Address Name Description Data Type R/W Update timing script function
0x0000 Manufacturer Name ascii RO -
0x0004 Model Name enum RO -
0x0008 Sensor Name enum RO -
0x000C Serial Number uint RO -
0x0010 Device Version uint RO -
0x0014 System reset bool WO A
0x0018 Param save to flash bool WO A
0x001C System reboot bool WO A
0x0020 Time stamp uint RO -
0x0024 Error Code uint RO -

3 Image Acquisition

Address Name Description Data Type R/W Update timing script function

4 Image Features

Address Name Description Data Type R/W Update timing script function

5 ISP

Address Name Description Data Type R/W Update timing script function

6 IO Control

Address Name Description Data Type R/W Update timing script function