Datasheet

Table Of Contents
PDF: 09005aef8202ec2e/Source: 09005aef8202ebf7 Micron Technology, Inc., reserves the right to change products or specifications without notice.
MT9D111__6_REV5.fm - Rev. B 2/06 EN
139 ©2004 Micron Technology, Inc. All rights reserved.
MT9D111 - 1/3.2-Inch 2-Megapixel SOC Digital Image Sensor
Firmware
Micron Confidential and Proprietary
High-Precision Timer
SFR 0x1048 is a high-precision timer is available for use in applications, and profiling
code during development. It is a 32-bit counter incremented every master clock, except
when in standby. To profile, read and store the timer before executing a routine. After the
routine exits, read the timer again and subtract from the initial value.
Safe and Test Modes
A safe mode is available to start MCU without running drivers. Set R195:1 and reset MCU
to enable this mode. Only monitor runs allowing to start ROM or load and start RAM
code.
R195:1 can also invoke the MCU and memory test mode.
Application Scheduling
Drivers run in synchrony with IFP image processing. As the frame comes through the
color pipeline in real time, certain statistics are calculated and become available. Typi-
cally, the flicker avoidance driver is active at the top of the frame. Auto focus measure-
ment window is located in the center of the image. Once its result is ready, the auto focus
and auto focus mechanics drivers execute. The exposure, white balance, and histogram
statistics windows nearly cover the entire image. Their result is available at the end of the
frame, when AE, WB, and histogram drivers are invoked. Finally, during the vertical
blanking, drivers upload calculated settings to sensor and SOC.
Monitor Driver
The main monitor function is to run code. Set the "arg1" to the address of the function to
be called, set “arg2” to an optional 16-bit parameter to be passed and set "cmd" to 0x01.
The sequencer driver calls the monitor driver typically once per frame. The desired func-
tion is invoked in one frame time or less. The monitor also provides CRC calculation
capability to check if the uploaded firmware was transmitted correctly.
Variable mon.ver contains firmware version number. mon.ver[7] = 1 indicates uploaded
firmware.
Flicker Avoidance
Auto Focus
Exposure, White Balance, Hist .
Upload registers