17
AE/AG Controls
Bank Register Name Addr Bits
Default
Value R/W Description
0 R_AELedO _UB 0x46 7:0 0x60 R/W Decrease exposure time,
if AE_LED_O _YAvg (Bank 0, Reg 0x58) > R_AELedO _UB
0 R_AELedO _LB 0x47 7:0 0x20 R/W Increase exposure time,
if AE_LED_O _YAvg (Bank 0, Reg 0x58) < R_AELedO _LB
0 R_AE_Exposure_
UB
0x48 7:0 0x20 R/W Low byte of auto exposure time up bound,
exposure time (µs) = R_AE_Exposure_UB/4
0 R_AE_Exposure_
UB
0x49 7:0 0x03 R/W High byte of auto exposure time up bound,
exposure time (µs) = R_AE_Exposure_UB/4
0 R_AE_Exposure_LB 0x4A 7:0 0xC8 R/W Low byte of auto exposure time low bound,
R_AE_Exposure_LB = R_AE_Exposure_UB/2
0 R_AE_Exposure_LB 0x4B 7:0 0x00 R/W High byte of auto exposure time low bound,
R_AE_Exposure_LB = R_AE_Exposure_UB / 2
0 R_AE_Gain_UB 0x4C 7:0 0x14 R/W Auto gain up bound, gain = 1 + R_AE_Gain_UB/16
0 R_AE_Gain_LB 0x4D 7:0 0x00 R/W Auto gain low bound, gain = 1 + R_AE_Gain_LB/16
0 R_AE_Gain_Step 0x4E 3:0 0x0A R/W Gain stage adjust step,
new gain stage = current gain stage – R_AE_Gain_Step
0 R_SleepAEAG_Au-
toDisable
0x4E 4 0x01 R/W In sleep mode, if gain stage is at UB, disable wakeup AE mode
Wake up AE mode : in sleep mode, AE/AG will be set to higher
value
0 R_AE_Gain_De-
fault
0x4F 6:0 0x14 R/W Gain stage default value when AE is turned on
0 R_Exp_Sel 0x50 2:0 0x00 R/W At R_Manual_Exposure_Default = 1,
exp = R_AE_Esposure_UP / 2
R_Exp_Sel
0 R_Manual_GG 0x51 0 0x01 R/W 1: Gain manual mode, ggh gain = R_ggh, global gain = R_
global
0 : Gain auto mode
0 R_Manual_Expo-
sure
0x51 1 0x00 R/W 1: Exposure manual mode, exposure time = R_AE_Exposure_
UB
0: Auto exposure mode
0 R_Manual_Expo-
sure_Default
0x51 2 0x01 R/W Exp manual mode, exp = R_AE_Exposure_UP / 2
R_Exp_Sel
0 R_AE_EnH 0x51 4 0x00 R/W 1: AE Enable
0: AE Disable
0 AG_stage_GG 0x54 7:0 - R Gain stage, gain for analog = 2
AG_stage_GG[7:4]
0 Reg_ExposureNum 0x55 7:0 - R Low byte of current exposure time,
exposure time (µs) = Reg_ExposureNum/4
0 Reg_ExposureNum 0x56 7:0 - R High byte of current exposure time,
exposure time (µs) = Reg_ExposureNum/4
0 Reg_ggh 0x57 1:0 - R ggh gain
0: 1x
1: 2x
3: 4x
0 Reg_global 0x57 7:4 - R Global gain
0: 1x
8: 2x
Total gain = ggh × global = 2^AG_stage_GG[7:4]
0 AE_LED_O _YAvg 0x58 7:0 - R O frame average brightness
0 AE_Dec 0x59 0 - R AE decrease identi er
0 AE_Inc 0x59 1 - R AE increase identi er
0 AE_Normal_Factor 0x5A 2:0 - R AE normalize factor,
DSP data = sensor image data × 2
AE_Normal_Factor
1 R_global 0x42 7:4 0x08 R/W PGA global gain in gain manual mode
1 R_ggh 0x44 7:6 0x00 R/W PGA ggh gain in gain manual mode