Changes

Jump to navigation Jump to search
1,391 bytes added ,  20:37, 22 March 2021
add direct manual exposure modedirect
Line 38: Line 38:  
./cs_mipi_i2c.sh
 
./cs_mipi_i2c.sh
   −
this shell scripts should be used for CS-MIPI-IMX307!
+
this shell scripts should be used for CS-MIPI-X!
    
Usage:  ./cs_mipi_i2c.sh [-r/w] [-f] function name -p1 param1 -p2 param2 -p3 param3 -b bus
 
Usage:  ./cs_mipi_i2c.sh [-r/w] [-f] function name -p1 param1 -p2 param2 -p3 param3 -b bus
Line 62: Line 62:  
support functions: devid,hdver,camcap,firmwarever,productmodel,videofmtcap,videofmt,ispcap,i2caddr,streammode,powerhz,
 
support functions: devid,hdver,camcap,firmwarever,productmodel,videofmtcap,videofmt,ispcap,i2caddr,streammode,powerhz,
   −
daynightmode ,hue ,contrast , satu , expostate , wbstate ,expmode , aetarget, aetime,aeagc,metime ,meagain , medgain , awbmode , mwbcolortemp , mwbgain,imagedir,sreg,striggerone,triggeredge,autotgcnt,tgdebncr,tgdly,pickmode,discardfrm,pickone,mipistatus,sysreboot,sysreset,paramsave
+
 daynightmode ,hue ,contrast , satu , expostate , wbstate ,expfrmmode,expmode , aetarget, aetime,aeagc,metime ,meagain , medgain,dmetime ,dmeagain , dmedgain  , awbmode , mwbcolortemp , mwbgain,imagedir,sreg,striggerone,triggeredge,autotgcnt,tgdebncr,tgdly,pickmode,pickone,mipistatus,ledstrobe,slowshuttergain,sysreboot,sysreset,paramsave
 +
 
      Line 159: Line 160:  
<code>./cs_mipi_i2c.sh -r -f ispcap</code>
 
<code>./cs_mipi_i2c.sh -r -f ispcap</code>
   −
get camera isp capbility. Will add details later.
+
get camera isp capbility.
 +
 
 +
bit0 : CSC hue,contrast,saturation
 +
 
 +
bit1 : AE auto exposure
 +
 
 +
bit2 : ME manual exposure
 +
 
 +
bit3 : AWB auto white balance
 +
 
 +
bit4 : MWB  manual white balance
 +
 
 +
bit5 : DME  direct manual exposure
 
=====powerhz=====
 
=====powerhz=====
 
<code>./cs_mipi_i2c.sh -r -f powerhz</code>
 
<code>./cs_mipi_i2c.sh -r -f powerhz</code>
Line 337: Line 350:     
1: manual exposure
 
1: manual exposure
 +
 +
2: direct manual exposure,skip isp,write to sensor registers. CS-MIPI-SC132 only.
 
=====aetarget=====
 
=====aetarget=====
 
<code>./cs_mipi_i2c.sh -r -f aetarget</code>
 
<code>./cs_mipi_i2c.sh -r -f aetarget</code>
Line 401: Line 416:     
manual dgain,dB. Effective when '''expmode''' is manual.
 
manual dgain,dB. Effective when '''expmode''' is manual.
 +
 +
X is the integer part and Y is the decimal part, for example X is 2 and Y is 3 means 2.3dB.
 +
 +
X range: depending on sensor.
 +
 +
Y range: [0-9].
 +
 +
IMX307,dgain range is[0,42]dB, step 0.3dB.
 +
=====dmetime=====
 +
<code>./cs_mipi_i2c.sh -r -f dmetime</code>
 +
 +
<code>./cs_mipi_i2c.sh -w -f dmetime -p1 10000</code>
 +
 +
direct manual exposure time, us.  Effective when '''expmode''' is direct manual.
 +
 +
range:[0-1000000/framerate]
 +
 +
If you need ultra-long exposure, you need to adjust the framerate to match this parameter.
 +
=====dmeagain=====
 +
<code>./cs_mipi_i2c.sh -w -f dmeagain -p1 X -p2 Y</code>
 +
 +
<code>./cs_mipi_i2c.sh -r -f dmeagain</code>
 +
 +
direct manual again,dB. Effective when '''expmode''' is direct manual.
 +
 +
X is the integer part and Y is the decimal part, for example X is 2 and Y is 3 means 2.3dB.
 +
 +
X range: depending on sensor.
 +
 +
Y range: [0-9].
 +
 +
IMX307,again range is[0,27]dB, step 0.3dB.
 +
=====dmedgain=====
 +
<code>./cs_mipi_i2c.sh -w -f dmedgain -p1 X -p2 Y</code>
 +
 +
<code>./cs_mipi_i2c.sh -r -f dmedgain</code>
 +
 +
direct manual dgain,dB. Effective when '''expmode''' is direct manual.
    
X is the integer part and Y is the decimal part, for example X is 2 and Y is 3 means 2.3dB.
 
X is the integer part and Y is the decimal part, for example X is 2 and Y is 3 means 2.3dB.

Navigation menu