© Semiconductor Components Industries, LLC, 2006
January, 2017 − Rev. 8 1Publication Order Number:
MT9M131/D
MT9M131
MT9M131 1/3‐inch SOC
1.3Mp CMOS Digital
Image Sensor
Table 1. KEY PERFORMANCE PARAMETERS
Parameter Typical Value
Optical Format 1/3-inch (5:4)
Active Imager Size 4.6 mm (H) ×3.7 mm (V),
5.9 mm Diagonal
Active Pixels 1280 (H) ×1024 (V)
Pixel Size 3.6 ×3.6 mm
Color Filter Array RGB Bayer Pattern
Shutter Type Electronic Rolling Shutter (ERS)
Maximum Data Rate/Master Clock 27 MPS/54 MHz
Frame Rate
SXGA (1280 ×1024)
VGA (640 ×480) 15 fps at 54 MHz
30 fps at 54 MHz
Maximum Resolution at
60 fps/54 MHz Clock 640 ×512
ADC Resolution 10-bit, Dual On-chip
Responsivity 1.0 V/lux−sec (550 nm)
Dynamic Range 71 dB
SNRMAX 44 dB
Supply Voltage
I/O Digital
Core Digital
Analog
1.8–3.1 V
2.5–3.1 V
2.5–3.1 V
Power Consumption 170 mW SXGA at 15 fps
(54 MHz EXTCLK)
Operating Temperature –30°C to +70°C
Packaging 48-pin CLCC
Features
System-on-a-Chip (SOC) − Completely Integrated Camera System
Ultra-low Power, Cost Effective, Progressive Scan CMOS Image
Sensor
Superior Low-light Performance
On-chip Image Flow Processor (IFP) Performs Sophisticated
Processing:
Color Recovery and Correction
Sharpening, Gamma, Lens Shading Correction
On-the-Fly Defect Correction
Electronic Pan, Tilt, and Zoom
Automatic Features:
Auto Exposure (AE), Auto White Balance (AWB), Auto Black
Reference (ABR), Auto Flicker Avoidance, Auto Color Saturation,
Auto Defect Identification and Correction
Fully Automatic Xenon and LED-type Flash Support
www.onsemi.com
F
eatures (Continued)
Fast Exposure Adaptation
Multiple Parameter Contexts
Easy and Fast Mode Switching
Camera Control Sequencer Automates:
Snapshots
Snapshots with Flash
Video Clips
Simple Two-wire Serial Programming
Interface
ITU−R BT.656 (YCbCr), 565RGB,
555RGB, or 444RGB Formats (Progressive
Scan)
Raw and Processed Bayer Formats
Output FIFO and Integer Clock Divider:
Uniform Pixel Clocking
A
pplications
Security
Biometrics
Videoconferencing
Toys
See detailed ordering and shipping information on page 2 o
f
this data sheet.
ORDERING INFORMATION
CLCC48 11.43 x 1 1.43
CASE 848AV
MT9M131
www.onsemi.com
2
ORDERING INFORMATION
Table 2. AVAILABLE PART NUMBERS
Part Number Product Description Orderable Product Attribute Description
MT9M131C12STC−DP 1.3 MP 1/3 SOC Dry Pack with Protective Film
MT9M131C12STC−DR 1.3 MP 1/3 SOC Dry Pack without Protective Film
MT9M131C12STC−TP 1.3 MP 1/3 SOC Tape & Reel with Protective Film
MT9M131C12STC−TR 1.3 MP 1/3 SOC Tape & Reel without Protective Film
See the ON Semiconductor Device Nomenclature
document (TND310/D) for a full description of the naming
convention used for image sensors. For reference
documentation, including information on evaluation kits,
please visit our web site at www.onsemi.com.
GENERAL DESCRIPTION
The MT9M131 is an SXGA-format single-chip camera
with a 1/3-inch CMOS active-pixel digital image sensor.
This de v i c e combines the MT9M011 image sensor core with
fourth-generation digital image flow processor technology
from ON Semiconductor. It captures high-quality color
images at SXGA resolution.
The MT9M131 features ON Semiconductors
breakthrough low-noise CMOS imaging technology that
achieves near-CCD image quality (based on signal-to-noise
ratio and low-light sensitivity) while maintaining the
inherent size, cost and integration advantages of CMOS.
The sensor is a complete camera-on-a-chip solution
designed specifically to meet the demands of products such
as security, biometrics, and videoconferencing cameras. It
incorporates sophisticated camera functions on-chip and is
programmable through a simple two-wire serial interface.
The MT9M131 performs sophisticated processing
functions including color recovery, color correction,
sharpening, programmable gamma correction, auto black
reference clamping, auto exposure (AE), automatic
50 Hz/60 Hz flicker avoidance, lens shading correction
(LC), auto white balance (AWB), and on-the-fly defect
identification and correction. Additional features include
day/night mode configurations; special camera effects such
as sepia tone and solarization; and interpolation to arbitrary
image size with continuous filtered zoom and pan.
The device supports both xenon and LED-type flash light
sources in several snapshot modes.
The MT9M131 can be programmed to output
progressive-scan images up to 30 frames per second (fps) in
preview power-saving mode, and 15 fps in full-resolution
(SXGA) mode. In either mode, the image data can be output
in any one of six formats:
ITU−R BT.656 (formerly CCIR656, progressive scan
only) YCbCr
565RGB
555RGB
444RGB
Raw Bayer
Processed Bayer
The FV and LV signals are output on dedicated signals,
along with a pixel clock that is synchronous with valid data.
MT9M131
www.onsemi.com
3
FUNCTIONAL OVER VIEW
The MT9M131 is a fully-automatic, single-chip camera,
requiring only a power supply, lens, and clock source for basic operation. Output video is streamed through a parallel
8- or 10-bit DOUT port, shown in Figure 1.
Figure 1. Functional Block Diagram
Sensor Core
1316 (H) x 1048 (V) including black
1/3-inch optical format
Auto black compensation
Programmable analog gain
Programmable exposure
Dual 10-bit ADCs
Low-power preview mode
H/W context switch to/from preview
Bayer RGB output
Image Flow Processor
Camera Control
Auto exposure
Auto white balance
Flicker detect/avoid
Camera control:
snapshots, flash, video, clip
Image Flow Processor
Colorpipe
Lens shading correction
Color interpolation
Filtered resize and zoom
Defect correction
Color correction
Gamma correction
Color conversion + formatting
Output FIFO
SRAM
Line Buffers
Pixel Data
Control Bus
(Two-wire Serial I/F
Transactions)
Control Bus
(Two-wire Serial I/F
Transactions) + Sensor
Control (gains, shutter, etc.)
Control Bus
(Two-wire
Serial I/F
Trans.)
Image Data
DOUT[7:0]:
DOUT_LSB[1:
0]
PIXCLK
FV
LV
STROBE
VAA_PIX
VAA/AGND
VDD/DGND
VDD_IO/DGNDIO
OE_BAR
STANDBY
EXTCLK
SDATA
SCLK
The output pixel clock is used to latch data, while FV and
LV signals indicate the active video. The MT9M131 internal
registers are configured using a two-wire serial interface.
The device can be put in low-power sleep mode by
asserting STANDBY and shutting down the clock. Output
pins can be tri-stated by de-asserting the OE_BAR. Both
tri-stating output pins and entry in standby mode also can be
achieved by two-wire serial interface register writes.
The MT9M131 accepts input clocks up to 54 MHz,
delivering up t o 1 5 fps for SXGA resolution images, and up
to 30 fps for QSXGA (full field-of-view [FOV], sensor pixel
skipping) images. The device also supports a low-power
preview configuration that delivers SXGA images at 7.5 fps
and QSXGA images at 30 fps. The device can be
programmed to slow the frame rate in low light conditions
to achieve longer exposures and better image quality.
Internal Architecture
Internally, the MT9M131 consists of a sensor core and an
IFP. The IFP is divided in two sections: the colorpipe (CP),
and the camera controller (CC). The sensor core captures
raw Bayer-encoded images that are then input in the IFP. The
CP section of the IFP processes the incoming stream to
create interpolated, color-corrected output, and the CC
section controls the sensor core to maintain the desired
exposure and color balance, and to support snapshot modes.
The sensor core, CP, and CC registers are grouped in three
separate address spaces, as shown in Figure 2.
MT9M131
www.onsemi.com
4
Figure 2. Internal Registers Grouping
Image Flow Processor
R0xF0 = 0 R0xF0 = 1 R0xF0 = 2
Sensor Core
Registers
R0x000−R0x0FF
Color Pipeline
Registers
R0x100−R0x1FF
Camera Control
Registers
R0x200−R0x2FF
NOTE: Internal registers are grouped in three address
spaces. Register R0xF0 in each page selects the
desired address space.
When accessing internal registers through the two-wire
serial interface, select the desired address space by
programming the R0xF0 shared register.
The MT9M131 accelerates mode switching with
hardware-assisted context switching and supports taking
snapshots, flash snapshots, and video clips using
a configurable sequencer.
The MT9M131 supports a range of color formats derived
from four primary color representations: YCbCr, RGB, raw
Bayer (unprocessed, directly from the sensor), and
processed Bayer (Bayer format data regenerated from
processed RGB). The device also supports a variety of
output signaling/timing options:
Standard FV/LV video interface with gated pixel clocks
Standard video interface with uniform clocking
Progressive ITU−R BT.656 marker-embedded video
interface with either gated or uniform pixel clocking
REGISTER OPERATIONS
This data sheet refers to various registers that the user
reads from or writes to for altering the MT9M131 operation.
Hardware registers appear as follows and may be read from
or written to by sending the address and data information
over the two-wire serial interface.
Figure 3. Register Legend
R0xn24 [4:3]
Indication of Register
(as opposed to driver
variable) Denotes
Hexadecimal
Notation
Page
Number
(0, 1, or 2)
Register
Number
[00 to FF]
Register
Bits
[15 to 0]
The MT9M131 was designed to facilitate customizations
to optimize image quality processing. Multiple parameters
are allowed to be adjusted at various stages of the image
processing pipeline to tune the quality of the output image.
The MT9M131 contains three register pages: sensor,
colorpipe, and camera control. The register page must be set
prior to writing to a register in the page.
For example, to write to register R0x106 (register 6 in
page 1):
Write the value of “1” to the page map register (0xF0)
Write the desired value to register R0x06
The sensor maintains the page number once set. The page
map register is located at address 0xF0 for all three register
pages.
MT9M131
www.onsemi.com
5
TYPICAL CONNECTION
Figure 4 shows typical MT9M131 device connections.
Figure 4. Typical Configuration (Connection)
1.8−3.1 V
I/O Digital
2.8 V
Core Digital
2.8 V
Analog
SADDR
SCLK
SDATA
EXCLK
RESET_BAR
OE_BAR
STANDBY
DGNDIO
DGND
AGND
Digital GND Analog GND
To CMOS
Camera Port
To Xenon or LED
Flash Driver
STROBE
PIXCLK
LINE_VALID
FRAME_VALID
DOUT[7:0]:
DOUTLSB[1:0]
VAA_PIX
VAA
VDD
VDD_IO
Two-wire
Serial
Interface
Master Clock
Power-on
Reset SDATA
SCLK
VDD_IO
VDD
VAA/VAA_PIX
1 mF0.1 mF1 mF0.1 mF
1 mF0.1 mF
DGND
AGND
DGND_IO
1.5 kW
1.5 kW
Notes:
1. For two-wire serial interface, ON Semiconductor recommends a 1.5 kW resistor; however, larger values may be used for slower
two-wire speed.
2. VDD, VAA, VAA_PIX must all be at the same potential, though if connected, care must be taken to avoid excessive noise injection in
the VAA/VAA_PIX power domains.
3. Logic l evels of all input pins, that is, SADDR, EXTCLK, SCLK, SDATA, OE_BAR, STANDBY, and RESET_BAR must be equal to VDD_IO.
For low-noise operation, the MT9M131 requires separate
power supplies for analog and digital. Incoming digital and
analog ground conductors can be tied together next to the
die. Both power supply rails should be decoupled to ground
using ceramic capacitors. The use of inductance filters is not
recommended.
The MT9M131 also supports different digital core
(VDD/DGND) and I/O power (VDD_IO/DGNDIO) power
domains that can be at different voltages.
MT9M131
www.onsemi.com
6
Pin/Ball Assignment
The MT9M131 is available in the CLCC package
configuration. Figure 5 shows the 48-pin CLCC
assignment.
Figure 5. 48-Pin CLCC Assignment
123456 48 46 44 43
19 20 21 22 23 24 25 26 27 28 29 30
7
8
9
10
11
12
13
14
15
16
17
18
42
41
40
39
38
37
36
35
34
33
32
31
47 45
DGND NC
VDD VDD
DOUT[4] DGND
DOUT[5] SDATA
DOUT[6] TEST_EN
DOUT[7] VDDIO
DGND DGND
VDDIO VAAPIX
DOUT_LSB0 AGND
DOUT_LSB1 AGND
DGND VAA
VDD VAA
SADDR DOUT[3]
LV DOUT[2]
FV DOUT[1]
RESET_BAR DOUT[0]
DGND VDD
VDD DGND
STANDBY PIXCLK
OE_BAR VDDIO
STROBE DGND
DGND EXTCLK
VDDIO SCLK
NC NC
MT9M131
www.onsemi.com
7
Table 3. PIN/BALL DESCRIPTIONS
Signal Type Default
Operation Description
EXTCLK I/O Input Master clock in sensor
OE_BAR I/O Input Active LOW: output enable for DOUT[7:0]
RESET_BAR I/O Input Active LOW: asynchronous reset
SADDR I/O Input Two-wire serial interface DeviceID selection 1:0xBA, 0:0x90
SCLK I/O Input Two-wire serial interface clock
STANDBY I/O Input Active HIGH: disables imager
SDATA I/O Input Two-wire serial interface data I/O
TEST_EN I/O Input Tie to DGND for normal operation (manufacturing use only)
DOUT0 I/O Output
DOUT1 I/O Output
DOUT2 I/O Output
DOUT3 I/O Output
DOUT4 I/O Output
DOUT5 I/O Output
DOUT6 I/O Output
DOUT70 I/O Output
DOUT_LSB0 I/O Output Sensor bypass mode output 0 − typically left unconnected for normal SOC
operation
DOUT_LSB1 I/O Output Sensor bypass mode output 1 − typically left unconnected for normal SOC
operation
FRAME_VALID(FV) I/O Output Active HIGH: FV; indicates active frame
LINE_VALID (LV) I/O Output Active HIGH: LV, DATA_VALID; indicates active pixel
PIXCLK I/O Output Pixel clock output
STROBE I/O Output Active HIGH: strobe (Xenon) or turn on (LED) flash
AGND Supply Analog ground
DGND Supply Core digital ground
DGNDIO Supply I/O digital ground
VAA Supply Analog power (2.5–3.1 V)
VAAPIX Supply Pixel array analog power supply (2.5–3.1 V)
VDD Supply Core digital power (2.5–3.1 V)
VDDIO Supply I/O digital power (1.8–3.1 V)
NC No connect
1. All inputs and outputs are implemented with bidirectional buffers. Care must be taken to ensure that all inputs are driven and all outputs are
driven if tri-stated.
MT9M131
www.onsemi.com
8
OUTPUT DATA ORDERING
Table 4. DATA ORDERING IN YCbCr MODE
Mode Byte
Default CbiYiCriYi+1
Swap CrCb CriYiCbiYi+1
Swap YC YiCbiYi+1 Cri
Swap CrCb, SwapYC YiCriYi+1 Cbi
Table 5. OUTPUT DATA ORDERING IN PROCESSED BAYER MODE
Mode Line Byte
Default First GiRi+1 Gi+2 Ri+3
Second BiGi+1 Bi+2 Gi+3
Flip Bayer Col First RiGi+1 Ri+2 Gi+3
Second GiBi+1 Gi+2 Bi+3
Flip Bayer Row First BiGi+1 Bi+2 Gi+3
Second GiRi+1 Gi+2 Ri+3
Flip Bayer Col,
Flip Bayer Row First GiBi+1 Gi+2 Bi+3
Second RiGi+1 Ri+2 Gi+3
Table 6. OUTPUT DATA ORDERING IN RGB MODE
Mode
(Swap Disabled) Byte D7 D6 D5 D4 D3 D2 D1 D0
565RGB First R7 R6 R5 R4 R3 G7 G6 G5
Second G4 G3 G2 B7 B6 B5 B4 B3
555RGB First 0 R7 R6 R5 R4 R3 G7 G6
Second G5 G4 G3 B7 B6 B5 B4 B3
444xRGB First R7 R6 R5 R4 G7 G6 G5 G4
Second B7 B6 B5 B4 0 0 0 0
x444RGB First 0 0 0 0 R7 R6 R5 R4
Second G7 G6 G5 G4 B7 B6 B5 B4
Table 7. OUTPUT DATA ORDERING IN (8+2) BYPASS MODE
Mode Byte D7 D6 D5 D4 D3 D2 D1 D0
8 + 2 Bypass First B9 B8 B7 B6 B5 B4 B3 B2
Second 0 0 0 0 0 0 B1 B0
MT9M131
www.onsemi.com
9
IFP REGISTER LIST
Table 8. COLORPIPE REGISTERS (ADDRESS PAGE 1)
Register Number
Dec (Hex) Register Name Data Format
(Binary) Default Value
Dec (Hex) Module
R5 (R0x105) Aperture Correction 0000 0000 0000 dddd 3 (0003) Interp
R6 (R0x106) Operating Mode Control dddd dddd 0ddd dddd 28686 (700E) Cfg
R8 (R0x108) Output Format Control 0000 0ddd dddd dddd 128 (0080) Cfg
R16 (R0x110) Reserved 61437 (EFFD)
R17 (R0x111) Reserved 64831 (FD3F)
R18 (R0x112) Reserved 16367 (3FEF)
R19 (R0x113) Reserved N/A
R20 (R0x114) Reserved N/A
R21 (R0x115) Reserved N/A
R27 (R0x11B) Reserved 0 (0000)
R28 (R0x11C) Reserved 0 (0000)
R29 (R0x11D) Reserved N/A
R30 (R0x11E) Reserved 512 (0200)
R37 (R0x125) Color Saturation Control 0000 0000 00dd dddd 5 (0005) rgb2yuv
R52 (R0x134) Luma Offset dddd dddd dddd dddd 16 (0010) Camlnt
R53 (R0x135) Luma Clip dddd dddd dddd dddd 61456 (F010) Camlnt
R58 (R0x13A) Output Format Control 2 − Context A 0ddd dddd dddd dddd 512 (0200) CamInt
R59 (R0x13B) 1066 (042A) LensCorr
R60 (R0x13C) 1024 (0400) LensCorr
R71 (R0x147) 24 (0018)
R72 (R0x148) Test Pattern Generator Control 0000 0000 d000 0ddd 0 (0000) FifoInt
R76 (R0x14C) Defect Correction Context A 0000 0000 0000 0ddd 0 (0000) DfctCorr
R77 (R0x14D) Defect Correction Context B 0000 0000 0000 0ddd 0 (0000) DfctCorr
R78 (R0x14E) Reserved 10 (000A)
R80 (R0x150) N/A
R82 (R0x152) Reserved 0 (0000)
R83 (R0x153) 7700 (1E14) GmaCorr
R84 (R0x154) 17966 (462E) GmaCorr
R85 (R0x155) 34666 (876A) GmaCorr
R86 (R0x156) 47008 (B7A0) GmaCorr
R87 (R0x157) 57548 (E0CC) GmaCorr
R88 (R0x158) 0 (0000) GmaCorr
R104 (R0x168) Reserved 17 (0011)
R128 (R0x180) 7 (0007) LensCorr
R129 (R0x181) 56588 (DD0C) LensCorr
R130 (R0x182) 62696 (F4E8) LensCorr
R131 (R0x183) 1276 (04FC) LensCorr
R132 (R0x184) 57868 (E20C) LensCorr
R133 (R0x185) 63212 (F6EC) LensCorr
R134 (R0x186) 764 (02FC) LensCorr
R135 (R0x187) 56588 (DD0C) LensCorr
R136 (R0x188) 62696 (F4E8) LensCorr
R137 (R0x189) 250 (00FA) LensCorr
MT9M131
www.onsemi.com
10
Table 8. COLORPIPE REGISTERS (ADDRESS PAGE 1) (continued)
Register Number
Dec (Hex) Module
Default Value
Dec (Hex)
Data Format
(Binary)
Register Name
R138 (R0x18A) 34866 (8832) LensCorr
R139 (R0x18B) 56754 (DDB2) LensCorr
R140 (R0x18C) 63466 (F7EA) LensCorr
R141 (R0x18D) 2 (0002) LensCorr
R142 (R0x18E) 47646 (BA1E) LensCorr
R143 (R0x18F) 60627 (ECD3) LensCorr
R144 (R0x190) 63473 (F7F1) LensCorr
R145 (R0x191) 255 (00FF) LensCorr
R146 (R0x192) 48926 (BF1E) LensCorr
R147 (R0x193) 61142 (EED6) LensCorr
R148 (R0x194) 63474 (F7F2) LensCorr
R149 (R0x195) 3 (0003) LensCorr
R153 (R0x199) Line Counter ???? ???? ???? ???? N/A CamInt
R154 (R0x19A) Frame Counter ???? ???? ???? ???? N/A CamInt
R155 (R0x19B) Output Format Control 2 − Context B 0ddd dddd dddd dddd 512 (0200) CamInt
R157 (R0x19D) Reserved 9390 (24AE)
R158 (R0x19E) Reserved N/A
R159 (R0x19F) Reducer Gorizontal Pan − Context B 0d00 0ddd dddd dddd 0 (0000) Interp
R160 (R0x1A0) Reducer Horizontal Zoom − Context B 0000 0ddd dddd dddd 1280 (0500) Interp
R161 (R0x1A1) Reducer Horizontal Size − Context B 0000 0ddd dddd dddd 1280 (0500) Interp
R162 (R0x1A2) Reducer Vertical Pan − Context B 0d00 0ddd dddd dddd 0 (0000) Interp
R163 (R0x1A3) Reducer Vertical Zoom − Context B 0000 0ddd dddd dddd 1024 (0400) Interp
R164 (R0x1A4) Reducer Vertical Size − Context B 0000 0ddd dddd dddd 1024 (0400) Interp
R165 (R0x1A5) Reducer Horizontal Pan − Context A 0d00 0ddd dddd dddd 0 (0000) Interp
R166 (R0x1A6) Reducer Horizontal Zoom − Context A 0000 0ddd dddd dddd 1280 (0500) Interp
R167 (R0x1A7) Reducer Horizontal Size − Context A 0000 0ddd dddd dddd 640 (0280) Interp
R168 (R0x1A8) Reducer Vertical Pan − Context A 0d00 0ddd dddd dddd 0 (0000) Interp
R169 (R0x1A9) Reducer Vertical Zoom − Context A 0000 0ddd dddd dddd 1024 (0400) Interp
R170 (R0x1AA) Reducer Vertical Size − Context A 0000 0ddd dddd dddd 512 (0200) Interp
R171 (R0x1AB) Reducer Current Zoom Horizontal ???? 0??? ???? ???? N/A Interp
R172 (R0x1AC) Reducer Current Zoom Vertical ???? 0??? ???? ???? N/A Interp
R174 (R0x1AE) Reducer Zoom Step Size dddd dddd dddd dddd 1284 (0504) Interp
R175 (R0x1AF) Reducer Zoom Control 0000 00dd 0ddd dddd 16 (0010) Interp
R179 (R0x1B3) Global Clock Control 0000 0000 0000 00dd 2 (0002) ClockRst
R180 (R0x1B4) 32 (0020)
R181 (R0x1B5) 257 (0101)
R182 (R0x1B6) 4363 (110B) LensCorr
R183 (R0x1B7) 15399 (3C27) LensCorr
R184 (R0x1B8) 4362 (110A) LensCorr
R185 (R0x1B9) 12834 (3222) LensCorr
R186 (R0x1BA) 5643 (160B) LensCorr
R187 (R0x1BB) 12836 (3224) LensCorr
R188 (R0x1BC) 9228 (240C) LensCorr
R189 (R0x1BD) 24124 (5E3C) LensCorr
R190 (R0x1BE) 127 (007F) LensCorr
MT9M131
www.onsemi.com
11
Table 8. COLORPIPE REGISTERS (ADDRESS PAGE 1) (continued)
Register Number
Dec (Hex) Module
Default Value
Dec (Hex)
Data Format
(Binary)
Register Name
R191 (R0x1BF) 8200 (2008) LensCorr
R192 (R0x1C0) 20023 (4E37) LensCorr
R193 (R0x1C1) 100 (0064) LensCorr
R194 (R0x1C2) 8463 (210F) LensCorr
R195 (R0x1C3) 19250 (4B32) LensCorr
R196 (R0x1C4) 100 (0064) LensCorr
R200 (R0x1C8) Global Context Control dddd dddd dddd dddd 0 (0000) CntxCtl
R201 (R0x1C9) Reserved N/A
R202 (R0x1CA) Reserved N/A
R203 (R0x1CB) Reserved N/A
R204 (R0x1CC) Reserved N/A
R205 (R0x1CD) Reserved N/A
R206 (R0x1CE) Reserved N/A
R207 (R0x1CF) Reserved N/A
R208 (R0x1D0) Reserved N/A
R220 (R0x1DC) 7700 (1E14) GmaCorr
R221 (R0x1DD) 17966 (462E) GmaCorr
R222 (R0x1DE) 34666 (876A) GmaCorr
R223 (R0x1DF) 47008 (B7A0) GmaCorr
R224 (R0x1E0) 57548 (E0CC) GmaCorr
R225 (R0x1E1) 0 (0000) GmaCorr
R226 (R0x1E2) Effects Mode dddd dddd 0000 0ddd 28672 (7000) GmaCorr
R227 (R0x1E3) Effects Sepia dddd dddd dddd dddd 45091 (B023) GmaCorr
R240 (R0x1F0) Page Map 0000 0000 0000 0ddd 0 (0000) Cfg
R241 (R0x1F1) Byte-wise Address Reserved
MT9M131
www.onsemi.com
12
Table 9. CAMERA CONTROL REGISTERS (ADDRESS PAGE 2)
Register Number
Dec (Hex) Register Name Data Format
(Binary) Default Value
Dec (Hex) Module
R2 (R0x202) 110 (006E) ColorCorr
R3 (R0x203) 10531 (2923) ColorCorr
R4 (R0x204) 1316 (0524) ColorCorr
R9 (R0x209) 146 (0092) ColorCorr
R10 (R0x20A) 22 (0016) ColorCorr
R11 (R0x20B) 8 (0008) ColorCorr
R12 (R0x20C) 171 (00AB) ColorCorr
R13 (R0x20D) 147 (0093) ColorCorr
R14 (R0x20E) 88 (0058) ColorCorr
R15 (R0x20F) 77 (004D) ColorCorr
R16 (R0x210) 169 (00A9) ColorCorr
R17 (R0x211) 160 (00A0) ColorCorr
R18 (R0x212) N/A ColorCorr
R19 (R0x213) N/A ColorCorr
R20 (R0x214) N/A ColorCorr
R21 (R0x215) 373 (0175) ColorCorr
R22 (R0x216) 22 (0016) ColorCorr
R23 (R0x217) 67 (0043) ColorCorr
R24 (R0x218) 12 (000C) ColorCorr
R25 (R0x219) 0 (0000) ColorCorr
R26 (R0x21A) 21 (0015) ColorCorr
R27 (R0x21B) 31 (001F) ColorCorr
R28 (R0x21C) 22 (0016) ColorCorr
R29 (R0x21D) 152 (0098) ColorCorr
R30 (R0x21E) 76 (004C) ColorCorr
R31 (R0x21F) 160 (00A0) AWB
R32 (R0x220) 51220 (C814) AWB
R33 (R0x221) 32896 (8080) AWB
R34 (R0x222) 55648 (D960) AWB
R35 (R0x223) 55648 (D960) AWB
R36 (R0x224) 32512 (7F00) AWB
R38 (R0x226) Auto Exposure Window Horizontal
Boundaries dddd dddd dddd dddd 32768 (8000) AutoExp
R39 (R0x227) Auto Exposure Window Vertical
Boundaries dddd dddd dddd dddd 32776 (8008) AutoExp
R40 (R0x228) 61188 (EF04) AWB
R41 (R0x229) 36211 (8D73) AWB
R42 (R0x22A) 208 (00D0) AWB
R43 (R0x22B) Auto Exposure Center Horizontal
Window Boundaries dddd dddd dddd dddd 24608 (6020) AutoExp
R44 (R0x22C) Auto Exposure Center Vertical
Window Boundaries dddd dddd dddd dddd 24608 (6020) AutoExp
R45 (R0x22D) AWB Window Boundaries dddd dddd dddd dddd 61600 (F0A0) AWB
R46 (R0x22E) Auto Exposure Target and Precision
Control dddd dddd dddd dddd 3146 (0C4A) AutoExp
MT9M131
www.onsemi.com
13
Table 9. CAMERA CONTROL REGISTERS (ADDRESS PAGE 2) (continued)
Register Number
Dec (Hex) Module
Default Value
Dec (Hex)
Data Format
(Binary)
Register Name
R47 (R0x22F) Auto Exposure Speed and Sensitivity
Control − Context A dddd dddd dddd dddd 57120 (DF20) AutoExp
R48 (R0x230) N/A AWB
R49 (R0x231) N/A AWB
R50 (R0x232) N/A AWB
R51 (R0x233) 5230 (146E) AutoExp
R54 (R0x236) 30736 (7810) AutoExp
R55 (R0x237) 768 (0300) AutoExp
R56 (R0x238) 1088 (0440) AutoExp
R57 (R0x239) 1676 (068C) AutoExp
R58 (R0x23A) 1676 (068C) AutoExp
R59 (R0x23B) 1676 (068C) AutoExp
R60 (R0x23C) 1676 (068C) AutoExp
R61 (R0x23D) 6105 (17D9) AutoExp
R62 (R0x23E) 7423 (1CFF) AWB
R63 (R0x23F) N/A AutoExp
R70 (R0x246) 55552 (D900) AutoExp
R75 (R0x24B) Reserved 0 (0000)
R76 (R0x24C) N/A AutoExp
R77 (R0x24D) N/A AutoExp
R79 (R0x24F) Reserved N/A
R87 (R0x257) 537 (0219) AutoExp
R88 (R0x258) 644 (0284) AutoExp
R89 (R0x259) 537 (0219) AutoExp
R90 (R0x25A) 644 (0284) AutoExp
R91 (R0x25B) Flicker Control 0 ?000 0000 0000 0ddd 2 (0002) FD
R92 (R0x25C) 4620 (120C)
R93 (R0x25D) 5394 (1512)
R94 (R0x25E) 26684 (683C) ColorCorr
R95 (R0x25F) 12296 (3008) ColorCorr
R96 (R0x260) 2 (0002) ColorCorr
R97 (R0x261) 32896 (8080)
R98 (R0x262) Auto Exposure Digital Gains Monitor ???? ???? ???? ???? N/A AutoExp
R99 (R0x263) Reserved N/A
R100 (R0x264) Reserved 23036 (59FC)
R101 (R0x265) 0 (0000) AutoExp
R103 (R0x267) Auto Exposure Digital Gain Limits dddd dddd dddd dddd 16400 (4010) AutoExp
R104 (R0x268) Reserved 17 (0011)
R106 (R0x26A) Reserved N/A
R107 (R0x26B) Reserved N/A
R108 (R0x26C) Reserved N/A
R109 (R0x26D) Reserved N/A
R110 (R0x26E) Reserved N/A
R111 (R0x26F) Reserved N/A
R112 (R0x270) Reserved N/A
MT9M131
www.onsemi.com
14
Table 9. CAMERA CONTROL REGISTERS (ADDRESS PAGE 2) (continued)
Register Number
Dec (Hex) Module
Default Value
Dec (Hex)
Data Format
(Binary)
Register Name
R113 (R0x271) Reserved N/A
R114 (R0x272) Reserved N/A
R115 (R0x273) Reserved N/A
R116 (R0x274) Reserved N/A
R117 (R0x275) Reserved N/A
R118 (R0x276) Reserved N/A
R119 (R0x277) Reserved N/A
R120 (R0x278) Reserved N/A
R121 (R0x279) Reserved N/A
R122 (R0x27A) Reserved N/A
R123 (R0x27B) Reserved N/A
R124 (R0x27C) Reserved N/A
R125 (R0x27D) Reserved N/A
R130 (R0x282) 1020 (03FC) AutoExp
R131 (R0x283) 769 (0301) AutoExp
R132 (R0x284) 193 (00C1) AutoExp
R133 (R0x285) 929 (03A1) AutoExp
R134 (R0x286) 980 (03D4) AutoExp
R135 (R0x287) 983 (03D7) AutoExp
R136 (R0x288) 921 (0399) AutoExp
R137 (R0x289) 1016 (03F8) AutoExp
R138 (R0x28A) 28 (001C) AutoExp
R139 (R0x28B) 957 (03BD) AutoExp
R140 (R0x28C) 987 (03DB) AutoExp
R141 (R0x28D) 957 (03BD) AutoExp
R142 (R0x28E) 1020 (03FC) AutoExp
R143 (R0x28F) 990 (03DE) AutoExp
R144 (R0x290) 990 (03DE) AutoExp
R145 (R0x291) 990 (03DE) AutoExp
R146 (R0x292) 990 (03DE) AutoExp
R147 (R0x293) 31 (001F) AutoExp
R148 (R0x294) 65 (0041) AutoExp
R149 (R0x295) 867 (0363) AutoExp
R150 (R0x296) Reserved 0 (0000)
R151 (R0x297) Reserved N/A
R152 (R0x298) Reserved 255 (00FF)
R153 (R0x299) Reserved 1 (0001)
R156 (R0x29C) Auto Exposure Speed and Sensitivity
Control − Context B dddd dddd dddd dddd 57120 (DF20) AutoExp
R180 (R0x2B4) Reserved 32 (0020)
R181 (R0x2B5) Reserved N/A
R198 (R0x2C6) Reserved 0 (0000)
R199 (R0x2C7) Reserved N/A
R200 (R0x2C8) Global Context Control dddd dddd dddd dddd 0 (0000) CntxCtl
R201 (R0x2C9) N/A CamCtl
MT9M131
www.onsemi.com
15
Table 9. CAMERA CONTROL REGISTERS (ADDRESS PAGE 2) (continued)
Register Number
Dec (Hex) Module
Default Value
Dec (Hex)
Data Format
(Binary)
Register Name
R202 (R0x2CA) N/A CamCtl
R203 (R0x2CB) 0 (0000) CamCtl
R204 (R0x2CC) 0 (0000) CamCtl
R205 (R0x2CD) 8608 (21A0) CamCtl
R206 (R0x2CE) 7835 (1E9B) CamCtl
R207 (R0x2CF) 19018 (4A4A) CamCtl
R208 (R0x2D0) 5773 (168D) CamCtl
R209 (R0x2D1) 77 (004D) CamCtl
R210 (R0x2D2) 0 (0000) CamCtl
R211 (R0x2D3) 0 (0000) CntxCtl
R212 (R0x2D4) 520 (0208) CamCtl
R213 (R0x2D5) 0 (0000) CamCtl
R239 (R0x2EF) 8 (0008) AWB
R240 (R0x2F0) Page Map 0000 0000 0000 0ddd 0 (0000) Cfg
R241 (R0x2F1) Byte-wise Address Reserved
R242 (R0x2F2) 0 (0000) AWB
R243 (R0x2F3) Reserved 0 (0000)
R244 (R0x2F4) 110 (006E) ColorCorr
R245 (R0x2F5) 135 (0087) ColorCorr
R246 (R0x2F6) 54 (0036) ColorCorr
R247 (R0x2F7) 13 (000D) ColorCorr
R248 (R0x2F8) 171 (00AB) ColorCorr
R249 (R0x2F9) 136 (0088) ColorCorr
R250 (R0x2FA) 72 (0048) ColorCorr
R251 (R0x2FB) 87 (0057) ColorCorr
R252 (R0x2FC) 94 (005E) ColorCorr
R253 (R0x2FD) 122 (007A) ColorCorr
R254 (R0x2FE) 20543 (503F) ColorCorr
R255 (R0x2FF) 43136 (A880) ColorCorr
NOTE: Data Format Key:
0 = “Don’t Care” bit. The exceptions: R0x200 and R0x2FF, which are hardwired
R/O binary values
d = R/W bit
? = R/O bit
MT9M131
www.onsemi.com
16
IFP REGISTER DESCRIPTION
Configuration
The vast majority of IFP registers associate naturally to
one of the IFP modules. These modules are identified in
Table 9. Detailed register descriptions follow in Table 10.
A few registers create effects across a number of module
functions. These include R0xF0 page map register (R/W);
R0x106 operating mode control register (R/W); R0x108
output format control register (R/W); the R0x23E gain types
and CCM threshold register − the gain threshold for CCM
adjustment (R/W).
Colorpipe Registers
Unless noted otherwise in this document, colorpipe
registers take effect immediately. This can result in one or
more distorted output frames. These registers should be
adjusted during FV LOW or the resulting image should be
hidden for one or two frames.
Colorpipe resize registers are updated shortly after FV
goes HIGH. They are not examined again until the next
frame.
Table 10. COLORPIPE REGISTER DESCRIPTION ADDRESS PAGE 1
Register Number
Dec − Hex Description
R5:1 − R0x105 − Aperture Correction
Default 0x0003
Description Aperture correction scale factor, used for sharpening
Bit 3 Enables automatic sharpness reduction control (see R0x233)
Bits 2:0 Sharpening factor:
“000” − No sharpening
“001” − 25% sharpening
“010” − 50% sharpening
“011” − 75% sharpening
“100” − 100% sharpening
“101” − 125% sharpening
“110” − 150% sharpening
“111” − 200% sharpening
R6:1 − R0x106 − Operating Mode Control (R/W)
Default 0x700E
Description This register specifies the operating mode of the IFP
Bit 15 Enables manual white balance. User can set the base matrix and color channel gains. This bit must be asserted
and de-asserted with a frame in between to force new color correction settings to take effect
Bit 14 Enables auto exposure
Bit 13 Enables on-the-fly defect correction
Bit 12 Clips aperture corrections. Small aperture corrections (< 8) are attenuated to reduce noise amplification
Bit 11 Load color correction matrix
1: In manual white balance mode, triggers the loading of a new base matrix in color correction and the loading
of new base sensor gain ratios
0: Enables the matrix to be changed “offline”
Bit 10 Enables lens shading correction
1: Enables lens shading correction
Bit 9 Reserved
Bit 8 Reserved
Bit 7 Enables flicker detection
1: Enables automatic flicker detection
Bit 6 Reserved for future expansion
Bit 5 Reserved
Bit 4 Bypasses color correction matrix
1: Outputs raw color, bypassing color correction
0: Normal color processing
Bits 3:2 Auto exposure back light compensation control
“00” − Auto exposure sampling window is specified by R0x226 and R0x227 (“large window”)
“01” − Auto exposure sampling window is specified by R0x22B and R0x22C (“small window”)
“1X” − Auto exposure sampling window is specified by the weighted sum of the large window and the small
window, with the small window weighted four times more heavily