PDF: 4749051511/Source: 7788125767
Aptina reserves the right to change products or specifications without notice.
MT9T111_DG - Rev. B 9/10 EN
106
©2007 Aptina Imaging Corporation. All rights reserved.
MT9T111: Developer Guide
Auto Exposure (AE)
Preliminary
[Brightness_Metric]
//Brightness Metric
VAR8 = 18, 0x0113, 0x0A // CAM1_STAT_BRIGHTNESS_METRIC_PREDIVIDER
VAR = 26, 0x006B, 0x0046 // PRI_A_CONFIG_LL_START_BRIGHTNESS
VAR = 26, 0x006D, 0x012C // PRI_A_CONFIG_LL_STOP_BRIGHTNESS
VAR = 27, 0x006B, 0x0046 // PRI_B_CONFIG_LL_START_BRIGHTNESS
VAR = 27, 0x006D, 0x012C // PRI_B_CONFIG_LL_STOP_BRIGHTNESS
VAR = 13, 0x0039, 0x0046 // AS_ASSTART_BRIGHTNESS
VAR = 13, 0x003B, 0x012C / / AS_ASSTOP_BRIGHTNESS
VAR = 18, 0x0126, 0x0001 // CAM1_LL_START_GAMMA_BM
VAR = 18, 0x0128, 0x0002 // CAM1_LL_MID_GAMMA_BM
VAR = 18, 0x012A, 0x012C // CAM1_LL_STOP_GAMMA_BM
VAR = 19, 0x0126, 0x0001 // CAM2_LL_START_GAMMA_BM
VAR = 19, 0x0128, 0x0002 // CAM2_LL_MID_GAMMA_BM
VAR = 19, 0x012A, 0x012C // CAM2_LL_STOP_GAMMA_BM
[Enable Aperture Correction in Context A]
REG = 0x98E, 0x6867 // MCU_ADDRESS
REG = 0x990, 0x007D // PRI_A_CONFIG_LL_ALGO_RUN
REG = 0x98E, 0x8400 // MCU_ADDRESS
REG = 0x990, 0x06 // SEQ_CMD
[Disable Aperture Correction in Context A]
REG = 0x98E, 0x6867 // MCU_ADDRESS
REG = 0x990, 0x006D // PRI_A_CONFIG_LL_ALGO_RUN
REG = 0x98E, 0x8400 // MCU_ADDRESS
REG = 0x990, 0x06 // SEQ_CMD
DELAY = 50
REG = 0x3210, 0x01A8 // COLOR_PIPELINE_CONTROL
[Enable Aperture Correction in Context B]
REG = 0x98E, 0x6C67 // MCU_ADDRESS
REG = 0x990, 0x0010 // PRI_B_CONFIG_LL_ALGO_RUN
REG = 0x3210, 0x01B8 // COLOR_PIPELINE_CONTROL
[Disable Aperture Correction in Context B]
REG = 0x98E, 0x6C67 // MCU_ADDRESS
REG = 0x990, 0x0000 // PRI_B_CONFIG_LL_ALGO_RUN
REG = 0x98E, 0x8400 // MCU_ADDRESS
REG = 0x990, 0x06 // SEQ_CMD
DELAY = 200
REG = 0x3210, 0x01A8 // COLOR_PIPELINE_CONTROL