Datasheet

Table Of Contents
PDF: 09005aef8202ec2e/Source: 09005aef8202ebf7 Micron Technology, Inc., reserves the right to change products or specifications without notice.
MT9D111__7_REV5.fm - Rev. B 2/06 EN
151 ©2004 Micron Technology, Inc. All rights reserved.
MT9D111 - 1/3.2-Inch 2-Megapixel SOC Digital Image Sensor
Start-Up and Usage
Micron Confidential and Proprietary
Configure Pad Slew
Program the desired slew rate for DOUT, PIXCLK, FRAME_VALID, and LINE_VALID at the
variables, mode.fifo_conf1/2_A/B. Program R10:1 with desired GPIO slew rate and slew
rate for two-wire serial interface S
DATA and SCLK.
Configure Preview Mode
The default preview image size is 800 x 600, running at up to 30 fps at 80 MHz internal
clock. To change the default size, program mode driver variables mode.output_width_A
and mode.output_height_A and issue a REFRESH command, seq.cmd=5.
For example, to configure 160x120 LCD RGB preview, program
mode.output_width_A=160
mode.output_width_B=120
mode.out_format_A=0x20
•seq.cmd=5
Preview contrast, brightness, gamma, frame rate, and many other parameters can be
loaded here as well. If known at this time, the user can also program capture parameters.
If necessary, set up the AE/WB/AF lock command here.
Configure Capture Mode
When desired capture parameters are known (video, still, compression, and resolution),
program the mode and other drivers correspondingly.
Perform Lock or Capture
See "Sequencer Driver" on page 140 for details.
Standby Sequence
Standby mode can be activated by two methods. The first method is to assert STANDBY,
which places the chip into hard standby. Turning off the input clock (CLKIN) reduces the
standby power consumption to the maximum specification of 100µA at 55
°C. There is
no serial interface access for hard standby.
The second method is activated through the serial interface by setting R13:0[2]=1 to the
register, known as the soft standby. As long as the input clock remains on, the chip allows
access through the serial interface in soft standby.
Standby should only be activated from the preview mode (context A), and not the cap-
ture mode (context B). In addition, the PLL state (off/bypassed/activated) is recorded at
the time of firmware standby (seq.cmd=3) and restored once the camera is out of firm-
ware standby. In both hard and soft standby scenarios, internal clocks are turned off and
the analog circuitry is put into a low power state. Exit from standby must go through the
same interface as entry to standby. If the input clock is turned off, the clock must be
restarted before leaving standby. If the PLL is used to generate the master clock, ensure
that the PLL is powered down during standby because it uses a relatively high amount of
power. By default, R101:0[13] powers down the PLL when the chip enters standby mode.
Turn on the PLL bypass (R101:0[15]=1) to prepare the PLL for standby.
To Enter Standby
1. Preparing for standby
a. Issue the STANDBY command to the firmware by setting seq.cmd=3
b. Poll seq.state until the current state is in standby (seq.state=9)
c. Bypass the PLL if used by setting R101:0[15]=1