Datasheet
Table Of Contents
- 1/3.2-Inch System-On-A-Chip (SOC) CMOS Digital Image Sensor
- Features
- Applications
- Ordering Information
- General Description
- Feature Overview
- Typical Connection
- Ballout and Interface
- Architecture Overview
- Registers and Variables
- Registers
- Registers
- IFP Registers, Page 1
- IFP Registers, Page 2
- JPEG Indirect Registers
- Table 8: JPEG Indirect Registers (See Registers 30 and 31, Page 2)
- Firmware Driver Variables
- Table 9: Drivers IDs
- Table 10: Driver Variables-Monitor Driver (ID = 0)
- Table 11: Driver Variables-Sequencer Driver (ID = 1)
- Table 12: Driver Variables-Auto Exposure Driver (ID = 2)
- Table 13: Driver Variables-Auto White Balance (ID = 3)
- Table 14: Driver Variables-Flicker Detection Driver (ID = 4)
- Table 15: Driver Variables-Auto Focus Driver (ID = 5)
- Table 16: Driver Variables-Auto Focus Mechanics Driver (ID = 6)
- Table 17: Driver Variables-Mode/Context Driver (ID = 7)
- Table 18: Driver Variables-JPEG Driver (ID = 9)
- Table 19: Driver Variables-Histogram Driver (ID = 11)
- MCU Register List and Memory Map
- JPEG Indirect Registers
- Output Format and Timing
- Sensor Core
- Feature Description
- PLL Generated Master Clock
- PLL Setup
- Window Control
- Pixel Border
- Readout Modes
- Figure 20: 6 Pixels in Normal and Column Mirror Readout Modes
- Figure 21: 6 Rows in Normal and Row Mirror Readout Modes
- Table 30: Skip Values
- Figure 22: 8 Pixels in Normal and Column Skip 2x Readout Modes
- Figure 23: 16 Pixels in Normal and Column Skip 4x Readout Modes
- Figure 24: 32 Pixels in Normal and Column Skip 8x Readout Modes
- Figure 25: 64 Pixels in Normal and Column Skip 16x Readout Modes
- Table 31: Row Addressing
- Table 32: Column Addressing
- Frame Rate Control
- Context Switching
- Integration Time
- Flash STROBE
- Global Reset
- Analog Signal Path
- Analog Inputs AIN1-AIN3
- Firmware
- Firmware
- Start-Up and Usage
- General Purpose I/O
- Introduction
- GPIO Output Control Overview
- Waveform Programming
- Notification Signals
- Digital and Analog Inputs
- GPIO Software Drivers
- Auto Focus
- Figure 42: Search for Best Focus
- Figure 43: Scene with Two Potential Focus Targets at Different Distances from Camera
- Figure 44: Dependence of Luminance-Normalized Local Sharpness Scores on Lens Position
- Figure 45: Example of Position Weight Histogram Created by AF Driver
- Figure 46: Auto Focus Windows
- Figure 47: Computation of Sharpness Scores and Luminance Average for an AF Window
- Table 41: Examples of AF Filters that can be Programmed into the MT9D111
- Spectral Characteristics
- Electrical Specifications
- Packaging
- Appendix A: Two-Wire Serial Register Interface
- Protocol
- Sequence
- Bus Idle State
- Start Bit
- Stop Bit
- Slave Address
- Data Bit Transfer
- Acknowledge Bit
- No-Acknowledge Bit
- Page Register
- Sample Write and Read Sequences
- Figure 52: WRITE Timing to R0x09:0-Value 0x0284
- Figure 53: READ Timing from R0x09:0; Returned Value 0x0284
- Figure 54: WRITE Timing to R0x09:0-Value 0x0284
- Figure 55: READ Timing from R0x09:0; Returned Value 0x0284
- Figure 56: Two-Wire Serial Bus Timing Parameters
- Table 46: Two-wire Serial Bus Characteristics
- Revision History
PDF: 09005aef8202ec2e/Source: 09005aef8202ebf7 Micron Technology, Inc., reserves the right to change products or specifications without notice.
MT9D111__4_REV5.fm - Rev. B 2/06 EN
50 ©2004 Micron Technology, Inc. All rights reserved.
MT9D111 - 1/3.2-Inch 2-Megapixel SOC Digital Image Sensor
IFP Registers, Page 1
Micron Confidential and Proprietary
178
0xB2
15:0 0x2700
Gamma Curve Knees 0 and 1
7:0
Ordinate of gamma curve knee point 0 (its abscissa is 0).
15:8
Gamma curve knee point 1.
Gamma correction curve is implemented in the MT9D111 as a piecewise linear function mapping 12-bit
arguments to 8-bit output. Seventeen line fragments forming the curve connect 19 knee points, whose abscissas
are fixed and ordinates are programmable through registers R[178:187]:1. The abscissas of the knee points are 0,
64, 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2304, 2560, 2816, 3072, 3328, 3584, 3840, and 4095.
Ordinates of knee points written directly to the registers R[178:187]:1 may be overwritten by mode driver (ID=7).
The recommended way to program a gamma curve into the MT9D111 is to write desired knee ordinates to one
of the two mode.gamma_table[A/B][] arrays that hold gamma curves used in contexts A and B. Once the desired
ordinates are in one of those arrays, all that is needed to put them into effect (i.e. into the registers) is a short
command telling the sequencer to go to proper context or through REFRESH loop.
179
0xB3
15:0 0x4936
Gamma Curve Knees 2 and 3
7:0
Gamma curve knee point 2.
15:8
Gamma curve knee point 3.
180
0xB4
15:0 0x7864
Gamma Curve Knees 4 and 5
7:0
Gamma curve knee point 4.
15:8
Gamma curve knee point 5.
181
0xB5
15:0 0x9789
Gamma Curve Knees 6 and 7
7:0
Gamma curve knee point 6.
15:8
Gamma curve knee point 7.
182
0xB6
15:0 0xB0A4
Gamma Curve Knees 8 and 9
7:0
Gamma curve knee point 8.
15:8
Gamma curve knee point 9.
183
0xB7
15:0 0xC5BB
Gamma Curve Knees 10 and 11
7:0
Gamma curve knee point 10.
15:8
Gamma curve knee point 11.
184
0xB8
15:0 0xD7CE
Gamma Curve Knees 12 and 13
7:0
Gamma curve knee point 12.
15:8
Gamma curve knee point 13.
185
0xB9
15:0 0xE8E0
Gamma Curve Knees 14 and 15
7:0
Gamma curve knee point 14.
15:8
Gamma curve knee point 15.
186
0xBA
15:0 0xF8F0
Gamma Curve Knees 16 and 17
7:0
Gamma curve knee point 16.
15:8
Gamma curve knee point 17.
187
0xBB
7:0 0x00FF
Gamma Curve Knee 18
190
0xBE
3:0 6
YUV/YCbCr control
30
Clips Y values to 16–235; clips UV values to 16–240.
21
Adds 128 to U and V values.
11
1 = ITU-R BT.601 coefficients
0 = use sRGB coefficients.
00
0 = no scaling
1 = scales Y data by 219/256 and UV data by 224/256.
Table 6: IFP Registers, Page 1 (continued)
Reg # Bits Default Name










