Changes

Jump to navigation Jump to search
Line 67: Line 67:     
===== manufacturer =====
 
===== manufacturer =====
<code>./mv_mipi_i2c.sh -r -f manufacturer</code>
+
<code>./mv_mipi_i2c.sh -r -f manufacturer -b your_i2c_bus_number</code>
    
Get the manufacturer name, which is  '''VEYE'''.
 
Get the manufacturer name, which is  '''VEYE'''.
    
===== model =====
 
===== model =====
<code>./mv_mipi_i2c.sh -r -f model</code>
+
<code>./mv_mipi_i2c.sh -r -f model -b your_i2c_bus_number</code>
    
Get the product model, such as '''MV-MIPI-IMX178M''' /  '''MV-MIPI-SC132M'''.
 
Get the product model, such as '''MV-MIPI-IMX178M''' /  '''MV-MIPI-SC132M'''.
    
===== version =====
 
===== version =====
<code>./mv_mipi_i2c.sh -r -f version</code>
+
<code>./mv_mipi_i2c.sh -r -f version -b your_i2c_bus_number</code>
    
Get the Controller version number and Logical version number.  
 
Get the Controller version number and Logical version number.  
Line 84: Line 84:     
===== serialno =====
 
===== serialno =====
<code>./mv_mipi_i2c.sh -r -f serialno</code>
+
<code>./mv_mipi_i2c.sh -r -f serialno -b your_i2c_bus_number</code>
    
Get the unique serial number of this module.
 
Get the unique serial number of this module.
    
===== timestamp =====
 
===== timestamp =====
<code>./mv_mipi_i2c.sh -r -f timestamp</code>
+
<code>./mv_mipi_i2c.sh -r -f timestamp -b your_i2c_bus_number</code>
    
Time after system startup in Milliseconds.  
 
Time after system startup in Milliseconds.  
Line 96: Line 96:     
===== errcode =====
 
===== errcode =====
<code>./mv_mipi_i2c.sh -r -f errcode</code>
+
<code>./mv_mipi_i2c.sh -r -f errcode -b your_i2c_bus_number</code>
    
System error code, each bit represents an error type.
 
System error code, each bit represents an error type.
Line 111: Line 111:     
===== fmtcap =====
 
===== fmtcap =====
<code>./mv_mipi_i2c.sh -r -f fmtcap</code>
+
<code>./mv_mipi_i2c.sh -r -f fmtcap -b your_i2c_bus_number</code>
    
Capbility of data formats supported by the camera.
 
Capbility of data formats supported by the camera.
Line 126: Line 126:     
===== factoryparam =====
 
===== factoryparam =====
<code>./mv_mipi_i2c.sh -w -f factoryparam</code>
+
<code>./mv_mipi_i2c.sh -w -f factoryparam -b your_i2c_bus_number</code>
    
All parameters restored to factory default values.
 
All parameters restored to factory default values.
    
===== paramsave =====
 
===== paramsave =====
<code>./mv_mipi_i2c.sh -w -f paramsave</code>
+
<code>./mv_mipi_i2c.sh -w -f paramsave -b your_i2c_bus_number</code>
    
Save all parameters to flash, and they will not be lost when power off.
 
Save all parameters to flash, and they will not be lost when power off.
    
===== reboot =====
 
===== reboot =====
<code>./mv_mipi_i2c.sh -w -f reboot</code>
+
<code>./mv_mipi_i2c.sh -w -f reboot -b your_i2c_bus_number</code>
    
Reboot the camera.
 
Reboot the camera.
    
===== i2caddr =====
 
===== i2caddr =====
<code>./mv_mipi_i2c.sh -w -f i2caddr -p1 [new]</code>
+
<code>./mv_mipi_i2c.sh -w -f i2caddr -p1 [new] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f i2caddr</code> <br />This module support i2c address changed by software, i2c address range[0x3,0x77].  
+
<code>./mv_mipi_i2c.sh -r -f i2caddr -b your_i2c_bus_number</code> <br />This module support i2c address changed by software, i2c address range[0x3,0x77].  
    
Will really take effect only after paramsave and reboot .
 
Will really take effect only after paramsave and reboot .
    
===== slavemode =====
 
===== slavemode =====
<code>./mv_mipi_i2c.sh -w -f slavemode -p1 [0/1]</code>
+
<code>./mv_mipi_i2c.sh -w -f slavemode -p1 [0/1] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f slavemode</code>  
+
<code>./mv_mipi_i2c.sh -r -f slavemode -b your_i2c_bus_number</code>  
    
Whether the sensor is operating in slave mode. In slave mode, the camera relies on external signals to provide XVS and XHS.   
 
Whether the sensor is operating in slave mode. In slave mode, the camera relies on external signals to provide XVS and XHS.   
Line 159: Line 159:     
===== mcubypass =====
 
===== mcubypass =====
<code>./mv_mipi_i2c.sh -w -f mcubypass -p1 [0/1]</code>
+
<code>./mv_mipi_i2c.sh -w -f mcubypass -p1 [0/1] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f mcubypass</code>  
+
<code>./mv_mipi_i2c.sh -r -f mcubypass -b your_i2c_bus_number</code>  
    
For Raw series camera,set SDA(Sensor Direct Access) mode.  
 
For Raw series camera,set SDA(Sensor Direct Access) mode.  
Line 168: Line 168:     
===== imgacq =====
 
===== imgacq =====
<code>./mv_mipi_i2c.sh -w -f imgacq -p1 [0/1]</code>
+
<code>./mv_mipi_i2c.sh -w -f imgacq -p1 [0/1] -b your_i2c_bus_number</code>
    
Start/Stop acquisition
 
Start/Stop acquisition
Line 179: Line 179:     
===== trgmode* =====
 
===== trgmode* =====
<code>./mv_mipi_i2c.sh -w -f trgmode -p1 [0,2]</code>
+
<code>./mv_mipi_i2c.sh -w -f trgmode -p1 [0,2] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f trgmode</code>
+
<code>./mv_mipi_i2c.sh -r -f trgmode -b your_i2c_bus_number</code>
 
{| class="wikitable"
 
{| class="wikitable"
 
!value
 
!value
Line 198: Line 198:     
===== trgsrc* =====
 
===== trgsrc* =====
<code>./mv_mipi_i2c.sh -w -f trgsrc -p1 [0,1]</code>
+
<code>./mv_mipi_i2c.sh -w -f trgsrc -p1 [0,1] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f trgsrc</code>
+
<code>./mv_mipi_i2c.sh -r -f trgsrc -b your_i2c_bus_number</code>
 
{| class="wikitable"
 
{| class="wikitable"
 
!value
 
!value
Line 213: Line 213:     
===== trgnum* =====
 
===== trgnum* =====
<code>./mv_mipi_i2c.sh -w -f trgnum -p1 [1,255]</code>
+
<code>./mv_mipi_i2c.sh -w -f trgnum -p1 [1,255] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f trgnum</code>
+
<code>./mv_mipi_i2c.sh -r -f trgnum -b your_i2c_bus_number</code>
    
The number of image frames output by one trigger signal in trigger mode.  
 
The number of image frames output by one trigger signal in trigger mode.  
    
===== trginterval* =====
 
===== trginterval* =====
<code>./mv_mipi_i2c.sh -w -f trginterval -p1 [us]</code>
+
<code>./mv_mipi_i2c.sh -w -f trginterval -p1 [us] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f trginterval</code>
+
<code>./mv_mipi_i2c.sh -r -f trginterval -b your_i2c_bus_number</code>
    
Trigger interval in normal trigger mode, in microseconds. Range:[0.0xFFFFFF].
 
Trigger interval in normal trigger mode, in microseconds. Range:[0.0xFFFFFF].
    
===== trgone =====
 
===== trgone =====
<code>./mv_mipi_i2c.sh -w -f trgone</code>
+
<code>./mv_mipi_i2c.sh -w -f trgone -b your_i2c_bus_number</code>
    
Software trigger command.One execution will perform a soft trigger.
 
Software trigger command.One execution will perform a soft trigger.
    
===== trgcount =====
 
===== trgcount =====
<code>./mv_mipi_i2c.sh -r -f trgcount</code>
+
<code>./mv_mipi_i2c.sh -r -f trgcount -b your_i2c_bus_number</code>
    
Trigger count statistics.
 
Trigger count statistics.
Line 238: Line 238:  
Get the total number of triggers and the number of trigger loss.
 
Get the total number of triggers and the number of trigger loss.
   −
<code>./mv_mipi_i2c.sh -w -f trgcountclr</code>
+
<code>./mv_mipi_i2c.sh -w -f trgcountclr -b your_i2c_bus_number</code>
    
Clear trigger count.
 
Clear trigger count.
Line 246: Line 246:     
===== trgdelay* =====
 
===== trgdelay* =====
<code>./mv_mipi_i2c.sh -r -f trgdelay</code>
+
<code>./mv_mipi_i2c.sh -r -f trgdelay -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f trgdelay -p1 [us]</code>
+
<code>./mv_mipi_i2c.sh -w -f trgdelay -p1 [us] -b your_i2c_bus_number</code>
    
Trigger delay, effective under both soft trigger and hard trigger mode.
 
Trigger delay, effective under both soft trigger and hard trigger mode.
Line 255: Line 255:     
===== trgedge* =====
 
===== trgedge* =====
<code>./mv_mipi_i2c.sh -r -f trgedge</code>
+
<code>./mv_mipi_i2c.sh -r -f trgedge -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f trgedge -p1 [0,1]</code>
+
<code>./mv_mipi_i2c.sh -w -f trgedge -p1 [0,1] -b your_i2c_bus_number</code>
    
Effective trigger edge in hard trigger mode.
 
Effective trigger edge in hard trigger mode.
Line 272: Line 272:     
===== trgfilter_enable* =====
 
===== trgfilter_enable* =====
<code>./mv_mipi_i2c.sh -r -f trgfilter_enable</code>
+
<code>./mv_mipi_i2c.sh -r -f trgfilter_enable -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f trgfilter_enable -p1 [0,2]</code>
+
<code>./mv_mipi_i2c.sh -w -f trgfilter_enable -p1 [0,2] -b your_i2c_bus_number</code>
 
{| class="wikitable"
 
{| class="wikitable"
 
!value
 
!value
Line 293: Line 293:     
===== trgfilter_time* =====
 
===== trgfilter_time* =====
<code>./mv_mipi_i2c.sh -r -f trgfilter_time</code>
+
<code>./mv_mipi_i2c.sh -r -f trgfilter_time -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f trgfilter_time -p1 [us]</code>
+
<code>./mv_mipi_i2c.sh -w -f trgfilter_time -p1 [us] -b your_i2c_bus_number</code>
    
Trigger signal filtering window width.
 
Trigger signal filtering window width.
Line 302: Line 302:     
===== trgexp_delay* =====
 
===== trgexp_delay* =====
<code>./mv_mipi_i2c.sh -r -f trgexp_delay</code>
+
<code>./mv_mipi_i2c.sh -r -f trgexp_delay -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f trgexp_delay -p1 [us]</code>
+
<code>./mv_mipi_i2c.sh -w -f trgexp_delay -p1 [us] -b your_i2c_bus_number</code>
    
Exposure delay, i.e. the time to turn on the Strobe signal in advance.
 
Exposure delay, i.e. the time to turn on the Strobe signal in advance.
Line 313: Line 313:     
===== gpios_status =====
 
===== gpios_status =====
<code>./mv_mipi_i2c.sh -r -f gpios_status</code>
+
<code>./mv_mipi_i2c.sh -r -f gpios_status -b your_i2c_bus_number</code>
    
Get TriggerIN_IO, OUT_IO1 and OUT_IO2 status.
 
Get TriggerIN_IO, OUT_IO1 and OUT_IO2 status.
    
===== outio1_mode =====
 
===== outio1_mode =====
<code>./mv_mipi_i2c.sh -r -f outio1_mode</code>
+
<code>./mv_mipi_i2c.sh -r -f outio1_mode -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f outio1_mode -p1 [0,1]</code>
+
<code>./mv_mipi_i2c.sh -w -f outio1_mode -p1 [0,1] -b your_i2c_bus_number</code>
 
{| class="wikitable"
 
{| class="wikitable"
 
!value
 
!value
Line 336: Line 336:     
===== outio1_usr =====
 
===== outio1_usr =====
<code>./mv_mipi_i2c.sh -r -f outio1_usr</code>
+
<code>./mv_mipi_i2c.sh -r -f outio1_usr -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f outio1_usr -p1 [0,1]</code>
+
<code>./mv_mipi_i2c.sh -w -f outio1_usr -p1 [0,1] -b your_i2c_bus_number</code>
 
{| class="wikitable"
 
{| class="wikitable"
 
!value
 
!value
Line 351: Line 351:     
===== outio1_rvs =====
 
===== outio1_rvs =====
<code>./mv_mipi_i2c.sh -r -f outio1_rvs</code>
+
<code>./mv_mipi_i2c.sh -r -f outio1_rvs -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f outio1_rvs -p1 [0,1]</code>
+
<code>./mv_mipi_i2c.sh -w -f outio1_rvs -p1 [0,1] -b your_i2c_bus_number</code>
    
Reverse OUT_IO1 high and low levels if set to 1.
 
Reverse OUT_IO1 high and low levels if set to 1.
    
===== outio2_mode =====
 
===== outio2_mode =====
<code>./mv_mipi_i2c.sh -r -f outio2_mode</code>
+
<code>./mv_mipi_i2c.sh -r -f outio2_mode -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f outio2_mode -p1 [0,5]</code>
+
<code>./mv_mipi_i2c.sh -w -f outio2_mode -p1 [0,5] -b your_i2c_bus_number</code>
 
{| class="wikitable"
 
{| class="wikitable"
 
!value
 
!value
Line 392: Line 392:     
===== outio2_usr =====
 
===== outio2_usr =====
<code>./mv_mipi_i2c.sh -r -f outio2_usr</code>
+
<code>./mv_mipi_i2c.sh -r -f outio2_usr -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f outio2_usr -p1 [0,1]</code>
+
<code>./mv_mipi_i2c.sh -w -f outio2_usr -p1 [0,1] -b your_i2c_bus_number</code>
 
{| class="wikitable"
 
{| class="wikitable"
 
!value
 
!value
Line 407: Line 407:     
===== outio2_rvs =====
 
===== outio2_rvs =====
<code>./mv_mipi_i2c.sh -r -f outio2_rvs</code>
+
<code>./mv_mipi_i2c.sh -r -f outio2_rvs -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f outio2_rvs -p1 [0,1]</code>
+
<code>./mv_mipi_i2c.sh -w -f outio2_rvs -p1 [0,1] -b your_i2c_bus_number</code>
    
Reverse OUT_IO1 high and low levels if set to 1.
 
Reverse OUT_IO1 high and low levels if set to 1.
Line 416: Line 416:     
===== maxwh =====
 
===== maxwh =====
<code>./mv_mipi_i2c.sh -r -f maxwh</code>
+
<code>./mv_mipi_i2c.sh -r -f maxwh -b your_i2c_bus_number</code>
    
Get the maximum supported resolution of the sensor.
 
Get the maximum supported resolution of the sensor.
    
===== maxfps =====
 
===== maxfps =====
<code>./mv_mipi_i2c.sh -r -f maxfps</code>
+
<code>./mv_mipi_i2c.sh -r -f maxfps -b your_i2c_bus_number</code>
    
The maximum frame rate supported in the current mode.
 
The maximum frame rate supported in the current mode.
Line 428: Line 428:     
===== fps* =====
 
===== fps* =====
<code>./mv_mipi_i2c.sh -w -f fps -p1 [framerate]</code>
+
<code>./mv_mipi_i2c.sh -w -f fps -p1 [framerate] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f fps</code>
+
<code>./mv_mipi_i2c.sh -r -f fps -b your_i2c_bus_number</code>
    
Configure the actual frame rate of the camera in the current mode.   
 
Configure the actual frame rate of the camera in the current mode.   
Line 439: Line 439:     
===== roi* =====
 
===== roi* =====
<code>./mv_mipi_i2c.sh -w -f roi -p1 [x] -p2 [y] -p3 [width] -p4 [height]</code>
+
<code>./mv_mipi_i2c.sh -w -f roi -p1 [x] -p2 [y] -p3 [width] -p4 [height] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f roi</code>
+
<code>./mv_mipi_i2c.sh -r -f roi -b your_i2c_bus_number</code>
    
ROI(region of interest) is the sensor output area, and the default is full screen output.  
 
ROI(region of interest) is the sensor output area, and the default is full screen output.  
Line 460: Line 460:     
===== imgdir =====
 
===== imgdir =====
<code>./mv_mipi_i2c.sh -w -f imgdir -p1 [0,3]</code>
+
<code>./mv_mipi_i2c.sh -w -f imgdir -p1 [0,3] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f imgdir</code>
+
<code>./mv_mipi_i2c.sh -r -f imgdir -b your_i2c_bus_number</code>
 
{| class="wikitable"
 
{| class="wikitable"
 
!value
 
!value
Line 482: Line 482:     
===== pixelformat =====
 
===== pixelformat =====
<code>./mv_mipi_i2c.sh -w -f pixelformat -p1 [0,2]</code>
+
<code>./mv_mipi_i2c.sh -w -f pixelformat -p1 [0,2] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f pixelformat</code>
+
<code>./mv_mipi_i2c.sh -r -f pixelformat -b your_i2c_bus_number</code>
 
{| class="wikitable"
 
{| class="wikitable"
 
!value
 
!value
Line 504: Line 504:     
===== blacklevel =====
 
===== blacklevel =====
<code>./mv_mipi_i2c.sh -w -f blacklevel -p1 [blacklevel]</code>
+
<code>./mv_mipi_i2c.sh -w -f blacklevel -p1 [blacklevel] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f blacklevel</code>
+
<code>./mv_mipi_i2c.sh -r -f blacklevel -b your_i2c_bus_number</code>
    
This black level value will be set directly to the sensor.
 
This black level value will be set directly to the sensor.
    
===== blcmode =====
 
===== blcmode =====
<code>./mv_mipi_i2c.sh -w -f blcmode -p1 [0/1]</code>
+
<code>./mv_mipi_i2c.sh -w -f blcmode -p1 [0/1] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f blcmode</code>  
+
<code>./mv_mipi_i2c.sh -r -f blcmode -b your_i2c_bus_number</code>  
    
Black level calibration modes:
 
Black level calibration modes:
Line 522: Line 522:     
===== testimg =====
 
===== testimg =====
<code>./mv_mipi_i2c.sh -w -f testimg -p1 [0,2]</code>
+
<code>./mv_mipi_i2c.sh -w -f testimg -p1 [0,2] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f testimg</code>
+
<code>./mv_mipi_i2c.sh -r -f testimg -b your_i2c_bus_number</code>
 
{| class="wikitable"
 
{| class="wikitable"
 
!value
 
!value
Line 540: Line 540:     
===== lanenum* =====
 
===== lanenum* =====
<code>./mv_mipi_i2c.sh -w -f lanenum -p1 [2/4]</code>
+
<code>./mv_mipi_i2c.sh -w -f lanenum -p1 [2/4] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f lanenum</code><br />For modules that support lane number configuration, use this register to modify the lane number.  
+
<code>./mv_mipi_i2c.sh -r -f lanenum -b your_i2c_bus_number</code><br />For modules that support lane number configuration, use this register to modify the lane number.  
    
===== mipidatarate =====
 
===== mipidatarate =====
<code>./mv_mipi_i2c.sh -r -f mipidatarate</code>
+
<code>./mv_mipi_i2c.sh -r -f mipidatarate -b your_i2c_bus_number</code>
    
he MIPI datarate for each lane, measured in Kbps.
 
he MIPI datarate for each lane, measured in Kbps.
Line 559: Line 559:     
===== gamma =====
 
===== gamma =====
<code>./mv_mipi_i2c.sh -r -f gamma</code>
+
<code>./mv_mipi_i2c.sh -r -f gamma -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f gamma -p1 [gamma]</code>
+
<code>./mv_mipi_i2c.sh -w -f gamma -p1 [gamma] -b your_i2c_bus_number</code>
    
Range (0,4.0],accurate is 0.01.
 
Range (0,4.0],accurate is 0.01.
Line 568: Line 568:     
===== gammaenable =====
 
===== gammaenable =====
<code>./mv_mipi_i2c.sh -r -f gammaenable</code>
+
<code>./mv_mipi_i2c.sh -r -f gammaenable -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f gammaenable -p1 [0,1]</code>
+
<code>./mv_mipi_i2c.sh -w -f gammaenable -p1 [0,1] -b your_i2c_bus_number</code>
    
Enable/Disable gamma function.
 
Enable/Disable gamma function.
    
===== dpcenable =====
 
===== dpcenable =====
<code>./mv_mipi_i2c.sh -r -f dpcenable</code>
+
<code>./mv_mipi_i2c.sh -r -f dpcenable -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f dpcenable -p1 [0,1]</code>
+
<code>./mv_mipi_i2c.sh -w -f dpcenable -p1 [0,1] -b your_i2c_bus_number</code>
    
Enable/Disable DPC(Defect Point Correction) function.
 
Enable/Disable DPC(Defect Point Correction) function.
    
===== lutenable =====
 
===== lutenable =====
<code>./mv_mipi_i2c.sh -r -f lutenable</code>
+
<code>./mv_mipi_i2c.sh -r -f lutenable -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f lutenable -p1 [0,1]</code>
+
<code>./mv_mipi_i2c.sh -w -f lutenable -p1 [0,1] -b your_i2c_bus_number</code>
    
Enable/Disable LUT(Look-Up-Table) function.
 
Enable/Disable LUT(Look-Up-Table) function.
    
===== lut =====
 
===== lut =====
<code>./mv_mipi_i2c.sh -r -f lut -p1 [lutfilename]</code>
+
<code>./mv_mipi_i2c.sh -r -f lut -p1 [lutfilename] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f lut -p1 [lutfilename]</code>
+
<code>./mv_mipi_i2c.sh -w -f lut -p1 [lutfilename] -b your_i2c_bus_number</code>
    
Import or export a lut curve to a file, refer to the provided lut_linear.txt for the file format.
 
Import or export a lut curve to a file, refer to the provided lut_linear.txt for the file format.
    
===== expmode =====
 
===== expmode =====
<code>./mv_mipi_i2c.sh -r -f expmode</code>
+
<code>./mv_mipi_i2c.sh -r -f expmode -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f expmode -p1 [0,2]</code>
+
<code>./mv_mipi_i2c.sh -w -f expmode -p1 [0,2] -b your_i2c_bus_number</code>
 
{| class="wikitable"
 
{| class="wikitable"
 
!value
 
!value
Line 619: Line 619:     
===== metime =====
 
===== metime =====
<code>./mv_mipi_i2c.sh -w -f metime -p1 [us]</code>
+
<code>./mv_mipi_i2c.sh -w -f metime -p1 [us] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f metime</code>
+
<code>./mv_mipi_i2c.sh -r -f metime -b your_i2c_bus_number</code>
    
Range (0,1000000/fps].Because of <u>Note1</u> and range limitation, please read back to confirm the real metime take effect.
 
Range (0,1000000/fps].Because of <u>Note1</u> and range limitation, please read back to confirm the real metime take effect.
    
===== gainmode =====
 
===== gainmode =====
<code>./mv_mipi_i2c.sh -r -f gainmode</code>
+
<code>./mv_mipi_i2c.sh -r -f gainmode -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f gainmode -p1 [0,3]</code>
+
<code>./mv_mipi_i2c.sh -w -f gainmode -p1 [0,3] -b your_i2c_bus_number</code>
 
{| class="wikitable"
 
{| class="wikitable"
 
!value
 
!value
Line 651: Line 651:     
===== mgain =====
 
===== mgain =====
<code>./mv_mipi_i2c.sh -w -f mgain -p1 [gain]</code>
+
<code>./mv_mipi_i2c.sh -w -f mgain -p1 [gain] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f mgain</code>
+
<code>./mv_mipi_i2c.sh -r -f mgain -b your_i2c_bus_number</code>
    
Range [0,MAX_Gain],MAX_Gain varies from sensor to sensor, for example, IMX178 is 48dB.
 
Range [0,MAX_Gain],MAX_Gain varies from sensor to sensor, for example, IMX178 is 48dB.
Line 660: Line 660:     
===== aatarget =====
 
===== aatarget =====
<code>./mv_mipi_i2c.sh -r -f aatarget</code>
+
<code>./mv_mipi_i2c.sh -r -f aatarget -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f aatarget -p1 [1,255]</code>
+
<code>./mv_mipi_i2c.sh -w -f aatarget -p1 [1,255] -b your_i2c_bus_number</code>
    
The target brightness of AE and AG algorithm.
 
The target brightness of AE and AG algorithm.
Line 671: Line 671:     
===== aemaxtime =====
 
===== aemaxtime =====
<code>./mv_mipi_i2c.sh -r -f aemaxtime</code>
+
<code>./mv_mipi_i2c.sh -r -f aemaxtime -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f aemaxtime -p1 [16,1000000/fps]</code>
+
<code>./mv_mipi_i2c.sh -w -f aemaxtime -p1 [16,1000000/fps] -b your_i2c_bus_number</code>
    
Maximum exposure time in AE mode.Range[16,1000000]. <u>Note1.</u>
 
Maximum exposure time in AE mode.Range[16,1000000]. <u>Note1.</u>
Line 680: Line 680:     
===== agmaxgain =====
 
===== agmaxgain =====
<code>./mv_mipi_i2c.sh -r -f agmaxgain</code>
+
<code>./mv_mipi_i2c.sh -r -f agmaxgain -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -w -f agmaxgain -p1 [0,maxgain]</code>
+
<code>./mv_mipi_i2c.sh -w -f agmaxgain -p1 [0,maxgain] -b your_i2c_bus_number</code>
    
Maximum value of auto gain. The range and step vary according to the model.
 
Maximum value of auto gain. The range and step vary according to the model.
Line 691: Line 691:     
===== exptime =====
 
===== exptime =====
<code>./mv_mipi_i2c.sh -r -f exptime</code>
+
<code>./mv_mipi_i2c.sh -r -f exptime -b your_i2c_bus_number</code>
    
Get the current exposure time. This command is valid in any exposure mode.
 
Get the current exposure time. This command is valid in any exposure mode.
    
===== curgain =====
 
===== curgain =====
<code>./mv_mipi_i2c.sh -r -f curgain</code>
+
<code>./mv_mipi_i2c.sh -r -f curgain -b your_i2c_bus_number</code>
    
Gets the current gain. This command is valid in any exposure mode.
 
Gets the current gain. This command is valid in any exposure mode.
    
===== aaroienable =====
 
===== aaroienable =====
<code>./mv_mipi_i2c.sh -w -f aaroienable -p1 [0,1]</code>
+
<code>./mv_mipi_i2c.sh -w -f aaroienable -p1 [0,1] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f aaroienable</code>
+
<code>./mv_mipi_i2c.sh -r -f aaroienable -b your_i2c_bus_number</code>
    
Whether to enable AAROI statistics function, not enable means full ROI statistics.
 
Whether to enable AAROI statistics function, not enable means full ROI statistics.
    
===== aaroi =====
 
===== aaroi =====
<code>./mv_mipi_i2c.sh -w -f aaroi -p1 [x] -p2 [y] -p3 [width] -p4 [height]</code>
+
<code>./mv_mipi_i2c.sh -w -f aaroi -p1 [x] -p2 [y] -p3 [width] -p4 [height] -b your_i2c_bus_number</code>
   −
<code>./mv_mipi_i2c.sh -r -f aaroi</code>
+
<code>./mv_mipi_i2c.sh -r -f aaroi -b your_i2c_bus_number</code>
    
The AAROI coordinates are relative coordinates within the ROI area. So the area must be smaller than the image ROI.
 
The AAROI coordinates are relative coordinates within the ROI area. So the area must be smaller than the image ROI.
    
===== aeag_run_once_save =====
 
===== aeag_run_once_save =====
<code>./mv_mipi_i2c.sh -w -f aeag_run_once_save</code>
+
<code>./mv_mipi_i2c.sh -w -f aeag_run_once_save -b your_i2c_bus_number</code>
    
Execute AE&AG once operation and save the results to the camera as manual values!<br />This is a function that is useful when the camera is installed.
 
Execute AE&AG once operation and save the results to the camera as manual values!<br />This is a function that is useful when the camera is installed.
Line 731: Line 731:     
===== snsreg =====
 
===== snsreg =====
<code>./mv_mipi_i2c.sh -r -f snsreg -p1 [sensor reg addr]</code>
+
<code>./mv_mipi_i2c.sh -r -f snsreg -p1 [sensor reg addr] -b your_i2c_bus_number</code>
    
Read the sensor's register indirectly via the camera controller unit.
 
Read the sensor's register indirectly via the camera controller unit.

Navigation menu