Line 35: |
Line 35: |
| ./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 157: |
Line 157: |
| | | |
| p4参数,支持小数帧率功能,用于支持超过1秒的手动曝光模式。 | | p4参数,支持小数帧率功能,用于支持超过1秒的手动曝光模式。 |
− |
| |
− | <br />
| |
| | | |
| =====ispcap===== | | =====ispcap===== |
Line 174: |
Line 172: |
| | | |
| bit4 : MWB manual white balance 手动白平衡配置 | | bit4 : MWB manual white balance 手动白平衡配置 |
| + | |
| + | bit5 : DME direct manual exposure 直接手动曝光配置 |
| | | |
| =====powerhz===== | | =====powerhz===== |
Line 362: |
Line 362: |
| | | |
| 1: 手动曝光 | | 1: 手动曝光 |
| + | |
| + | 2: 直接手动曝光,跳过isp环节,直接写sensor寄存器。CS-MIPI-SC132有效。 |
| | | |
| =====aetarget===== | | =====aetarget===== |
Line 434: |
Line 436: |
| | | |
| 手动数字增益,单位dB,需'''expmode'''为手动模式下生效。 | | 手动数字增益,单位dB,需'''expmode'''为手动模式下生效。 |
| + | |
| + | 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> |
| + | |
| + | 手动曝光时间,需'''expmode'''为直接手动模式下生效, us. |
| + | |
| + | range:[0-1000000/framerate] |
| + | |
| + | =====meagain===== |
| + | <code>./cs_mipi_i2c.sh -w -f dmeagain -p1 X -p2 Y</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -r -f dmeagain</code> |
| + | |
| + | 手动模拟增益,单位dB,需'''expmode'''为直接手动模式下生效。 |
| + | |
| + | 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,agc 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> |
| + | |
| + | 手动数字增益,单位dB,需'''expmode'''为直接手动模式下生效。 |
| | | |
| 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. |