PDF: 4749051511/Source:7788125767
Aptina reserves the right to change products or specifications without notice.
MT9T111_DG - Rev. B 9/10 EN
68
©2007 Aptina Imaging Corporation. All rights reserved.
MT9T111: Developer Guide
Output Data Format
Preliminary
Table 23 shows other bits related to output format control from variable offset 0x0009.
To select the 10-bit raw data from the sensor core, refer to the next section, “Outputting
Raw Bayer Data”.
Outputting Raw Bayer Data
There are two ways to obtain raw Bayer data. In both cases, the data from the sensor core
will bypass the color pipeline.
The first option is to output all 10 bits in parallel. In this case, D
OUT
[7:0] represents
sensor core data D
OUT
[9:2] and GPIO[1:0] represents sensor core data Dout[1:0].
With the color pipeline and MCU disabled, the sensor core parameters (integration time,
gains, image size, power mode, and so on) can be programmed manually.
The second option is to enable 8+2 bypass mode by using D
OUT
[7:0] only. In this mode,
the data bits are sent out in two bytes: D
OUT
[9:2] in the first byte, and D
OUT
[1:0] (with
“0”s padded in the more significant bit positions) for the second byte.
YUV Output
The MT9T111 supports swapping YCrCb mode, as illustrated in Table 24.
Table 23:
Output Format Option Configuration Settings
0x0009 Bit Field
Option/Configuration
8
Bayer output with first color to be Gb
7
Bayer output with first color to be B
6
Bayer output with first color to be R
5
Bayer output with first color to be Gr
4
Sampling mode for YUV422 with even U and odd V
3
Sampling mode for YUV422 with odd UV
2
Sampling mode for YUV422 with even UV
1
Swap the output high byte with low byte (swap byte order)
0
Swap red/blue or Cr/Cb channels (swap read and blue)
Table 24:
YCrCb Output Data Ordering
Mode
Default (no swap)
Cbi
Yi
Cri
Yi+1
Swapped CrCb
Cri
Yi
Cbi
Yi+1
Swapped YC
Yi
Cbi
Yi+1
Cri
Swapped CrCb, YC
Yi
Cri
Yi+1
Cbi