![Aptina MT9T111 Скачать руководство пользователя страница 109](http://html1.mh-extra.com/html/aptina/mt9t111/mt9t111_manual_2957067109.webp)
PDF: 4749051511/Source: 7788125767
Aptina reserves the right to change products or specifications without notice.
MT9T111_DG - Rev. B 9/10 EN
109
©2007 Aptina Imaging Corporation. All rights reserved.
MT9T111: Developer Guide
Flicker Avoidance
Preliminary
How to Verify the Anti-Flicker Driver Settings
1. Verify the settings for 50Hz manual mode:
1a. Connect the light source with 50Hz power supply.
1b. Load the following to enable 50Hz manual mode:
VAR = 26, 0x11, 0x0002 // PRI_A_CONFIG_FD_ALGO_RUN
VAR8 = 8, 0x05, 0x01 // FD_FDPERIOD_SELECT
VAR8 = 1, 0x00, 0x05 // SEQ_CMD
1c. Check the output image to see if flicker disappears.
1d. Monitor ae_track_fdperiod (VAR = 10, 0x14) to see if it is equal to
cam1_ctx_a_fdperiod_50hz (VAR8 = 18, 0x44)
2. Verify the settings for 60Hz manual mode:
2a. Connect the light source with 60Hz power supply.
2b. Load the following to enable 60Hz manual mode:
VAR = 26, 0x11, 0x0002 // PRI_A_CONFIG_FD_ALGO_RUN
VAR8 = 8, 0x05, 0x00 // FD_FDPERIOD_SELECT
VAR8 = 1, 0x00, 0x05 // SEQ_CMD
2c. Check the output image to see if flicker disappears.
2d. Monitor ae_track_fdperiod (VAR = 10, 0x14) to see if it is equal to
cam1_ctx_a_fdperiod_60hz (VAR8 = 18, 0x45)
3. Verify the setting for auto mode:
3a. Connect the light source with 60Hz power supply.
3b. Load the following to enable auto mode:
VAR = 26, 0x11, 0x0003 // PRI_A_CONFIG_FD_ALGO_RUN
VAR8 = 1, 0x00, 0x05 // SEQ_CMD
3c. Check the output image to see if flicker disappears.
3d. Monitor ae_track_fdperiod (VAR = 10, 0x14) to see if it is equal to
cam1_ctx_a_fdperiod_60hz (VAR8 = 18, 0x45)
3e. Switch the power supply to 50Hz.
3f. Check the output image to see if flicker disappears.
3g. Monitor ae_track_fdperiod (VAR = 10, 0x14) to see if it is equal to
cam1_ctx_a_fdperiod_50hz (VAR8 = 18, 0x44)
[Frame Rate Control]
VAR = 26, 0x3B, 0x000F
// PRI_A_CONFIG_AE_TRACK_AE_MIN_FDZONE -->Max Frame Rate
VAR = 26, 0x2D, 0x000F
// PRI_A_CONFIG_AE_TRACK_TARGET_FDZONE --> Frame Rate Control Threshold
VAR = 26, 0x15, 0x000E
// PRI_A_CONFIG_FD_MAX_FDZONE_50HZ -->Min Frame Rate for 50Hz Flicker
VAR = 26, 0x17, 0x000F
// PRI_A_CONFIG_FD_MAX_FDZONE_60HZ-->Min Frame Rate for 60Hz Flicker
VAR8 = 1, 0x00, 0x06 // SEQ_CMD