Line 18:
Line 18:
====camera_i2c_config USAGE====
====camera_i2c_config USAGE====
−
*for standard RPI, just run
+
*for standard RPI (Legacy mode only), just run
<code>./camera_i2c_config</code>
<code>./camera_i2c_config</code>
Line 38:
Line 38:
./veye_mipi_i2c.sh
./veye_mipi_i2c.sh
−
Usage: ./veye_mipi_i2c.sh [-r/w] [-f] function name -p1 param1 -p2 param2 -b bus
+
Usage: ./veye_mipi_i2c.sh [-r/w] [-f] function name -p1 param1 -p2 param2 -b bus -d i2caddr
options:
options:
Line 54:
Line 54:
-b [i2c bus num] i2c bus number
-b [i2c bus num] i2c bus number
+
-d [i2c addr] i2c device address
=== i2c bus number on different board ===
=== i2c bus number on different board ===
Please refer to the following article to determine which -b parameter you need to use.
Please refer to the following article to determine which -b parameter you need to use.
Line 201:
Line 202:
agc indicated max gain of AE mode.
agc indicated max gain of AE mode.
−
Agc stands for auto gain control. It is a part of auto exposure, in different light intensity, will try to adjust the gain of sensor to achieve the same image brightness.
+
Agc stands for auto gain control. It is a part of auto exposure, in different light intensity, will try to adjust the gain of sensor to achieve the same image brightness. 0xC by default.
{| class="wikitable"
{| class="wikitable"
!value
!value
Line 219:
Line 220:
{| class="wikitable"
{| class="wikitable"
!value
!value
−
!description
+
!minimum fps
|-
|-
|0x01
|0x01
Line 310:
Line 311:
|}
|}
=====mshutter=====
=====mshutter=====
−
close AE, use manual shutter
+
Automatic exposure, manual exposure mode selection and configuration.
<code>./veye_mipi_i2c.sh -r -f mshutter</code>
<code>./veye_mipi_i2c.sh -r -f mshutter</code>
Line 486:
Line 487:
|0x0
|0x0
| sharppen disable
| sharppen disable
+
|-
+
|0x1
+
| sharppen enable
+
|}default: 0x1
+
+
param2: sharppen strength, range [0x0-0xA]
+
=====wdrsharppen=====
+
<code>./veye_mipi_i2c.sh -r -f wdrsharppen</code>
+
+
<code>./veye_mipi_i2c.sh -w -f wdrsharppen -p1 [val1] -p2 [value]</code>
+
+
sharppeness setting on DOL WDR mode.
+
{| class="wikitable"
+
! param1 value
+
!description
+
|-
+
|0x0
+
|sharppen disable
|-
|-
|0x1
|0x1
Line 570:
Line 589:
Note: only supported on hdver >= 0x4
Note: only supported on hdver >= 0x4
−
==== New function list ====
+
=== New function list ===
−
The following new features are only supported in versions with ''release time'' later than 2022-11-22.
+
The following new features are only supported in camera's firmware versions with ''release time'' later than 2022-11-22.
===== paramsave =====
===== paramsave =====
Line 605:
Line 624:
The new version manual gain, depending on the sensor, accurate to 0.1dB or 0.3dB.
The new version manual gain, depending on the sensor, accurate to 0.1dB or 0.3dB.
+
+
===== auto_shutter_max =====
+
This feature is only supported in versions with ''release time'' later than 2022-12-09.
+
+
Configure the upper limit of auto exposure when '''mshutter''' is configured to auto.
+
+
<code>./veye_mipi_i2c.sh -r -f auto_shutter_max</code>
+
+
<code>./veye_mipi_i2c.sh -w -f auto_shutter_max -p1 1000</code>
+
+
in us in the range [1,1000000/fps].
+
+
Since the sensor can not support accurate exposure time of 1us, it is recommended to read it for confirmation after configuration.