MT9D115 Datasheet
Document overview
- Manufacturer or author: ON Semiconductor
- PDF pages: 66
Technical content
Features
MT9D115 DS Rev. E Pub. 4/15 EN 1 ©Semiconductor Components Industries, LLC,2015 1/5-Inch System-On-A-Chip (SOC) CMOS Digital Image Sensor MT9D115 Datasheet, Rev. E For the latest datasheet, please visit www.onsemi.com
- 2 Mp resolution (1600H x 1200V) 1/5-inch optical format Same or better image qu ality compared to MT9D112 Individual module ID su pport through one-time programmable (OTP) memory Surface fit lens correction (LC) to compensate for lens/small pixel vignetting and corner color variations Automatic functions: Exposure, white balance, black level offset correction, flicker detection and avoidance, color saturation control, defect identification and correction, aperture correction, and GPIO Programmable controls: Exposure, white balance, horizontal and vertical blanking, color, sharpness, gamma, lens shading correction, horizontal and vertical image flip, zoom, windowing, sampling rates, and GPIO 15 frames per second (fps) at 1600H x 1200V with moderate pixel clock frequency ( 64 MHz) to minimize baseband reception interference and 30 fps at 800H x 600V 2 x 2 pixel binning to impr ove low-light image quality Support for external LED or xenon flash On-chip phase-locked loop (PLL) to minimize the number of system clocks Low power modes to prolong battery life of portable devices Fail-safe I/Os with programmable output slew rate Industry standard two-wire serial interface for controls 10-bit parallel or MIPI serial interfaces for image data
Applications
Cellular phones P C c a m e r a s P D A s Notes: 1. Power consumption for typical voltages at 800 x 600 video mode Table 1: Key Performance Parameters Parameter Value Pixel size 1.75 m x 1.75 m Optical format 1/5-inch Array format (active) 1600H x 1200V = 1.92 Mp Imaging area 2.8 mm x 2.10 mm: 3.50 mm diagonal (4:3 aspect ratio) CRA 25° Color filter array RGB Bayer Scan mode Progressive Shutter Electronic rolling shutter (ERS) Input clock range 6 – 54 MHz Output pixel clock maximum 85 MHz Output MIPI data rate maximum 512 Mb/s Max. Frame Rate 15 fps full res 30 fps 800 x 600 Responsivity 0.65 V/Lux-sec (550 nm) Signal-to-noise ratio 39 dB (MAX) Dynamic range 63.9 dB (pixel) Supply voltage Digital 1.8 V (nominal) Analog 2.8 V (nominal) I/O 1.8 V or 2.8 V (nominal) MIPI 1.7-1.95V Power consumption 196mW Operating temperature range –30°C to 70°C (at junction) Package Bare die, CSP
MT9D115 DS Rev. E Pub. 4/15 EN 2 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor
Ordering Information
Table 2: Available Part Numbers Part Number Product Description Orderable Product Attribute Description MT9D115D00STCK25AC1-200 2 MP 1/5" SOC Die Sales, 200 m Thickness MT9D115EB3STC-CR 2 MP 1/5" CIS SOC Chip Tray without Protective Film MT9D115W00STCK25AC1-750 2 MP 1/5" SOC Wafer Sales, 750 m Thickness
MT9D115 DS Rev. E Pub. 4/15 EN 3 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Table of Contents Table of Contents
MT9D115 DS Rev. E Pub. 4/15 EN 5 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor List of Tables List of Tables Table 30: Typical Mismatch Current in V DD_IO Due to Mismatch in RESET_BAR level and VDD_IO Level . .61
MT9D115 DS Rev. E Pub. 4/15 EN 7 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Typical Connections Typical Connections Figure 2: Typical Configuration (connection) Notes: 1. This typical configuration shows only one scenar io out of multiple possible variations for this sen- sor. 2. If a MIPI Interface is not required, the following pads must be left floating: D OUT_P , DOUT_N, CLK_P , and CLK_N. 3. The GPIO pads can serve multiple features that can be reconfigured. The function and direction will vary by applications. 4. Only one output mode (serial or parallel) can be used at any time. 5. ON Semiconductor recommends a resistor value of 1.5K to VDD_IO for the two-wire serial inter- face RPULL-UP; Higher values can be used for slower transmission speed. 6. V AA and VAA_PIX can be tied together. Although separate decoupling capacitors are recommended for VAA and VAA_PIX, decoupling capacitors can be shared if one would like to reduce module size. 7. V PP is the OTP memory programming voltage and should be left floating during normal operation. 8. 1.8V supply is shared by MIPI interface and V DD to reduce the number of decoupling caps, and, sub- sequently, the module size. VDDIO_TX must be connected to a 1.8V power supply source, even though MIPI interface is not used. 9. ON Semiconductor recommends that 0.1 F and 1F decoupling capacitors for each power supply are mounted as close as possible to the pad and that a 10F capacitor be placed nearby off-module. Actual values and results can vary depending on layout and design considerations. Please follow ON Semiconductor's recommended capacitor Recommendations. 10. V DD_PLL and VAA can share the same power source, in which case GND_PLL must be connected to GND. 11. Internal pull-up in RESET_BAR pin and can be left floating when not connected. Analog Power SDATA SCLK FRAME_VALID PIXCLK LINE_VALIDSTANDBY GND_IO AGND I/O Power Digital Core Power VDD PLL Power VDD_PLL VAA6 VAA_PIX6 Slave two-wire serial interface To parallel camera port OR4 RPULL-UP RESET_BAR VPP7 General purpose I/Os (FLASH, OE_BAR, DOUT_LSB[1:0]) GPI0[3:0]3 SADDR Standby mode EXTCLKExternal clock in (6–54 MHz) Active LOW reset DGND DOUT[7:0] CLK_P DOUT_P CLK_N To serial camera port DOUT_N VDDIO_TX/VDD VAA_PIX/VDD_PLL/VAA VDDIO_TX8 MIPI Power TX VDD_IO GND_PLL VDD_IO 0.1µF 0.1µF 0.1µF
MT9D115: 1/5-Inch SOC Digital Image Sensor Decoupling Capacitor Recommendations MT9D115 DS Rev. E Pub. 4/15 EN 8 ©Semiconductor Components Industries, LLC,2015. Decoupling Capacitor Recommendations It is important to provide clean, well-regulated power to each power supply. The customer is ultimately responsible for ensuring that clean power is provided for their own designs because hardware design is influenced by many factors, including layout, operating conditions, and component selection. The recommendations for capacitor placement and values listed below are based on the ON Semiconductor internal demo camera design and verified in hardware. ON Semiconductor recommends the following, in order of preference: 1. Mount 0.1 F and 1F decoupling capacitors for each power supply as close as possi- ble to the pad and place a 10F capacitor nearby off-module. 2. If module limitations allow for only six decoupling capacitors for a three-regulator design (V DD1V2 tied to external regulator), use a 0.1F and 1F capacitor for each of the three regulated supplies. ON Semiconductor also recommends placing a 10F capacitor for each supply off-module, but close to each supply. 3. If module limitations allow for only three decoupling capacitors, use a 1µF capacitor (preferred) or a 0.1µF capacitor for each of the three regulated supplies. ON Semicon- ductor also recommends placing a 10µF capacitor for each supply off-module but close to each supply. 4. Give priority to the V AA supply for additional decoupling capacitors. ON Semiconductor does not recommend inductive filtering components. Follow best practices when performing physical layout. Refer to technical note TN-09- 131.
MT9D115 DS Rev. E Pub. 4/15 EN 9 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Signal Descriptions Signal Descriptions Notes: 1. In serial only mode, D OUT[7:0], PIXCLK, and GPIO[3:0] can be left floating by setting R0x0026[1] =1. If GPIO signals are required, DOUT[7:0] and PIXCLK must be tied to DGND and OE_BAR must be tied to VDD_IO. GPIO_3 should be configured as an input for OE_BAR function and set R0x001A[8] = 1. 2. GPIO can be left floating if not us ed and must be programmed as outputs. 3. Must be connected to V DD_IO, internal 100k ohms typical at 2.8V VDDIO used. 4. Can be left floating if not used. 5. Must be connected to V DD, even in designs where the MIPI interface is not used. Table 3: Signal Description and Direction Name Type Description Note STANDBY Input Hardware standby EXTCLK Input External clock input SADDR Input Two-wire interface device select address SCLK Input Two-wire interface serial clock RESET_BAR Input Hardware reset 4 CLK_N Output MIPI differential clock N 5 CLK_P Output MIPI differential clock P 5 D OUT_N Output MIPI differential data N 5 DOUT_P Output MIPI differential data P 5 DOUT[7:0] Output Parallel image data 1 FRAME_VALID Output Parallel pixel bus frame valid 1 LINE_VALID Output Parallel pixel bus line valid 1 PIXCLK Output Parallel pixel bus pixel clock 1 S DATA Bidirectional Two-wire interface serial data GPIO_0/DOUT_LSB[0] Bidirectional/Output General-purpose I/O or LSB for Raw 10 data output during SOC Bypass GPIO_1/DOUT_LSB[1] Bidirectional/Output General-purpose I/O or LSB for Raw 10 data output during SOC Bypass GPIO_3/OE_BAR Bidirectional/Output Gene ral-purpose I/O or output enable 2 GPIO_2/FLASH Bidirectional/Output General-purpose I/O or flash control 2 V AA Supply Analog core power source 2.8V nominal VAA_PIX Supply Analog core power source 2.8V nominal VDD Supply Digital core power source 1.8V nominal VDD_IO Supply Digital IO power source 1.8V or 2.8V nominal VDD_PLL Supply Digital PLL power source 2.8V nominal VDDIO_TX Supply Digital MIPI IO po wer source 1.8V nominal. 6
MT9D115 DS Rev. E Pub. 4/15 EN 11 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture The external host and the integrated microprocessor (MCU) can both access all the internal resources (RAM and registers). The external host always has higher priority. The following sections briefly describe the functionality of each key component of the system. Firmware The firmware implements all automatic camera functions, such as auto exposure (AE), auto white balance (AWB), and flicker detection/avoidance (FD), as well as control func- tions such as sequencer, mode/context, and histogram (see Table 4). The firmware consists of drivers, generally one driver for each major automatic or control function (see Figure 4). Figure 4: Firmware Architecture Table 4: List of Drivers ID Driver Name Description ID = 1 Sequencer Controls of camera main function ID = 2 AE Auto exposure ID = 3 AWB Auto white balance ID = 4 Flicker Detection Flicker detection and avoidance ID = 7 Mode/Context Context variables ID = 11 Histogram Reduce image flare and analyze image histogram Monitor SequencerOperation Driver Auto Function Driver Hardware Auto Exposure Auto White Balance Flicker Avoidance Mode Control RAM STAT IFP Core Output
MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture MT9D115 DS Rev. E Pub. 4/15 EN 12 ©Semiconductor Components Industries, LLC,2015. External Host Interface (Two-Wire Slave-Only Interface) The MT9D115 will appear as a two-wire serial interface slave to the external host. Its base address is selectable by the external SADDR pin input (when SADDR = 0 then base address = 0x78; when SADDR = 1 then base address = 0x7A). There are 32K addressable 16- bit registers (that is, the starting address of each register always falls into even addresses) within the MT9D115 but not all of them are being used (see Figure 5). Figure 5: External Host Register Map The MT9D115 Register Reference provides detailed register explanations. Although most registers are self-explanatory, the next paragraphs contain enhanced information about XDMA registers are worth explaining here. The XDMA registers allow the external host to indirectly access the internal memory resources of the MT9D115, which include the firmware driver variables. To access the variables, use logical accesses provided by the XDMA registers. SOC2 regs SYSCTL regs CORE regs XDMA regs 0x 0000 0 x 098 C 0x 1070 GP IO regs 0x 3012 SOC1 regs 0x 3210 0x 3400 16 -bit Driver Variables User -loadable memory1K B 1K B0x 0000 Internal Memory Resource RX_ SS r egs0x 0102
MT9D115 DS Rev. E Pub. 4/15 EN 13 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture The external host interface is implemented through a two-wire interface that enables direct read/write access to hardware registers and indirect access to firmware variables within the MT9D115. The interface is designed to be compatible with the MIPI alliance standard for Camera Serial Interface 2 (CSI-2) 1.0, which uses the electrical characteris- tics and transfer protocols of the two-wire serial interface specifications. The interface protocol uses a master/slave model in which a master controls one or more slave devices. The sensor acts as a slave device to the external host which acts as a master device. The master generates a clock (SCLK) that is an input to the sensor and used to synchronize the transactions at the interface. Data is transferred between the master and the slave on a bidirectional serial data bus (SDATA). Both SCLK and SDATA are pulled up to VDD_IO off-chip by a 1.5K resistor. Either the slave or master device can drive SDATA to LOW—the interface determines which device is allowed to drive SDATA at any given time. Figure 6: Two-Wire Serial Control Bus Timing SCLK SDATA SCLK SDATA Write Start Ack Read Start Ack tSHAR tAHSR tSDHR tSDSR Read Sequence Write Sequence Read Address Bit 7 Read Address Bit 0 Register Value Bit 7 Register Value Bit 0 Write Address Bit 7 Write Address Bit 0 Register Value Bit 7 Register Value Bit 0 tSRTS tSCLK tSDH tSDS tSHAW tAHSW Stop tSTPS tSTPH tSRTH Ack
MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture MT9D115 DS Rev. E Pub. 4/15 EN 14 ©Semiconductor Components Industries, LLC,2015. Note: tR and tF are dependent on system-level parameters such as the value of pull-up resistor used, how the two-wire serial bus is routed, whether there are other devices on the serial bus, and the strength of the supply used to pull-up the serial bus. Always-On Power Domain The always-on power domain (AOPD) provides an area of functionality that will always be active while power is applied to the MT9D115. The external host interface is located in the AOPD. The domain also includes miscellaneous clock and reset controls as well as configuration registers for the sensor core, processor core, clock configuration, and clock reset control. The user-loadable patch memory is also included in this domain. This memory will remain powered when the main core power is shut down using the standby command. Sensor Core The sensor core of the MT9D115 is a progressive-scan sensor that generates a stream of pixel data at a constant frame rate, qualified by LINE_VALID (LV) and FRAME_VALID (FV). The maximum pixel rate is 30 Mp/s, corresponding to a pixel clock rate of 63.25 MHz. See Figure 7 on page 15 for a block diagram of the sensor core. It includes a 2.0Mp active-pixel array. The timing and control circuitry sequences through the rows of the array, resetting and then reading each row in turn. In the time interval between reset- ting a row and reading that row, the pixels in the row integrate incident light. The expo- sure is controlled by varying the time interval between reset and readout. After a row is read, data from the columns are sequenced through an analog signal chain that provides offset correction and gain, and then through an ADC. The output from the ADC is a 10-bit value for each pixel in the array. Table 5: Two-Wire Serial Interface Timing Data fEXTCLK = 14 MHz; VDD = 1.8V; VDD_IO = 1.8V; VAA = 2.8V; VAA_PIX = 2.8V; VDD_PLL = 2.8V; VDD_PHY = NA; TJ = 70°C; CLOAD = 68.5pF Symbol Parameter Conditions Min Typ Max Unit fSCLK Serial interface input clock frequency 100 – 400 kHz tSCLK Serial interface input clock period 2.5 – 10 s SCLK duty cycle 33 50 50 % trS C L K / S DATA rise time – – 300 ns tSRTS Start setup time Master write to slave 600 – – ns tSRTH Start hold time Master write to slave 300 – – ns tSDH S DATA hold Master write to slave 5 – 900 ns tSDS S DATA setup Master write to slave 100 – – ns tSHAW S DATA hold to ack Master write to slave 150 – – ns tAHSW Ack hold to S DATA Master write to slave 150 – – ns tSTPS Stop setup time Master write to slave 300 – – ns tSTPH Stop hold time Master write to slave 600 – – ns tSHAR S DATA hold to ack Master read from slave 300 – – ns tAHSR Ack hold to S DATA Master read from slave 300 – – ns tSDHR S DATA hold Master read from slave 300 – 650 ns tSDSR S DATA setup Master read from slave 300 – – ns
MT9D115 DS Rev. E Pub. 4/15 EN 15 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture The pixel array contains optically active and light-shielded (dark) pixels. The dark pixels provide data for the offset-correction algorithms (black level control). The sensor core contains a set of control and status registers that can be used to control many aspects of the sensor behavior including the frame size, exposure, and gain settings. These registers are controlled by the firmware and can be accessed through a two-wire serial interface. Register values written to the sensor core can be overwritten by firmware. The output from the core is a Bayer pattern, where alternate rows are a sequence of either green and red pixels or blue and green pixels. The offset and gain stages of the analog signal chain provide per-color control of the pixel data. A flash strobe output signal is provided to allow an external xenon or LED light source to synchronize with the sensor exposure time. Figure 7: Sensor Core Block Diagram Pixel Array The sensor core uses a Bayer color pattern (see Figure 8). The even-numbered rows contain green and red pixels. The odd-numbered rows contain blue and green pixels. Even-numbered columns contain green and blue pixels. Odd-numbered columns contain red and green pixels. Sensor Core Active -Pixel Sensor (APS ) Array Timing and Control Control Registers Gr and Gb Channel Red and Blue Channel Analog Processing ADC PLL Digital Processing 10-bit Data Out Gr and Gb Red and Blue Gr and Gb Red and Blue
MT9D115 DS Rev. E Pub. 4/15 EN 17 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture Gain Options The MT9D115 provides per-color gain control as well as the option of global gain control. The per-color and global gain control can be used interchangeably. A WRITE to a global gain register is aliased as a WRITE of the same data to the four associated color-dependent gain registers. Integer digital gains in the range 0–7 can be programmed. A digital gain of 0 sets all pixel values to 0 (the pixel data will simply represent the value applied by the pedestal block). Gain settings are updated in every frame by the MCU auto functions such as AWB, AE, and FD. To make manual adjustments to gain settings, the MCU automatic exposure and automatic white balance adjustment features must be disabled. Integration Time The integration time (exposure) of the MT9D115 is controlled by variables. While coarse integration time controls the integration duration in terms of row times, fine integration time allows for sub-row times accuracy in terms of pixel clocks. Integration time is updated in every frame by the MCU auto feature. Disable the MCU auto features to make manual adjustments to integration time. Because of the basic operation of the Electronic Roller Shutter (ERS), it is not advisable to set an integration time that is greater than the frame time. It is not necessary to reprogram the frame time on the MT9D115 to make longer integra- tion times available because the frame time adjusts automatically. However, long inte- gration times increase the likelihood of image degradation because of increased accumulation of dark current. If the integration time is changed while FV is asserted for frame n, the first frame output using the new integration time is frame (n + 2). The sequence is as follows: 1. During frame n, the new integration time is held in the pending register. 2. At the start of frame ( n + 1), the new integration time is transferred to the live register. Integration for each row of frame (n + 1) has been completed using the old integration time. 3. The earliest time that a row can start integrating using the new integration time is immediately after that row has been read for frame (n + 1). 4. When frame ( n + 2) is read out, it will have been integrated using the new integration time. If the integration time is changed on successive frames, each value written will be applied for a single frame; the latency between writing a value and it affecting the frame readout remains at two frames. When the integration time and the gain are changed at the same time, the gain update is held off by one frame so that the first frame output with the new integration time also has the new gain applied. External Generated Master Clock If application does not use PLL, then the clock bypass bit in R0x0014 must be set before exiting soft standby state as follows: 1. Write 0x25F9 to R0x0014 to set clock bypass bit 2. Delay min. of 100 ms 3. Write 0x4028 to R0x0018 to exit from soft standby state 4. After successful exit from soft standby st ate, disable the clock bypass bit by writing 0x21F9 to R0x0014
MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture MT9D115 DS Rev. E Pub. 4/15 EN 18 ©Semiconductor Components Industries, LLC,2015. PLL-Generated Master Clock The PLL can generate a master clock signal whose frequency is up to 85 MHz (input clock from 6 MHz through 54 MHz). PLL Setup Because the input clock frequency is unknown, the sensor starts up with the PLL disabled. The PLL takes time to power up. During this time, the behavior of its output clock signal is not guaranteed. The PLL output frequency is determined by two constants, M and N, and the input clock frequency. (EQ 1) Digital Processing Readout Options The sensor core supports different readout options to modify the image before it is sent to the IFP . The readout can be limited to a specific window of the original pixel array. For preview modes, the sensor core supports both skipping and pixel averaging in xa n dy d i r e c t i o n s . By changing the readout direction the image can be flipped in the vertical direction and/or mirrored in the horizontal direction. Window Size The image output size is set with registers x_addr_start, x_addr_end, y_addr_start, and y_addr_end. The edge pixels in the 1600 x 1200 array are present to avoid edge defects and should not be included in the visible window. Binning will change the image output size. Readout Modes Horizontal Mirror When the sensor is configured to mirror the image horizontally, the order of pixel readout within a row is reversed, so that readout starts from x_addr_end and ends at x_addr_start. Figure 10 shows a sequence of 6 pixels being read out with normal readout and reverse readout. The SOC corrects for this change in sensor core output. VCO Fin 2 M PLL output frequency VCO
MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture MT9D115 DS Rev. E Pub. 4/15 EN 20 ©Semiconductor Components Industries, LLC,2015. Pixel Readouts Figures 13 through Figure 16 on page 22 show a sequence of data being read out with no skipping, with x_odd_inc = 3 and y_odd_inc = 1, with x_odd_inc = 1 and y_odd_inc = 3, and with x_odd_inc = 3 and y_odd_inc = 3. Figure 13: Pixel Readout (no skipping) X Incrementing Y Incrementing
MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture MT9D115 DS Rev. E Pub. 4/15 EN 22 ©Semiconductor Components Industries, LLC,2015. Figure 16: Pixel Readout (x_odd_inc = 3, y_odd_inc = 3) Programming Restrictions when Skipping When skipping is enabled as a viewfinder mode, and the sensor is switched back and forth between full resolution and skipping, keep line_length_pck constant. This allows the same integration times to be used in each mode. When subsampling is enabled, it might be necessary to adjust the x_addr_end and y_ad- dr_end settings. The values for these registers must correspond with rows/ columns that form part of the subsampling sequence. Use the following rules to make the adjustment. (EQ 2) (EQ 3) Table 6 shows the row address sequencing for normal and subsampled (with y_odd_inc = 3) readout. The same sequencing applies to column addresses for subsam- pled readout. Because the subsampling sequence only reads half of the rows and columns, there are two possible subsampling sequences, depending upon the alignment of the start address. X Incrementing Y Incrementing remainder = (addr_end addr_start– 1 AND 4+ if (remainder == 0) addr_end = addr_end 2–
MT9D115 DS Rev. E Pub. 4/15 EN 23 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture Binning The MT9D115 sensor core supports 2 x 1 and 2 x 2 analog binning (column binning, also called x-binning and row/column binning, also called xy-binning). Binning has many of the same characteristics as subsampling. However, because binning gathers image data from all pixels in the active window, rather than from a subset of pixels, it achieves supe- rior image quality and avoids the aliasing artifacts that can be a characteristic side effect of subsampling. Enable binning by selecting the appropriate subsampling settings (x_odd_inc = 3 and y_odd_inc = 1 for x-binning, x_odd_inc = 3 and y_odd_inc = 3 for xy-binning) and setting the appropriate binning bit in read_mode register. As for subsampling, x_addr_end and y_addr_end might require adjustment when binning is enabled. The effect of the different subsampling settings is shown in Figure 17 and in Figure 18 on page 24. Figure 17: Pixel Readout (x_odd_inc = 3, y_odd_inc = 1, x_bin = 1) Table 6: Row Address Sequencing (Sampling) Normal Subsampled Sequence 1 Subsampled Sequence 2
00 N o d a t a
11 N o d a t a
44 N o d a t a
55 N o d a t a
MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture MT9D115 DS Rev. E Pub. 4/15 EN 24 ©Semiconductor Components Industries, LLC,2015. Figure 18: Pixel Readout (x_odd_inc = 3, y_odd_inc = 3, x_ybin = 1) Binning Limitations Binning requires a different sequencing of the pixel array and imposes different timing limits on the operation of the sensor. In particular, xy-binning requires two READ opera- tions from the pixel array for each line of output data, which has the effect of increasing the minimum line blanking time. As a result, when xy-binning is enabled, some of the programming limits declared in the parameter limit registers are no longer valid. In addition, the default values for some of the manufacturer-specific registers need to be reprogrammed. None of these adjust- ments are required for x-binning. The sensor must be taken out of streaming mode before switching between binned and non-binned operation. The row addresses for various binning modes are shown in Table 7. Raw Data Format The sensor core image data is read out in a progressive scan. Valid image data is surrounded by horizontal blanking and vertical blanking, (see Figure 19). The amount of horizontal blanking and vertical blanking is programmable. LV is HIGH during the shaded region of the figure. Table 7: Row Address Sequencing (Binning) Normal Binning Sequence 1 Binning Sequence 2 00 , 2 N o d a t a 11 , 3 N o d a t a 2N o d a t a 2 , 4 3N o d a t a 3 , 5 44 , 6 N o d a t a 55 , 7 N o d a t a 6N o d a t a 6 , 8 7N o d a t a 7 , 9 Y incrementing X incrementing
MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture MT9D115 DS Rev. E Pub. 4/15 EN 26 ©Semiconductor Components Industries, LLC,2015. Input Interface to Image Flow Processor The input interface to the IFP is the front end of the IFP , in which it will choose between the sensor core output or a test pattern generator output. During normal operation, a stream of raw Bayer image data from the sensor is continuously fed into the IFP . For testing purposes, the test generator output is selected. The generator provides a selec- tion of test patterns sufficient for basic testing of the IFP . Program variable (ID=7, Offset=0x66) followed by REFRESH command to the sequencer in order to access different test patterns (see Figure 21). Depending on which test pattern has been selected, the user might need to program additional registers in order to see the intended effects. Figure 21: Available Test Patterns Test Pattern Registers/Variables Example Flat Field Vertical Ramp mode_common_ mode_settings test_mode (ID=7, Offset=0x66)=2 Color Bar Vertical Stripes Pseudo-Random Horizontal Stripes mode_common settings_test_mode (ID=7, Offset=0x66)=1 test_pxl_red (R0x0102) = 0x1ff test_pxl_g1 (R0x0104) = 0x1ff test_pxl_g2 (R0x0106) = 0x1ff test_pxl_blue (R0x0108) = 0x1ff mode_common_ mode_settings test_mode (ID=7, Offset=0x66)=3mode_common settings_test_mode (ID=7, Offset=0x66)=4 test_pxl_red (R0x0102) = 0x1ff test_pxl_g1 (R0x0104) = 0x17d test_pxl_g2 (R0x0106) = 0x000 test_pxl_blue (R0x0108) = 0x000 mode_common_mode settings_test_mode (ID=7, Offset=0x66)=5 mode_common settings_test_mode (ID=7, Offset=0x66)=6 test_pxl_red (R0x0102) = 0x1ff test_pxl_g1 (R0x0104) = 0x17d test_pxl_g2 (R0x0106) = 0x000 test_pxl_blue (R0x0108) = 0x000
MT9D115 DS Rev. E Pub. 4/15 EN 27 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture Image Flow Processor Most IFP functions can be controlled directly by the MCU. The external host will control it indirectly through the driver variables. IFP processing can be broken into three different phases: pixel reconstruction, color rendering/statistics collection, and digital scaling/output format. Figure 22 shows a simplified IFP block diagram and the operating color space at each processing phase. Figure 22: IFP Block Diagram Pixel Reconstruction (Lens Shading Correction) First Black Level Subtraction and Digital Gain Image stream processing starts with black level subtraction and multiplication of all pixel values by a programmable digital gain. Both operations can be independently set to separate values for each color channel (R, Gr, Gb, B). Independent color channel digital gain can be adjusted with registers. Independent color channel black level adjust- ments can also be made. If the black level subtraction produces a negative result for a particular pixel, the value of this pixel is set to “0.” Pixel Array ADC Test Pattern Generator Black Level Subtraction Color Correction Aperture Correction Gamma Correction (10-to-8 Lookup ) Color Kill Scaler Output Formatting YUV to RGB MIPI Raw Data Bypass 8-Bit RGB RAW 10 8-bit RGB 8-bit YUV Output FIFO Parallel OutputSerial Output Output Format RGB to YUV Statistics Engine Digital Gain Control, Shading Correction Defect Correction, Nosie Reduction, Color Interpolation Pixel Reconstruction Digital Scaling/Output Format Color Rendering/Statistics Collection
MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture MT9D115 DS Rev. E Pub. 4/15 EN 28 ©Semiconductor Components Industries, LLC,2015. Shading Correction (SC) Lenses tend to produce images whose brightness is significantly attenuated near the edges. Other factors also cause fixed pattern signal gradients in images captured by image sensors. The cumulative result of all factors is known as image shading. The MT9D115 has an embedded shading correction module that can be programmed to counter the shading effects on each individual R, Gb, Gr, and B color signal. The Correction Function Color-dependent solutions are calibrated using the sensor, lens system, and an image of an evenly illuminated, featureless grey calibration field. The color correction functions can be derived from the resulting image. The correction functions can then be applied to each pixel value to equalize the response across the image as follows: (EQ 4) where P are the pixel values and f is the color dependent correction functions for each color channel. Defect Correction The IFP performs continuous defect correction that can mask pixel array defects such as high dark-current (hot) pixels and pixels that are darker or brighter than their neighbors due to photoresponse nonuniformity. The module is edge-aware with exposure that is based on configurable thresholds. The thresholds are changed continuously based on the brightness of the current scene. Noise Reduction Noise reduction can be enabled or disabled. Thresholds can be set through register settings. Color Interpolation and Edge Detection In the raw data stream fed by the sensor core to the IFP , each pixel is represented by a 10-bit integer number, which can be considered proportional to the pixel's response to a one-color light stimulus, red, green, or blue, depending on the pixel's position under the color filter array. Initial data processing steps—up to and including the defect correc- tion—preserve the one-color-per-pixel nature of the data stream. After the defect correc- tion, the data stream must be converted to a three-colors-per-pixel stream appropriate for standard color processing. The conversion is done by an edge-sensitive color inter- polation module. The module pads the incomplete color information available for each pixel with information extracted from an appropriate set of neighboring pixels. The algorithm used to select this set and extract the information seeks the best compromise between preserving edges and filtering out high frequency noise in flat field areas. The edge threshold can be set through register settings. Aperture Correction To increase image sharpness, a programmable 2D aperture correction (sharpening filter) is applied to color-corrected image data. The gain and threshold for 2D correction can be defined through variable settings. Pcorrected(row,col)=P sensor(row,col)*f(row,col)
MT9D115 DS Rev. E Pub. 4/15 EN 29 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture Color Rendering/Statistics Collection (Color Correction) Color Correction To achieve good color fidelity of the IFP output, interpolated RGB values of all pixels are subjected to color correction. The IFP multiplies each vector of three pixel colors by a 3 x 3 color correction matrix. The three components of the resulting color vector are all sums of three 10-bit numbers. Because such sums can have up to 12 significant bits, the bit width of the image data stream is widened to 12 bits per color (36 bits per pixel). The color correction matrix can be programmed by the user or automatically selected by the AWB algorithm implemented in the IFP . Ideally, color correction should produce output colors that are independent of the spectral sensitivity and color crosstalk characteristics of the image sensor. The optimal values of the color correction matrix elements depend on those sensor characteristics and on the spectrum of light incident on the sensor. The color correction variables can be adjusted through register settings. Image Cropping By configuring the cropped and output windows to various sizes, different zooming levels (for example 4X, 2X, and 1X) can be achieved. The location of the cropped window is also configurable so that panning is also supported. A separate cropped window is defined for context A and context B. In both contexts, the height and width definitions for the output window must be equal to or smaller than the cropped image. Gamma Correction The gamma correction curve (see Figure 23 on page 30) is implemented as a piecewise linear function with 19 knee points, taking 12-bit arguments and mapping them to 8-bit output. The abscissas of the knee points are fixed at 0, 64, 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2304, 2560, 2816, 3072, 3328, 3584, 3840, and 4096. The 8-bit ordinates are programmable through IFP registers. The MT9D115 IFP includes a block for gamma correction that can adjust its shape based on brightness to enhance the performance under certain lighting conditions. Two custom gamma correction tables can be uploaded, one corresponding to a brighter lighting condition, the other corresponding to a darker lighting condition. At power-up, the IFP loads the two tables with default values. The final gamma correction table used depends on the brightness of the scene and can take the form of either uploaded tables or an interpolated version of the two tables. A single (non-adjusting) table for all condi- tions can also be used.
MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture MT9D115 DS Rev. E Pub. 4/15 EN 30 ©Semiconductor Components Industries, LLC,2015. Figure 23: Gamma Correction Curve Color Kill A color kill circuit is included to remove high or low light color artifacts. It affects only pixels whose luminance exceeds a certain preprogrammed threshold. The U and V values of those pixels are attenuated proportionally to the difference between their lumi- nance and the threshold. Digital Scaling/Output Format Special Effects Special effects like negative image, sepia, or black and white can be applied to the data stream at this point. These effects can be enabled and selected by registers. RGB to YUV Conversion For further processing, the data is converted from RGB color space to YUV color space. YUV Color Filter As an optional processing step, noise suppression by one-dimensional low-pass filtering of Y and/or UV signals is possible. A 3- or 5-tap filter can be selected for each signal. Image Scaling The IFP includes a scaler module to ensure that the size of images output by the MT9D115 can be tailored to the needs of all users. When enabled, this module performs rescaling of incoming images—shrinks them to arbitrarily selected width and height without reducing the field of view and without discarding any pixel values. The scaler performs pixel binning—divides each input image into rectangular bins corresponding to individual pixels of the desired output image, averages pixel values in these bins, and assembles the output image from the bin averages. Pixels lying on bin boundaries contribute to more than one bin average; their values are added to bin-wide sums of pixel values with fractional weights. The entire procedure preserves all image information that can be included in the downsized output image and filters out high frequency features that could cause aliasing. Use the image cropping and scaler module together to implement a digital zoom and pan. If the scaler is programmed to output images smaller than images coming from the sensor core, zoom effect can be produced by cropping the latter from their maximum Gamma Correction 100 150 200 250 300 0 1000 2000 3000 4000 Input RGB, 12-bit Output RGB, 8-bit 0.45
MT9D115 DS Rev. E Pub. 4/15 EN 31 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture size down to the size of the output images. The ratio of these two sizes determines the maximum attainable zoom factor. For example, a 1600 x 1200 image rendered on a 250 x 150 display can be zoomed up to eight times, because 1280/160 = 1024/128 = 8. A panning effect can be achieved by fixing the size of the crop- ping window and moving it around the pixel array. YUV-to-RGB/YUV Conversion and Output Formatting The YUV data stream emerging from the scaling module can either exit the color pipe- line as-is or be converted before exit to an alternative YUV or RGB data format. Color Conversion Formulas Y'U'V' This conversion is ITU-R BT.601 scaled to make YUV range from 0 through 255. This setting is recommended for JPEG encoding and is the most popular. (EQ 5) (EQ 6) (EQ 7) There is an option where 128 is not added to U'V'. Y'Cb'Cr' Using sRGB Formulas The MT9D115 implements the sRGB standard. This option provides YCbCr coefficients for a correct 4:2:2 transmission. Note: 16 < Y’< 235; 16 < Cb < 240; 16 < Cr < 240; and 0 RGB 255 (EQ 8) (EQ 9) (EQ 10) Y'U'V' Using sRGB Formulas Similar to the previous set of formulas, but has YUV spanning a range of 0 through 255. (EQ 11) (EQ 12) (EQ 13) There is an option to disable adding 128 to U'V'. The reverse transform is as follows: (EQ 14) (EQ 15) (EQ 16)
MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture MT9D115 DS Rev. E Pub. 4/15 EN 32 ©Semiconductor Components Industries, LLC,2015. Output Interface from IFP The output interface contains parallel image bus, MIPI serial bus interfaces, and walking 1s connectivity test generator. Parallel and MIPI Output The user can select to use either the serial MIPI output or the 10-bit parallel output to transmit the data. Only one of the output modes can be used at any time. The parallel output can be used with an output FIFO whose memory is shared with the MIPI output FIFO to retain a constant pixel output clock independent from the scaling factor. When scaling the image or skipping lines, the data would be generated in bursts and the pixel clock would turn on and off in intervals, which might lead to EMI problems. The output FIFO will group all active pixel data together so the pixel clock can be run at a constant speed. The MIPI output transmitter implements a serial differential sub-L VDS transmitter capable of up to 512 Mb/s. It supports multiple formats, error checking, and custom short packets. The MIPI clock is defined as half the data rate frequency. The virtual channel could be used by host MIPI RX circuits to differentiate between preview and capture image data if the FW changes the channel number when switching between contexts. The host cannot adequately time this switching of contexts and so cannot use channel number in this way without FW support. The hardware supports a configurable MIPI virtual channel in the MIPI Control register (R0x3400). Firmware provides two variables that allow the MIPI virtual channel to be changed according to context (preview/A, capture/B). The host can specify what channel is used for which context through these variables. Note: Data will be packed as RAW8 if the data type specified does not match any of the above data types. Table 8: Data Formats Supported by MIPI Interface Data Format Data Type YUV 422 8-bit 0x1E 565RGB 0x22 555RGB 0x21 444RGB 0x20 RAW8 0x2A RAW10 0x2B
MT9D115: 1/5-Inch SOC Digital Image Sensor Architecture MT9D115 DS Rev. E Pub. 4/15 EN 34 ©Semiconductor Components Industries, LLC,2015. 10-Bit Bypass Output Raw 10-bit Bayer data from the sensor core can be output in bypass mode in two ways: 1. Using eight data output signals (D OUT[7:0]) and GPIO[1:0]. The GPIO signals are the lowest two bits of data. 2. Using only eight signals (D OUT[7:0]) and a special 8 + 2 data format, shown in Table 11. FIFO During normal pipeline operation, the output data rate is determined by a number of factors: input image size, degree of scaling, and sensor operation mode. As these param- eters change during normal sensor operation, output frequency changes. This output frequency may generate RF noise, interfering with the mobile device. By using an output FIFO to maintain a constant output clock frequency, noise is easily filtered out. The FIFO accumulates data and after a certain number of bytes are stored, it will output them in a single burst, making sure that the data rate within the burst remains constant. This approach utilizes a free-running clock, thus making possible minimal RF interfer- ence. 555RGB Odd 0 R 7R6R5R4R3G7G6 Even G 4G3G2B7B6B5B4B3 444xRGB Odd R 7R6R5R4G7G6G5G4 Even B 7B6B5B4 0 0 0 0 x444RGB Odd 0 0 0 0 R 7R66R5R4 Even G 7G6G5G4B7B6B5B4 Table 11: 2-Byte RGB Format Byte Bits Used Bit Sequence Odd bytes 8 data bits D 9D8D7D6D5D4D3D2 Even bytes 2 data bits + 6 unused bits 0 0 0 0 0 0 D 1D0 Table 10: RGB Ordering in Default Mode (continued) Mode (Swap Disabled) Byte D7D6D5D4D3D2D1D0
MT9D115 DS Rev. E Pub. 4/15 EN 35 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Control Functions Control Functions Sequencer: Camera Operating System The sequencer is a finite state machine that controls the general operations of the camera and switching between operating modes. Camera operation is organized in states such as enter preview, preview, leave preview, enter capture, and capture. The sequencer carries out a number of commands such as run, go preview, go capture, refresh, and refresh mode. The current state of the sequencer is indicated in a variable seqr.state. To execute a command, the user must set a particular command number in the variable seqr .cmd. ON Semiconductor recommends that the external host monitor seqr .state to know when to change resolution or capture frames. Each state has its configuration; therefore, the user should set up the state configuration to customize the camera configuration before executing the corresponding program such as GO TO CAPTURE. A typical camera operating scenario is: 1. Configure mode variables after hardware reset. 2. Configure preview mode. 3. Execute sensor REFRESH program. 4. Run in preview until shutter button is pressed. 5. Capture a frame.
MT9D115: 1/5-Inch SOC Digital Image Sensor Control Functions MT9D115 DS Rev. E Pub. 4/15 EN 36 ©Semiconductor Components Industries, LLC,2015. Figure 25: Sequencer Finite State Machine Note: Any state except INIT can transition to Stan dby state by either hard standby or soft standby. Mode: Context Information The mode driver reduces integration efforts by managing most aspects of switching the two contexts. It remembers vital register values for each image acquisition context and loads these values to the appropriate registers in the IFP upon context switching. For the mode driver variables to take effect, the user changes the variable values in the mode driver (ID = 7). Upon the next mode change or sequencer's REFRESH command, these driver variable values will be loaded to the appropriate physical sensor core and IFP registers. The image processing will take the new values at the beginning of the next frame acquired. To control the output image size, the user can modify the mode driver variables such as output_width_A, output_height_A, output_width_B, and output_height_B. The mode driver will automatically apply any appropriate downscaling filter to achieve this output image size as well as update the watermark of the output FIFO. It is important to set up the sensor core to output an image equal to or larger than the crop window size, which in turn is equal to or larger than the desired output image size. PREVIEW CAPTURE INIT CHG MODE TO PREVIEW ENTER PREVIEW LEAVE PREVIEW CHG MODE TO CAPTURE ENTER CAPTURE Go preview Go capture Go preview or Go capture STANDBYGo preview Go capture Refresh mode Refresh mode Refresh or Run Refresh or Run STANDBY STANDBY POR LEAVE CAPTURE 0X0018[2] = 1 0X0018[2] = 0 STANDBY
MT9D115 DS Rev. E Pub. 4/15 EN 37 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Camera Functions Camera Functions Simple Rule-based Auto Exposure The AE algorithm performs automatic adjustments of the image brightness by controlling exposure time and analog gains of the sensor core as well as digital gains applied to the image. Auto exposure is implemented by a firmware (FW) driver that analyzes image statistics collected by the exposure measurement engine, makes a decision, and programs the sensor core and color pipeline to achieve the desired exposure. The measurement engine subdivides the image into 16 windows organized as a 4 x 4 grid. An AE algorithm mode is available: average brightness tracking (ABT). The ABT AE uses a constant average tracking algorithm where a target brightness value is compared to a current brightness value, and the gain and integration time are adjusted accordingly to meet the target requirement. AE Driver DRT exposure mode is activated during preview. This mode can also be enabled during video capture mode. The DRT exposure mode relies on the statistics engine to track speed and amplitude of the change of the overall luminance in the selected windows of the image. Backlight compensation is achieved by weighting the luminance in the center of the image higher than the luminance on the periphery. Other algorithm features include the rejection of fast fluctuations in illumination (time averaging), control of speed of response, and control of the sensitivity to the small changes. While the default settings are adequate in most situations, the user can program target brightness, measurement window, and other parameters. The driver calculates image brightness based on average luma values received from 16 programmable equal-size rectangular windows forming a 4 x 4 grid. In preview mode, 16 windows are combined in two segments: central and peripheral. The central segment includes four central windows. All remaining windows belong to the peripheral segment. Scene brightness is calculated as average luma in each segment taken with certain weights. The driver changes AE parameters (integration time, gains, and so on) to drive bright- ness to the programmable target. The value of the single step approach to the target value can be controlled. To avoid unwanted reaction of AE on small fluctuations of scene brightness or momen- tary scene changes, the AE driver uses a temporal filter for luma and a threshold around the AE luma target. The driver changes AE parameters only if the filtered luma is larger than the AE target step and pushes the luma beyond the threshold. Evaluative Algorithm A scene-evaluative AE algorithm is available for use in snapshot mode. The algorithm performs scene analysis and classification with respect to its brightness, contrast, and composure and then decides to increase, decrease, or keep the original exposure target. It makes the most difference for backlight and bright outdoor conditions.
MT9D115: 1/5-Inch SOC Digital Image Sensor Camera Functions MT9D115 DS Rev. E Pub. 4/15 EN 38 ©Semiconductor Components Industries, LLC,2015. Accelerated Settling During Overexposure The AE speed is direction-dependent. Transitioning from overexposure to target can take more time than transitioning from underexposure. The AE driver has a mode that speeds up AE for overexposed scenes. The AE driver counts the number of AE windows whose average brightness is equal to or greater than some value, 250 by default. For a scene that has saturated regions, the average luma is underestimated because of signal clipping. The driver compensates underestimation by a factor that can be defined. Exposure Control To achieve the required amount of exposure, the AE driver adjusts the sensor integration time, gains, ADC reference, and IFP digital gains. In addition, ae_base_target (ID = 2, offset = 0x4F) is available for the user to adjust the overall brightness of the scene. Flicker Detection and Avoidance Flicker occurs when the integration time is not an integer multiple of the period of the light intensity. The automatic flicker detection block does not compensate for the flicker, but rather avoids it by detecting the flicker frequency and adjusting the integration time. To reject flicker, integration time is typically adjusted in increments of steps. The incre- mental step specifies the duration in row times equal to one flicker period. Thus, flicker is rejected if integration time is kept to an integral factor of the flicker period. Flicker cannot be avoided for integration times below the light intensity period (10ms for 50Hz environment). Flicker shows up in the image as horizontal bars that roll up or down. The MCU looks for these rolling bars using a thin horizontal window, which outputs luma average and is applied to 48 points in the upper half of the image. The MCU repeats the same sampling on the next frame; 48 samples from the previous frame are subtracted from corre- sponding samples from the current frame. Skipping more frames between subtraction can be set by a variable. The MCU then smooths the 48 sampling points, applies an amplitude threshold to avoid false detection, and looks at the resulting waveform. If flicker is present, the waveform should have a frequency within the search range. Assuming the flicker power is a sine wave, subtracting two frames results in: (EQ 17) which is a cosine wave of the original frequency. sin(wt) sin(wt– a) 2 sin(a 2) cos(wt (a 2 +=+
MT9D115 DS Rev. E Pub. 4/15 EN 39 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Camera Functions Auto White Balance The MT9D115 has a built-in AWB algorithm designed to compensate for the effects of changing spectra of the scene illumination on the quality of the color rendition. The algorithm consists of two major parts: a measurement engine performing statistical analysis of the image and a driver performing the selection of the optimal color correc- tion matrix, digital gains, and sensor core analog gains. While default settings of these algorithms are adequate in most situations, the user can reprogram the base color correction matrices, place limits on color channel gains, and control the speed of both matrix and gain adjustments. Flash To take a snapshot, the user must send a command that changes the context from preview to snapshot. The typical sequence of events after this command is: 1. The camera might turn on its LED flash, if it has one and is required to use it. With the flash on, the camera exposure and white balance are automatically adjusted to the changed illumination of the scene. 2. The camera captures one or more frames of desired size. A camera equipped with a xenon flash strobes while capturing images. When the images are captured, the cam- era automatically returns to context A and resumes running in preview mode. Note: This sequence of events can take up to 10 frames. Histogram: Dark Level Adjustments, Low Light and Tonal Controls The histogram driver continually works to reduce image flare and continually analyzes input image histogram and dynamically adjusts the black level. When flare is present (hence, the histogram does not contain dark tones), it causes the driver to subtract a higher black level, thus regaining the lost contrast. In certain situations, the scene may contain no dark tones without flare. The histogram driver cannot distinguish this situa- tion and alters the black level just the same, causing the image to have more contrast, which looks acceptable in many situations. Besides black level adjustments and low light scene parameters, this driver also contains variables for the preloaded and custom gamma tables.
MT9D115 DS Rev. E Pub. 4/15 EN 41 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Power Modes Power Modes Power Application Sequence ON Semiconductor recommends the following sequence to maintain low power consumption during this process: Caution Applying power to analog supplies prior to applying digital and IO supplies or any other fail- ure to follow the correct power up sequence may result in high current consumption and die heating. This can potentially result in performance and reliability issues. 1. Ensure that STANDBY is de-asserted and RESET_BAR is asserted. 2. Apply IO supply (V DD_IO) to the image sensor and wait for the IO supply to be stable. 3. Minimum of 1 ms after IO supply is stab le, apply digital supply to the image sensor and wait. 4. Enable EXTCLK and wait for th e EXTCLK signal to stabilize. 5. De-assert RESET_BAR for a minimum of 10 EXTCLK cycles. 6. After asserting the RESET_BAR, apply analog supplies (V AA, VAA_PIX, and VDD_PLL) to the image sensor. 7. After 6000 EXTCLK cycles from the end of step 6, the image sensor will be in soft standby state. 8. Communication with the sensor thorough two-wire serial interface can start 1 EXT- CLK after step 7. In cases where the recommended procedure cannot be followed, the following condi- tion would affect the sensor’ s power consumption during the power application sequence: When analog supplies are applied prior to the digital and IO supplies, high current consumption on the analog supplies may be present.
MT9D115: 1/5-Inch SOC Digital Image Sensor Power Modes MT9D115 DS Rev. E Pub. 4/15 EN 42 ©Semiconductor Components Industries, LLC,2015. Figure 27: Power Application Sequence Timing Power-On Reset The sensor includes a power-on reset feature that initiates a reset upon power-up. Even though this feature is included on the device, it is advised that the user still manually assert a hard reset upon power-up. The MT9D115’ s POR circuit generates internal reset only and it will not generate the external reset signal through RESET_BAR. The POR circuit requires V DD ramp time to be less than 10µs. If the ramp time is longer than 10µs, the POR operation is not guaranteed and external reset must be used. The POR circuit will generate an internal reset when VDD falls below 1.25V (typical) for 1µs (typical) period, as shown in Figure 28 and described in Table 13. Table 12: Power Application Sequence Timing Parameters Symbol Min Typ Max Units Delay from stable RESET_BAR, STANDBY signals to VDDIO power start t0 0 – – ns Delay from stable VDD_IO to VDD start t1 1 – – ms Delay from stable VDD power to EXTCLK start t2 0 – – ns Delay from EXTCLK start to stable EXTCLK t3 1 – – EXTCLK RESET_BAR pulse width t4 10 – – EXTCLK Delay from RESET_BAR de-asserting to analog power supplies start t5 1 – – EXTCLK Delay from analog power stable to soft standby mode t6 6000 – – EXTCLK Delay from soft standby mode to first two-wire bus transaction t7 1 – – EXTCLK STANDBY RESET_BAR EXTCLK VDD_IO VDD VAA_, VAA_PIX, VDD_PLL Two-wire serial bus t6 t7
MT9D115 DS Rev. E Pub. 4/15 EN 43 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Power Modes The POR circuit reset and external RESET_BAR signals are gated together to generate an internal reset for MT9D115. Figure 28: Internal Power-On Reset Table 13: POR Parameters Symbol Definition Min Typ Max Unit t1 Minimum V DD spike width below VTRIG_FALLING considered to be a reset – 1 – s VTRIG_RISING VDD rising trigger voltage 1.15 1.4 1.55 V VTRIG_FALLING VDD falling trigger voltage 1 1.25 1.45 V VDD VTRIG_RISING VTRIG_FALLING
MT9D115: 1/5-Inch SOC Digital Image Sensor Power Modes MT9D115 DS Rev. E Pub. 4/15 EN 44 ©Semiconductor Components Industries, LLC,2015. Hard Reset The MT9D115 enters the reset state when the external RESET_BAR signal is asserted LOW, as shown in Figure 29 and described in Table 14. All of the output signals will be in High-Z state except the MIPI outputs, which will be driven LOW. Figure 29: Hard Reset Operation Table 14: Hard Reset Symbol Definition Min Typ Max Unit t1 RESET_BAR pulse width 100 – – EXTCLK cycles t2 Active EXTCLK required after RESET_BAR asserted 10 – – t3 Active EXTCLK required before RESET_BAR de-asserted 10 – – t4 Maximum internal boot time – – 6000 EXTCLK Reset RESET_BAR Mode Internal Boot Time SDATA Entering Standby Mode and Two-wire serial interface is Ready All Outputs Data Active After Programming by Host Processor Data Active
MT9D115 DS Rev. E Pub. 4/15 EN 45 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Power Modes Soft Reset The host processor can reset the MT9D115 using the two-wire serial interface by writing to SYSCTL 0x001A. Two types of soft reset are available. SYSCTL 0x001A[0] is used to reset the MT9D115, which is similar to external RESET_BAR signal. 1. Set SYSCTL 0x001A1:0] to 0x3 to initiate internal reset cycle. 2. Wait 6000 EXTCLK cycles. 3. Reset SYSCTL 0x001A[0] to 0x0 for normal operation. Figure 30: Soft Reset Operation Table 15: Soft Re set Signal Timing Symbol Parameter Min Typ Max Unit t1 Maximum soft reset time – – 6000 EXTCLKs EXTCLK SDATA Mode Write Soft Reset Command Reseting Registers Registers Reset to Default Values SCLK
MT9D115: 1/5-Inch SOC Digital Image Sensor Power Modes MT9D115 DS Rev. E Pub. 4/15 EN 46 ©Semiconductor Components Industries, LLC,2015. Power Removal Sequence ON Semiconductor recommends using the following method to remove the power supplies from the image sensor. 1. Put the image sensor into either hard standby or soft standby mode as described in “Standby Modes” on page 47. 2. Remove all digital and analog supplies. During step 2, the digital and analog supplies can be removed safely either one by one or at the same time, provided that step 1 is executed previously. To achieve a known power down state in the sensor, execute step 1 before removing any power supplies during the power removal process. Figure 31: Recommended Power Down Sequence Table 16: Power Down Signal Timing Symbol Parameter Min Typ Max Unit t1 Standby entry complete 1 frame + 40 – – EXTCLKs t2 Active EXTCLK required after STANDBY asserted 10 – – EXTCLKs t3 Power Supply Removal can be in any order and anytime after completion of t2 0–– E X T C L K s EXTCLK STANDBY STANDBY ASSERTED STANDBY MODE t2 t3 Remove power supplies VAA VDD VDD_IO
MT9D115 DS Rev. E Pub. 4/15 EN 47 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Power Modes Standby Modes The MT9D115 supports three standby modes: S o f t s t a n d b y Low leakage hard standby High leakage hard standby For each mode, entry can be overridden by programming the standby_control register. Patch codes, PLL configurations, parallel and MIPI IO selections are retained in all standby modes. Soft Standby Soft standby can be enabled by register access; it disables the sensor core and most of the digital logic. The two-wire serial interface is still active and the MT9D115 can be programmed through register commands. All register settings and RAM content will be preserved. Soft standby can be performed in any sequencer state. Low Leakage Hard Standby Hard standby mode uses the STANDBY signal to shut down digital power (VDD) and ensure the lowest power consumption. All the two-wire serial interface settings and firmware variables except patch codes, PLL configuration, parallel/MIPI IO and context selections will be lost in this mode. Starting up from this mode is equivalent to power up and current context selections. The two-wire serial interface will be inactive and the sensor must be started up by de-asserting the STANDBY signal. High Leakage Hard Standby (Without Loss of Variable Data) High leakage hard standby mode (without the loss of variable data) can also be achieved. This mode stores the variables and state of the sensor before entering standby (similar to soft standby). The power consumption is lower than that of soft standby, with EXTCLK enabled, as internal clocks are turned off, and the two-wire serial interface will be inac- tive. Because the high leakage hard standby mode (without the loss of variable data) is also activated by STANDBY, the en_vdd_dis_soft register needs to be programmed to indicate the selection of this mode before STANDBY is asserted. De-asserting STANDBY will cause the sensor to come out of the standby mode. This also causes the sensor to resume operation from the state before the STANDBY signal was asserted. By default, asserting the STANDBY signal causes the hard standby mode described above.
MT9D115 DS Rev. E Pub. 4/15 EN 48 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Power Modes Hard Standby Mode The MT9D115 can enter hard standby mode by using external STANDBY signal, as shown in Figure 32. EXTCLK can be stopped to reduce the power consumption during hard standby mode. Two-wire serial interface and IFP block shut down even when EXTCLK is running during hard standby mode. Entering Standby Mode 1. Assert STANDBY signal (HIGH). Exiting Standby Mode 1. De-assert STANDBY signal (LOW). 2. Follow “Hard Reset” on page 44. Figure 32: Hard Standby Mode Operation Note: In hard standby mode, EXTCLK is automatically gated off, and the two-wire serial interface is not active. Table 17: Hard Standby Signal Timing Symbol Parameter Min Typ Max Unit t1 Standby entry complete 1 Frame + 40 – – EXTCLKs t2 Active EXTCLK required after STANDBY asserted 10 – – EXTCLKs t3 Active EXTCLK required before STANDBY de-asserted 10 – – EXTCLKs t4 STANDBY time 1 Frame + 120 – – EXTCLKs t5 Active EXTCLK required before RESET_BAR asserted 10 – – EXTCLKs EXTCLK STANDBY STANDBY ASSERTED STANDBY MODE EXTCLK Disabled t2 t3 EXTCLK Enabled
MT9D115 DS Rev. E Pub. 4/15 EN 49 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Power Modes Soft Standby Mode The MT9D115 can enter soft standby mode by writing to a SYSCTL register through the two-wire serial interface, as shown in Figure 33. EXTCLK can be stopped to reduce the power consumption during soft standby mode. However, since two-wire serial interface requires EXTCLK to operate, ON Semiconductor recommends that EXTCLK run contin- uously. If EXTCLK needs to be stopped, ON Semiconductor recommends using hard- ware standby mode. Entering Standby Mode 1. SYSCTL 0x0018[3] must be set to “1” to ac tivate standby mode. This will generate an interrupt to the MCU when SYSCTL 0x0018[0] is set to “1.” 2. Set SYSCTL 0x0018[0] to “1” to initiate standby mode. 3. Check until SYSCTL 0x0018[14] changes to “1” to indicate MT9D115 is in standby mode. Exiting Standby Mode 1. Reset SYSCTL 0x0018[0] to “0.” 2. Check until SYSCTL 0x0018[14] changes to “0” to indicate the MT9D115 is out of standby mode. Figure 33: Soft Standby Mode Operation Table 18: Soft Standby Signal Timing Symbol Parameter Min Typ Max Unit t1 Standby entry complete (R0x18[14] = 1) 1 Frame + 40 – EXTCLKs t2 Active EXTCLK required after soft standby activates 10 – – EXTCLKs t3 Active EXTCLK required before soft standby de- activates 10 – – EXTCLKs t4 Minimum standby time 1 Frame + 120 – – EXTCLKs EXTCLK R0x0018[0] Mode t1 t2 Poll R0x0018[14] Standby Mode EXTCLK Disabled EXTCLK EnabledSet R0x0018[0] = 1 SDATA R0x0018[14] = 1
MT9D115 DS Rev. E Pub. 4/15 EN 50 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Power Modes Note: X = “Don’t Care.” Table 19: Status of Signals During Different States Signal Reset Post-Reset Software Standby Low Power Hard Standby Power Down DOUT[7:0] High-Z High-Z High-Z by default (configurable through OE_BAR or two-wire serial interface register) High-Z by default X PIXCLK High-Z High-Z High-Z by default (configurable) High-Z by default X LV High-Z High-Z High-Z by default (configurable) High-Z by default X FV High-Z High-Z High-Z by default (configurable) High-Z by default X DOUT_N 0 0 0 0 X DOUT_P 0 0 0 0 X CLK_N 0 0 0 0 X CLK_P 0 0 0 0 X GPIO[3:0] High-Z High-Z Depending on how the system uses them as DOUT_LSB1/DOUT_LSB0/FLASH/OE_BAR Depending on how the system uses them as DOUT_LSBs/FLASH/ OE_BAR X SADDR Input Input Input Input SDATA Input I/O Input Input SCLK Input Input Input Input
MT9D115 DS Rev. E Pub. 4/15 EN 51 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Other Features Other Features One-time Programmable Memory (OTPM) The MT9D115 contains two bytes of OTPM, suitable for storing module identification that can be programmed during the module manufacturing process. Programming the OTP memory requires the use of a high voltage at the V PP pin. During normal operation, the VPP pin should be left floating. The OTPM can be accessed through the two-wire serial interface. Programming the OTPM Refer to TN-09-189: Programming OTP Memory to program the OTP Memory. Sequence of Signals for OTPM Operation Reading the OTPM Reading the OTPM data requires the sensor to be fully powered and operational with its clock input applied. The data can be read through a register from the two-wire serial interface. RESET _BAR EXTCLK SCLK / SDATA VPP Power Supplies Information to be programmed to the register Initiate programming and poll status bit Read programmed values for status
MT9D115 DS Rev. E Pub. 4/15 EN 52 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Other Features GPIO and Output Enable Controls General Purpose I/Os The four GPIOs of the MT9D115 can be configured in multiple ways. Each of the I/Os can be used as a simple input/output that can be programmed from the host. The status of the GPIO is read at power up and can be used as a module ID to identify different module suppliers. In addition, module ID can be stored in the OTP memory of the sensor. Information on the OTP memory can be found in “One-time Programmable Memory (OTPM)” on page 51. If 10-bit RAW output is required, GPIO[1:0] can be configured as bit 1 and bit 0 (the LSBs) of a 10-bit data bus. GPIO[2] can be configured to output a flash pulse to trigger an external xenon or LED flash or a shutter pulse to control an external shutter. GPIO[3] can also be configured as an input to be used as an OE_BAR signal for the data bus. The general purpose inputs are enabled or disabled through register settings. Once enabled, all four inputs must be driven to valid logic levels by external signals. The state of the general purpose inputs can be read from a register. Output Enable Control When the parallel pixel data interface is enabled, its signals can be switched asynchro- nously between being driven and High-Z under signal or register control.
MT9D115 DS Rev. E Pub. 4/15 EN 53 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor GPIO Control GPIO Control The MT9D115 has four general purpose I/O (GPIO) signals and that can be individually programmed to perform various functions. Table 20 describes the GPIO registers and variables. Overview of GPIO Signals Extension of two lower data bits during 10-bit output mode External flash control output External OE_BAR control input for parallel port signals Table 20: GPIO Related Registers and Variables Map Address Bits Descriptions SYSCTL 0x001A [8] GPIO[3] Enable. GPIO[3] can be configured as an Output Enable pad. 0: GPIO[3] does not function as OE. 1: GPIO[3] functions as OE. SYSCTL 0x001E [6:4] Controls the output slew rate of GPIO signals. “111” programs the fastest slew rate. Refer to AC/DC specification in the data sheet for the numbers. Default value is “000” for slowest slew rate. SYSCTL 0x0024 [3:0] The state of GPIO si gnals during power on. Read-only. GPIO 0x1070 [12:9] GPIO data port. State of current GPIO signals can be read through this register. GPIO 0x1074 [12:9] GPIO Set command. When GPIO is configured as output, setting this register to “1” will write “1” to GPIO port. Use GPIO Clear command to clear. GPIO 0x1076 [12:9] GPIO Clear command. When GPIO is configured as output, setting this register to “1” will write “0” to GPIO port. Use GPIO Set command to set. GPIO 0x1078 [12:9] GPIO direction control for each GPIO signals. 0 = Output 1 = Input After power-on, GPIO ports are in input mode.
MT9D115 DS Rev. E Pub. 4/15 EN 54 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Electrical Specifications Electrical Specifications Absolute Maximum Rating Caution Table 21 shows stress ratings only, and functi onal operation of the device at these or any other conditions above those indicated in the product specification is not implied. Stresses above those listed may cause permanent damage to the device. Exposure to absolute maxi- mum rating conditions for extended periods may affect device reliability. I/O Parameters Note: V IH and VIL specifications apply to the over- and undershoot (ringing) present in the MCLK. Table 21: Maximum Rating Symbol Parameter Rating UnitMin Max VDD_MAX Core digital voltage –0.3 2.4 V VDD_IO_MAX I/O digital voltage –0.3 4.0 V VAA_MAX Analog voltage –0.3 4.0 V VAA_PIX_MAX Pixel supply voltage –0.3 4.0 V VDD_PLL_MAX PLL supply voltage –0.3 4.0 V VIH_MAX Input HIGH voltage –0.3 V DD_IO + 0.3 V VIL_MAX Input LOW voltage –0.3 – V T_OP Operating temperature (measured at junction) –30 75 °C T_ST Storage temperature –40 85 °C Table 22: I/O Parameters fEXTCLK = 6–54 MHz, VDD = VDDIO_TX = VDD_IO = 1.8V; VAA = VAA_PIX = VDD_PLL = 2.8V; Tj = 25°C Symbol Parameter Min Typ Max Unit Note VIH Input logic HIGH threshold V DD_IO – 0.3 – V DD_IO + 0.3 V VIL Input logic LOW threshold – 0.1 – 0.6 V V DD_IO = 2.8V – 0.1 – 0.3 V V DD_IO = 1.8V VOH Output logic HIGH threshold V DD_IO – 0.3 – – V At specified at I OH VOL Output logic LOW threshold – – 0.3 V – CIN Input pins - (SCLK, SDATA) capacitance –3 . 5 3 . 9 p F – CLOAD Output pins - (SDATA) load capacitance –– 3 0 p F – PUP_SDATA SDATA pull-up resistor – 1.5 – k –
MT9D115 DS Rev. E Pub. 4/15 EN 55 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Electrical Specifications MIPI Interface AC and DC Electrical Specifications Introduction The MIPI interface for the MT9D115 image sensor was designed to meet the MIPI Alli- ance Specification for D-PHY Version 1.0. Please refer to this document for details on the MIPI specification and usage. Electrical Specifications Table 23: MIPI High-Speed Transmitter DC Characteristics fEXTCLK = 48 MHz; VDD = VDD_TX = VDD_IO = 1.8V; VAA = VAA_PIX = VDD_PLL = 2.8V; Ambient temperature Parameter Description Min Nom Max Units VCMTX HS transmit static comm on mode voltage 150 200 250 mV |VCMTX (1,0)| V CMTX mismatch when output is Differential-1 or Differential-0 16 mV |VOD| HS transmit differential voltage 140 200 270 mV |VOD|V OD mismatch when output is Differential-1 or Differential-0 14 mV VOHHS HS output high voltage 360 mV ZOS Single-ended output impedance 39 50 64 Ohm ZOS Single-ended output impedance mismatch 10 % Table 24: MIPI High-Speed Transmitter AC Characteristics fEXTCLK = 48 MHz; VDD = VDD_TX = VDD_IO = 1.8V; VAA = VAA_PIX = VDD_PLL = 2.8V; Ambient temperature Parameter Description Min Nom Max Units tR and tF 20%-80% rise time and fall time 150 ps Table 25: MIPI Low-Power Tran smitter DC Characteristics fEXTCLK = 48 MHz; VDD = VDD_TX = VDD_IO = 1.8V; VAA = VAA_PIX = VDD_PLL = 2.8V; Ambient temperature Parameter Description Min Nom Max Units VOH Thevenin output high level 1.1 1.2 1.4 V VOL Thevenin output low level -50 50 mV ZOLP Output impedance of LP transmitter 110 Ohm Table 26: MIPI Low-Power Transmitter AC Characteristics fEXTCLK = 48 MHz; VDD = VDD_TX = VDD_IO = 1.8V; VAA = VAA_PIX = VDD_PLL = 2.8V; Ambient temperature Parameter Description Min Nom Max Units TRLP/TFLP 15%-85% rise time and fall time 25 ns TREOT 30%-85% rise time and fall time 35 ns V/tSR Slew rate @ C LOAD = 70pF 83 122 mV/ns CLOAD Load capacitance 0 70 pF
MT9D115 DS Rev. E Pub. 4/15 EN 56 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Electrical Specifications AC Electricals Figure 34: Output Interface Timing Waveforms Table 27: AC Electricals fEXTCLK = 6–54 MHz, VDD = VDDIO_TX = VDD_IO = 1.8V; VAA = VAA_PIX = VDD_PLL = 2.8V; Tj = 25° Symbol Parameter Conditions Min Typ Max Unit Note fEXTCLK External input clock frequency 6 - 54 MHz 2 tr External input clock rise time From10% to 90% of Vp-p - 2 5 ns 1 tf External input clock fall time From10% to 90% of Vp-p - 2 5 ns 1 DCEXTCLK External input clock duty cycle 40 50 60 % tJITTER External input clock jitter Peak-to-peak - - 500 ps tCP EXTCLK to PIXCLK propagation delay 5- 4 5 n s 3 fPIXCLK Pixel clock frequency 6 - 85 MHz tRPIXCLK Pixel clock rise time Cload = 15pF - 2 5 ns tFPIXCLK Pixel clock fall time Cload = 15pF - 2 5 ns tPD Pixel clock to data valid - - 0.6*PIXCLK ns tPFH Pixel clock to frame valid high - - 0.6*PIXCLK ns tPLH Pixel clock to frame valid low - - 0.6*PIXCLK ns tPFL Pixel clock to line valid high - - 0.6*PIXCLK ns tPLL Pixel clock to line valid low - - 0.6*PIXCLK ns PIXCLK pin slew rate Programmable slew = 7 V DD_IO = 2.8V, Cload = 45pF - 1.2 - V/ns VDD_IO = 1.8V, Cload = 45pF - 0.6 - V/ns Programmable slew = 4 V DD_IO = 2.8V, Cload = 45pF - 1 - V/ns VDD_IO = 1.8V, Cload = 45pF - 0.5 - V/ns Programmable slew = 0 V DD_IO = 2.8V, Cload = 45pF - 0.3 - V/ns VDD_IO = 1.8V, Cload = 45pF - 0.15 - V/ns
MT9D115 DS Rev. E Pub. 4/15 EN 57 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Electrical Specifications Notes: 1. Measured when the PLL is off. Specification not applicable when PLL is on, but input HIGH/LOW voltage should be within specification. 2. VIH and VIL specifications apply to the over - and undershoot (ringing) present in the MCLK. 3. Measurement done with PLL off. 4. Valid for Cload<20pF on PIXCLK, D OUT[9:0], LINE_VALID, and FRAME_VALID pads. Loads must be matched as closely as possible. 5. PLL is off and EXTCLK is 24MHz. Output pin slew rate Programmable slew = 7 V DD_IO = 2.8V, Cload = 45pF - 1.6 - V/ns VDD_IO = 1.8V, Cload = 45pF - 0.8 - V/ns Programmable slew = 4 V DD_IO = 2.8V, Cload = 45pF - 1.25 - V/ns VDD_IO = 1.8V, Cload = 45pF - 0.55 - V/ns Programmable slew = 0 V DD_IO = 2.8V, Cload = 45pF - 0.3 - V/ns VDD_IO = 1.8V, Cload = 45pF - 0.15 - V/ns Table 28: DC Electricals Setup Conditions: fEXTCLK = 6-54MHz, VDD = VDD_IO_TX = VDD_IO = 1.8V; VAA = VAA_PIX = VDD_PLL = 2.8V; Tj = 25°C, unless stated otherwise Symbol Parameter Condition Min Typ Max Unit Note s VDD Digital core supply voltage 1.7 1.8 1.95 V VDD_PLL PLL supply voltage 2.5 2.8 3.1 V VAA Analog supply voltage 2.5 2.8 3.1 V VAA_PIX Pixel supply voltage 2.5 2.8 3.1 V VDD_IO Digital IO supply voltage For V DD_IO = 1.8V 1.7 1.8 1.95 V For VDD_IO = 2.8V 2.5 2.8 3.1 V VDDIO_TX MIPI supply voltage 1.7 1.8 1.95 V VPP OTPM supply voltage - 8 - V IDD_IO Digital IO supply current Context A V DD_IO =1.8V - 10 - mA VDD_IO = 2.8V - 15 - mA Context B V DD_IO = 1.8V - 12 - mA VDD_IO = 2.8V - 20 - mA IDD_PLL PLL supply current PLL is OFF - N/A - mA PLL is ON - 13 18 mA 2 IDD Digital core supply current Operating in Parallel mode Context A - 15 30 mA IAA Analog supply current - 40 50 mA IAA_PIX Pixel supply current - 1.5 3 mA IDDIO_TX MIPI supply current - N/A - mA 3 IDD Digital core supply current Context B - 25 52 mA IAA Analog supply current - 40 52 mA IAA_PIX Pixel supply current - 0.8 3 mA IDDIO_TX MIPI supply current - N/A - mA 3 Table 27: AC Electricals fEXTCLK = 6–54 MHz, VDD = VDDIO_TX = VDD_IO = 1.8V; VAA = VAA_PIX = VDD_PLL = 2.8V; Tj = 25° Symbol Parameter Conditions Min Typ Max Unit Note
MT9D115 DS Rev. E Pub. 4/15 EN 58 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Electrical Specifications Notes: 1. V DD_IO current is dependent on the output data rate. 2. PLL is on with 85 MHz output frequency setting. 3. V DD_IO_TX current is only applicable in serial output mode. 4. PLL is on with 480 MHz VCO frequency settings. 5. Either with EXTCLK running or EXTCLK stopped an d EXCLK pin is either pulled up or pulled down. Measured at Tj = 70°C. 6. EXTCLK is stopped and EXCLK pin is either pulled up or pulled down. 7. EXTCLK running at 27 MHz. IDD Digital core supply current Operating in Serial mode Context A - 23 50 mA IAA Analog supply current - 40 50 mA IAA_PIX Pixel supply current - 1.5 3 mA IDDIO_TX MIPI supply current - 5 3 mA IDD Digital core supply current Context B - 35 70 mA IAA Analog supply current - 40 70 mA IAA_PIX Pixel supply current - 0.8 3 mA IDDIO_TX MIPI supply current - 8 10 mA IHardStandby Total Standby Current STANDBY pin asserted, R0x0028=1 - - 20 A5 IHardStandby STANDBY pin asserted, R0x0028=0 - - 90 A7 ISoftStandby R0x0018[0]=1 - - 90 A6 ISoftStandby R0x0018[0]=1, R0x0028=0 - - 2 mA 7 ISoftStandby R0x0018[0]=1, R0x0028=1 - - 3 mA 7 Table 28: DC Electricals (continued) Setup Conditions: fEXTCLK = 6-54MHz, VDD = VDD_IO_TX = VDD_IO = 1.8V; VAA = VAA_PIX = VDD_PLL = 2.8V; Tj = 25°C, unless stated otherwise Symbol Parameter Condition Min Typ Max Unit Note s
MT9D115 DS Rev. E Pub. 4/15 EN 59 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Appendix A- VDD_IO Current Addition Appendix A- VDD_IO Current Addition Introduction This appendix describes the system requirements to achieve lowest power consumption in the VDD_IO domain during low power hardware standby mode in ON Semicon- ductor's MT9D115 CMOS digital image sensor. VDD_IO Current VDD_IO current is used to measure the power consumption of the IO pad ring of our sensor. Therefore, it is extremely system-dependent and greatly affected by the external conditions as current can flow out of the chip through the IO ring and into the system. In this document, we outline requirements at the system level to achieve minimum power consumption during low power hardware standby mode. To achieve the lowest V DD_IO current, it is critical to match VDD_IO level in the sensor and the controller. Otherwise, there can be elevated current drawn on the VDD_IO due to mismatch in termination voltage level on the sensor pins. In ON Semiconductor system design, the IO voltage between the sensor and the controller is matched by using the same voltage regulator, as shown in Figure 35. This is recommended for both the system design and setup to measure the V DD_IO power consumption. Figure 35: Recommended System and Test Setup for Minimum VDD_IO Power Consumption SCLK SDATA ControllerM T9D113 RESET_ BAR, STANDBY SADDR, EXTCLK PIXCLK, FRAME _VALID , LINE _VALID , D OUT [7:0], G P IO[1:0] Dri ve H I G H H igh-Z H igh-Z Dri ve LOW Input VIO _Controller VDD_IO GNDGND 2. 2kΩ Voltage Regulator Vreg GND GPIO[3:2]
MT9D115 DS Rev. E Pub. 4/15 EN 60 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Appendix A- VDD_IO Current Addition IO Pin States In addition to matching VDD_IO levels between the controller chip and the sensor, the control signals to the input pins of the sensor must be at a specified level to achieve minimal VDD_IO current draw. Table 29 shows the pin states recommended to achieve minimum VDD_IO current during hardware standby mode. It is always a good practice to measure the pin voltage during hard standby and try to match the recommended pin state. Notes: 1. V IL specification for input signal applies. Refer to Table 20, “GPIO Related Registers and Variables,” on page 53. 2. V IH specification for input signal applies. Refer to Table 20, “GPIO Related Registers and Variables,” on page 53. 3. These pins are not directly connected to V DD_IO supply but through a voltage follower to the con- troller. 4. The pins on the controller connected to these sensor pins are input pins. 5. These pins are not directly connected to V DD_IO supply but through the controller. 6. These pins are not directly connected to GND but through the control signal on the controller. 7. These pins are floating in parallel mode operation. 8. Tie all the unused GPIO pins to D GND or VDD_IO level in the module. 9. If GPIO3 is connected to GPIO pin on the controller, program GPIO3 as an input before low power hard standby mode and drive GPIO3 externally from the controller to DGND level. Table 29: Status of Sign als During Standby State Signal State on Sensor Pin ON Semiconductor Test System Note DOUT[7:0] High-Z by default (configurable through OE_BAR or two- wire serial interface register) No control 4PIXCLK High-Z by default (configurable) LINE_VALID High-Z by default (configurable) FRAME_VALID High-Z by default (configurable) GPIO[3:0] Depending on how the system uses them as DOUT_LSB1/DOUT_LSB0/FLASH/OE_BAR Pulled to GND 8, 9 DOUT_N 0 Float 7 DOUT_P 0 CLK_N 0 CLK_P 0 SADDR Input Pulled to GND 1, 6 EXTCLK Input SDATA Input High Z 3 SCLK Input RESET_BAR Input Pulled to V DD_IO Level 2, 5 STANDBY Input
MT9D115 DS Rev. E Pub. 4/15 EN 61 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Appendix A- VDD_IO Current Addition RESET_BAR with Internal Pull-UP The RESET_BAR pin has an internal pull-up device to VDD_IO (see Figure 36). Figure 36: RESET_BAR Pad Architecture Since RPULLUP is active devices connected in triode state, the value of RPULLUP is depen- dent on the difference between VDD_IO and Vpad Level (see Table 30). Note: The above data is for engineering purposes only. These represent typical values that can be expected. Table 30: Typical Mismatch Current in V DD_IO Due to Mismatch in RESET_BAR level and VDD_IO Level Conditions: VDD = VDD_IO_TX = 1.8V; VAA = VAA_PIX=VDD_PLL=2.8V; Tj=30°C, EXTCLK is off and tied to GND level. All other pin states and levels are set according to ON Semiconductor E2E on pin states. VDD_IO Vpad Min Typ Max Unit 1.80 1.70 14 18 22 1.80 2 5 10 1.95 –13 –17 –21 2.80 2.50 61 67 72 2.80 2 7 12 3.10 –54 –60 –66
MT9D115 DS Rev. E Pub. 4/15 EN 63 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Appendix A- VDD_IO Current Addition Figure 38: Recommended System and Test Setup for Minimum V DD_IO Power Consumption in the MT9D115 Sharing with Multiple Two-wire Serial Interface Devices at Different IO Levels For a system which uses separate voltage regulators for MT9D115 sensor and the controller chip as shown in Figure 39, it is important to match the voltage levels between two regulators as close as possible. If the voltage levels are not matched, there can be additional current consumption in the V DD_IO domain connected to the sensor. This additional current is generated in the internal pull up resistor present in RESET_BAR pad and external resistors used for two-wire serial interface. The current leakage from the voltage level mismatch in RESET_BAR pad can be charac- terized as follows: IDD_IOmismatch = (Vreg2 - Vreg1)/ RpullupRESET_BAR@VDD_IO The internal pull up resistance is dependent on the VDD_IO level. Typical levels of mismatch current at different VDD_IO levels can be found in Table 30 on page 61. SCLK SDATA C ontrollerMT 9D113 R ESET_BAR, STANDBY SADDR,E X T C L K PIXCLK, FRAME _VALID ,LINE_VALID , D OUT [7:0], G P IO [1:0] Drive HIGH X X Drive LOW Input VIO_ControllerVDD _IO GNDGND Voltage R egulator Vreg1 GND Other slave devices Voltage F ollow er Voltage R egulator Vreg2 GPIO[3:2]
MT9D115 DS Rev. E Pub. 4/15 EN 64 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Appendix A- VDD_IO Current Addition Figure 39: System Setup with Independent Voltage Sources for MT9D115 and Controller Chip SCLK SDATA C ontrollerDUT R ESET_BAR, STANDBY SADDR,E X T C L K PIXCLK, FRAME _VALID , LIN E_VALID D OUT[7:0], GPIO[1:0] Drive HIGH Hi gh- Z Hi gh- Z Drive LOW Input VIO_ControllerVDD _IO 2.2k Ω Voltage R egulator Vreg1 Voltage Regulator Vreg 2 GPIO[3:2] GND GND GND GND
MT9D115 DS Rev. E Pub. 4/15 EN 65 ©Semiconductor Components Industries, LLC,2015. MT9D115: 1/5-Inch SOC Digital Image Sensor Appendix A- VDD_IO Current Addition Test Sequence for Measuring VDD_IO Current at Hard Standby Mode Follow the procedure defined within the sensor data sheet. The following test sequence takes the MT9D115 as a reference. Contact your local ON Semiconductor Applications Engineer for any specific product. To measure VDD_IO current at hard standby mode: 1. Supply PWRDN (also known as STANDBY) pin (J11 pin2) with 0 volt externally. 2. Supply the RESET_BAR pin (U22 pin4) with V DD_IO volt externally. 3. Connect an ammeter between I DD_IO (J9) and DGND. 4. Use jumpers J5, J17, and J20 to make sure GPIO pins are connected to either GND or VDD_IO. At this point, the part is in operating mode and it is possible to load an .INI file to get an image with DevWare. 5. Supply the PWRDN pin with V DD_IO volt externally and wait for one frame + 50 clock. At this stage, the part is in hard standby. 6. By removing J1, the EXTCLK is disconnect ed to the part and then connect EXTCLK pin (J1 pin2) to either D GND or VDD_IO. 7. Now the part is in hard standby with EXTCLK off. The user can read off the V DD_IO current from the ammeter at step 3 above. Figure 40: Modifications to the Demo2 Sensor Head Board for V DD_IO Current Measurement | © 2009 Aptina Imaging Corporation | Aptina Confidential 2 Modifications ©2008 Micron J9 jumper removed to monitor IDDIO by connecting Ammeter on Pins 1 and 2 To control the Reset pin externally, U22 was removed and a 10KOhm resistor connected to Pin 4, which is connected to a 2.8V external source J11 jumper removed to control the STANDBY or PWDN pin externally. A 10K resistor is connected for pull- up on this pin. in 2 in operating= 0V, Hard Standby= 2.8V using external voltage source. J1 jumper for CLOCK Conclusion It is important from the system perspective to ensure IO levels between MT9D115 and the controller chip at the same potential level to achieve minimum IO power consump- tion in MT9D115. A system configuration to achieve this is proposed in this document. In addition, suggestions on how to approach system designs with multiple two-wire serial interface devices and multiple IO level devices are provided.
ON Semiconductor and the ON logo are registered trademarks of Semiconductor Components Industries, LLC (SCILLC) or its subsidiaries in the United States and/or other countries. SCILLC owns the rights to a number of patents, trademarks, copyrights, trade secrets, and other intellectual property. A listing of SCILLC’s pr oduct/patent coverage may be accessed at www.onsemi.com/site/pdf/ Patent-Marking.pdf. SCILLC reserves the right to make changes without further notice to any products herein. SCILLC makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does SCILLC assume any liability arising out of the application or use of any product or circuit, and specifically disclaim s any and all liability, including without limitation special, consequential or incidental damages. “Typical” parameters which may be provided in SCILLC data shee ts and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. SCILLC does not convey any license under its patent rights nor the rights of others. SC ILLC products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in whic h the failure of the SCILLC prod uct could create a situation where personal injury or death may occur. Should Buyer purchase or use SCILLC products for any such uninte nded or unauthorized application, Buyer shall indemnify and hol d SCILLC and its officers, employ ees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly o r indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that SCILLC was negligent regarding the design or manufacture of the part. SCILLC is an Equal Opportunity/Affirmative Action Employer. This literature is subject to all applicable copyright laws and is not for resale in any manner. MT9D115: 1/5-Inch SOC Digital Image Sensor
Revision History
MT9D115 DS Rev. E Pub. 4/15 EN 66 ©Semiconductor Components Industries, LLC,2015 . Updated “Ordering Information” on page 2 Converted to ON Semiconductor template Removed confidential marking Updated notes for Table 3, “Signal Description and Direction,” on page 9 Updated Figure 6: “Two-Wire Serial Control Bus Timing,” on page 13 Updated “Parallel and MIPI Output” on page 32 Added Figure 31: “Recommended Power Down Sequence,” on page 46 Added Table 16, “Power Down Signal Timing,” on page 46 Updated Table 22, “I/O Parameters,” on page 54 Updated Table 25, “MIPI Low-Power Tran smitter DC Characteristics,” on page 55 Updated Table 28, “DC Electricals,” on page 57 Updated to Production Updated “Features” on page 1 Updated Table 1, “Key Performance Parameters,” on page 1 Updated Table 2, “ Available Part Numbers,” on page 2 Deleted “Overview” Added “Functional Description” on page 6 Added “ Architecture Overview” on page 6 Updated Figure 11: “Six Rows in Normal and Row Mirror Readout Modes,” on page 19 I n i t i a l r e l e a s e .