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__5_REV5.fm - Rev. B 2/06 EN
66 ©2004 Micron Technology, Inc. All rights reserved.
MT9D111 - 1/3.2-Inch 2-Megapixel SOC Digital Image Sensor
JPEG Indirect Registers
Micron Confidential and Proprietary
JPEG Indirect Registers
Table 8: JPEG Indirect Registers (See Registers 30 and 31, Page 2)
Reg # Bits Default Name
1
0x01
2:0 0
JPEG Core Register 1
1:0 0
NCol: Number of color components—1.
20
Re: When set, enables restart marker insertion into JPEG byte stream.
3
0x03
15:0 0
JPEG Core Register 3 – NRST
Re-start interval - 1. Valid only when Re in Core Register 1 is set. This register defines the number of
MCUs between Restart Markers.
4
0x04
7:0 0
JPEG Core Register 4
00
HD0: DC Huffman table pointer for color component 0.
10
HA0: AC Huffman table pointer for color component 0.
3:2 0
QT0: Quantization table pointer for color component 0.
7:4 0
NBlock0: Number of 8 x 8 blocks—1 for color component 0 in MCU.
5
0x05
7:0 0
JPEG Core Register 5
00
HD1: DC Huffman table pointer for color component 1.
10
HA1: AC Huffman table pointer for color component 1.
3:2 0
QT1: Quantization table pointer for color component 1.
7:4 0
NBlock1: Number of 8 x 8 blocks—1 for color component 1 in MCU.
6
0x06
7:0 0
JPEG Core Register 6
00
HD2: DC Huffman table pointer for color component 2.
10
HA2: AC Huffman table pointer for color component 2.
3:2 0
QT2: Quantization table pointer for color component 2.
7:4 0
NBlock2: Number of 8 x 8 blocks—1 for color component 2 in MCU.
7
0x07
7:0 0
JPEG Core Register 7
00
HD3: DC Huffman table pointer for color component 3.
10
HA3: AC Huffman table pointer for color component 3.
3:2 0
QT3: Quantization table pointer for color component 3.
7:4 0
NBlock3: Number of 8 x 8 blocks—1 for color component 3 in MCU.
8
0x08
15:0 0
JPEG Core Register8 – NMCU LSB
Low-order word of NMCU (NMCU = number of MCUs contained in the image to be encoded minus 1).
9
0x09
9:0 0
JPEG Core Register9 – NMCU_MSB
High-order word of NMCU (NMCU = number of MCUs contained in the image to be encoded minus 1).
128-511
0x080 - 0x1FF
13:0 0
JPEG Quantization Memory
0 - 63
—Quantization table 0
64 - 127
—Quantization table 1
128 - 191
—Quantization table 2
192 - 255—Quantization table 3
256 - 319
—Quantization table 4
320 - 383
—Quantization table 5
512 - 895
0x200 - 0x37F
11:0 0
JPEG Huffman Memory
0 - 175
—AC Huffman table 0
176 - 351
—AC Huffman table 1
352 - 367
—DC Huffman table 0
368 - 383—DC Huffman table 1
1024 - 1407
0x400 - 0x43F
13:0 0
JPEG DCT Memory
64 x 14 dual-port RAM is accessible to host and microcontroller indirectly for testing purposes.










