# register settings mt9v024 # PHYTEC 2010, V1.0 # set MT9V024 AGC/AEC on/off, context A # ===================================== 0x48,0xAF,0x0003 # AGC automatic = on, AEC automatic = on (default) #0x48,0xAF,0x0002 # AGC automatic = on, AEC automatic = off #0x48,0xAF,0x0001 # AGC automatic = off, AEC automatic = on #0x48,0xAF,0x0000 # AGC automatic = off, AEC automatic = off # set MT9V024 manual AGC, context A # ================================= 0x48,0x35,0x0010 # set gain = 1.00 (default) #0x48,0x35,0x0014 # set gain = 1.25 #0x48,0x35,0x0018 # set gain = 1.50 #0x48,0x35,0x001C # set gain = 1.75 #0x48,0x35,0x0020 # set gain = 2.00 #0x48,0x35,0x0024 # set gain = 2.25 #0x48,0x35,0x0028 # set gain = 2.50 #0x48,0x35,0x002C # set gain = 2.75 #0x48,0x35,0x0030 # set gain = 3.00 #0x48,0x35,0x0034 # set gain = 3.25 #0x48,0x35,0x0038 # set gain = 3.50 #0x48,0x35,0x003C # set gain = 3.75 #0x48,0x35,0x0040 # set gain = 4.00 # set MT9V024 manual AEC, context A # ================================= # warning: if value > (height + V Blanking -2) then to have an effect at framerate (insert rows between frame valid) 0x48,0x0B,481 # set number of rows = [0..32765] # warning. In the current linux cameradriver the number of rows fixed to 481 rows! # Changing this parameter will have no effect. # set MT9V024 BLC # =============== # set BLC automatic 0x48,0x47,0xFFFE,a # automatic = on (default) # set BLC manual #0x48,0x47,0x0001,o # automatic = off #0x48,0x48,0 # set black level calibration value = [-127..127] # set MT9V024 MIRROR, context A # ============================= # set flip row and/or column #0x48,0x0D,0xFFCF,a # without flip #0x48,0x0D,0x0010,o # flip row #0x48,0x0D,0x0020,o # flip column #0x48,0x0D,0x0030,o # flip row and column # set MT9V024 TESTPATTERN # ======================= # set testpattern off #0x48,0x7F,0xDFFF,a # testpattern off #0x48,0x70,0x0001,o # enable noise correction, context A # set testpattern #0x48,0x7F,0x2800,o # generates vertical shade #0x48,0x7F,0x3000,o # generates horizontal shade #0x48,0x7F,0x3800,o # generates diagonal shade #0x48,0x70,0xFFFE,a # disable noise correction, context A (is nessessary for correct testpattern) # set MT9V024 LVDS # ================ #0x48,0xB3,0x0000 # enable LVDS driver #0x48,0xB1,0x0000 # de-assert LVDS power-down #0x48,0x0C,0x0001 # issue a soft reset and #0x48,0x0C,0x0000 # followed by 0 # set MT9V024 LED_OUT control (strobe) # ==================================== #0x48,0x1B,0x0001 # disable LED_OUT output #0x48,0x1B,0x0000 # enable LED_OUT output, LED_OUT output high-activ (default) #0x48,0x1B,0x0002 # enable LED_OUT output, LED_OUT output low-activ