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

From wiki_veye
Jump to navigation Jump to search
Line 30: Line 30:
 
-:任何时刻都可读。
 
-:任何时刻都可读。
 
=== 基础功能 ===
 
=== 基础功能 ===
 +
{| class="wikitable"
 +
!Address
 +
!Name
 +
!Description
 +
!Data Type
 +
!R/W
 +
!Update timing
 +
!script function
 +
|-
 +
|0x0000
 +
|Manufacturer  Name
 +
|String containing the self-describing name of the manufacturer. “VEYE”
 +
|ascii
 +
|RO
 +
|<nowiki>-</nowiki>
 +
|manufacturer
 +
|-
 +
|0x0004
 +
|Model Name
 +
|Product Model Code.
 +
0x178 : MV-MIPI-IMX178
 +
|enum
 +
|RO
 +
|<nowiki>-</nowiki>
 +
|model
 +
|-
 +
|0x0008
 +
|Sensor Name
 +
|Sensor Model:
 +
0x178 : IMX178LLJ
 +
|enum
 +
|RO
 +
|<nowiki>-</nowiki>
 +
|
 +
|-
 +
|0x000C
 +
|Serial Number
 +
|Unique product serial number
 +
|uint
 +
|RO
 +
|<nowiki>-</nowiki>
 +
|
 +
|-
 +
|0x0010
 +
|Device Version
 +
|Firmware version number. The high 16 bits are the Control version and the low 16 bits are the Logic version.
 +
For example, 0x01020304 means Control version is 1.2 and Logic version is 3.4.
 +
|uint
 +
|RO
 +
|<nowiki>-</nowiki>
 +
|version
 +
|-
 +
|0x0014
 +
|Factory Param
 +
|All parameters restored to factory default values.
 +
|bool
 +
|WO
 +
|A
 +
|factoryparam
 +
|-
 +
|0x0018
 +
|Param save to flash
 +
|Save the parameters to flash, and they will not be lost when power off.
 +
|bool
 +
|WO
 +
|A
 +
|paramsave
 +
|-
 +
|0x001C
 +
|System reboot
 +
|Reboot the camera.
 +
|bool
 +
|WO
 +
|A
 +
|reboot
 +
|-
 +
|0x0020
 +
|Time stamp
 +
|Time after system startup in Milliseconds.
 +
|uint
 +
|RO
 +
|<nowiki>-</nowiki>
 +
|timestamp
 +
|-
 +
|0x0024
 +
|Error Code
 +
|System error code, each bit represents an error type.
 +
bit0:  sensor error.
 +
 +
bit1: Logic module startup error.
 +
 +
bit2: Logic module communication error.
 +
 +
bit5: AA(AE&AG) regulation cannot reach the target.
 +
 +
bit6: Authorization failure.
 +
|uint
 +
|RO
 +
|<nowiki>-</nowiki>
 +
|errcode
 +
|}
 
=== 图像采集 ===
 
=== 图像采集 ===
 
=== 图像参数 ===
 
=== 图像参数 ===
 
=== 图像处理(ISP) ===
 
=== 图像处理(ISP) ===
 
=== IO控制 ===
 
=== IO控制 ===

Revision as of 10:39, 7 March 2022

English

MV系列MIPI摄像机模组寄存器列表

1 概述

1.1 寄存器特征

寄存器地址长度为4字节,数据长度为2字节。

寄存器读写属性分为RW,RO,WO三种。只有RW属性的可以保存到摄像机flash中。

寄存器值包括几种类型:intboolenumascii

1.2 i2c通信协议

模组支持通过i2c协议进行参数配置。摄像机默认的i2c从地址是0x3b,这个地址是可以修改的。

i2c读写寄存器时采用大端字节序,即高字节在前的顺序。

为了方便客户使用,我们提供了linux下开源的shell脚本,帮助进行每个寄存器的读写。

下表中script function一列表示此寄存器对应的shell脚本的功能函数。

1.3 Update timing

摄像机有两种状态,standby和running,开始图像采集后进入running状态。

下表中,Update timing的类型有:
A:任何时刻都可以读写。

S: running状态下可读不可写。

-:任何时刻都可读。

2 基础功能

Address Name Description Data Type R/W Update timing script function
0x0000 Manufacturer Name String containing the self-describing name of the manufacturer. “VEYE” ascii RO - manufacturer
0x0004 Model Name Product Model Code.

0x178 : MV-MIPI-IMX178

enum RO - model
0x0008 Sensor Name Sensor Model:

0x178 : IMX178LLJ

enum RO -
0x000C Serial Number Unique product serial number uint RO -
0x0010 Device Version Firmware version number. The high 16 bits are the Control version and the low 16 bits are the Logic version.

For example, 0x01020304 means Control version is 1.2 and Logic version is 3.4.

uint RO - version
0x0014 Factory Param All parameters restored to factory default values. bool WO A factoryparam
0x0018 Param save to flash Save the parameters to flash, and they will not be lost when power off. bool WO A paramsave
0x001C System reboot Reboot the camera. bool WO A reboot
0x0020 Time stamp Time after system startup in Milliseconds. uint RO - timestamp
0x0024 Error Code System error code, each bit represents an error type.

bit0: sensor error.

bit1: Logic module startup error.

bit2: Logic module communication error.

bit5: AA(AE&AG) regulation cannot reach the target.

bit6: Authorization failure.

uint RO - errcode

3 图像采集

4 图像参数

5 图像处理(ISP)

6 IO控制