PDF: 4749051511/Source: 7788125767
Aptina reserves the right to change products or specifications without notice.
MT9T111_DG - Rev. B 9/10 EN
93
©2007 Aptina Imaging Corporation. All rights reserved.
MT9T111: Developer Guide
Auto Focus
Preliminary
Figure 53:
Hill Climbing AF Mode
Example of Programming Simple Full-Scan Triggering Operation
The following programming shows the simple full scan triggering operation for the
MT9T111.
REG = 0x0614, 0x0000 // Needed for Rev1 and Rev2 to activate SDA pad
REG = 0x98E, 0x4403 // AFM Variable offset 0x0003
REG = 0x990, 0x8001 // Set [15] = 1 and [0] = 1
Note:
[15] = “0” indicates loading is completed.
REG = 0x98E, 0xC421 // AFM variable offset 0x0021
REG = 0x990, 0x18 // Driver IC I2C address = 0x18
REG = 0x98E, 0x3003 // AF Variable offset 0x0003
REG = 0x990, 0x0002 // set [1] = 1 to enter full scan operation
REG = 0x98E, 0xB019 // AF Variable offset 0x0019
REG = 0x990, 0x01 // set [0] = 1 to trigger
REG = 0x98E, 0x8400 // Sequencer Variable offset 0x0000
REG = 0x990, 0x05 // Refresh command
Hill Climbing AF Mode
Current
Position
Best
Position (AF offset 0x0024)
Wrong direction (low sharpness score)
Go back to previous
(low sharpness score)
Lens
Position
Time