ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 ICM515NB Color CMOS Image Sensor With 574x483 Pixel NTSC Composite Video Output Data Sheet V1.0 November 2002 IC Media Corporation IC Media Technology Corporation 545 East Brokaw Road San Jose, CA 95112, U.S.A. Phone: (408) 451-8838 Fax: (408) 451-8839 Email: [email protected] Web Site: www.ic-media.com 6F, No. 61, ChowTze Street., NeiHu District Taipei, Taiwan, R.O.C. Phone: 886-2-2657-7898 Fax: 886-2-2657-8751 Email: [email protected] Web Site: www.ic-media.com.tw Important notice: This document contains information of a new product. IC Media Corp reserves the right to make any changes without further notice to any product herein to improve design, function or quality and reliability. No responsibility is assumed by IC Media Corp for its use, nor for any infringements of patents of third parties which may result from its use. ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 1 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 Features • • • • • • • • • • • • • • • • • • • • 277,242 (574x483) pixels, used with 1/4” optical system Output: NTSC-M, NTSC-J composite video Input interface: SIF Automatic exposure control Electronic exposure control On-chip 9-bit ADC Correlated double sampling On-chip digital signal processing Real-time color interpolation Automatic white balancing and color correction Programmable hue and contrast saturation Programmable luma and chroma Programmable gamma correction Automatic optical black compensation Horizontal & vertical images Low lux indicator pin(optional package) Scrambling control pin(optional package) Single 3.3 V power supply Low power consumption Capable of digital CVBS signal output General Description ICM-515NB is a single-chip digital color video imaging device. It incorporates a 574x483 sensor array (584x493 in physical layout) operating at 30 frames per second (60 fields/sec) in interlaced manner. Correlated double sampling is performed by the internal ADC and timing circuitry. Depending on the brightness of the scene, the raw data can be adjusted by an automatic (or manual) exposure control (AE). The raw data are further processed by a color interpolation module so that each pixel gets a complete set of RGB values. To correct or enhance color, white balancing and color correction are also performed automatically on chip. At the next stage, the gamma correction can also be performed. After these digital processing steps, the signal is fed to an embedded NTSC encoder that generates composite video output to be sent to a TV for display. Application • • • • Digital camcorder Security system Visual toy Environment monitor system Key Parameters • • • • • • Number of Active Pixels: 574x483 Number of Physical Pixels: 584x493 Frame Rate: 30 fps (60 fields/sec) Pixel Size: 6 µm x 5.5 µm Sensor Area: 3.5 mm x 2.7 mm (~ 4:3) Main Clock Frequency: 21.47727MHz (6x of 3.579545MHz) ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 2 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 • • • • • • • • • • • • Exposure Time: 63.5 µs (@ 60 fps, 1 line), (33.27 ms for 524 lines) Sensitivity: 1.0 V/lux-sec (555 nm) Quantum Efficiency: 38% (555 nm) Dynamic Range: 57 dB (analog), 54 dB (digital) Digital Gain: 1/32 ~ 8X for all pixels adjust step: 0.032X Fill Factor: 28% RGB Gain: 11 bits format 3.8(default), 1/256 to 8 for individual color pattern pixels, AWB can adjust in 0.016X step S/N Ratio: 40 dB @ 75% full signal level Sensitive to infrared illumination source Power Supply: 3.3 V Power Requirement: 60 mA Package: Small Plastic LCC48 ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 3 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 1. Pin Assignment (Preliminary, subject to change) Pin # 13 14 35 33 34 1 48 17 9 10 3 2 7 Name XIN XOUT PCLK (LLLED)* SIF ID (SLWTSEL)* MSSEL (ENCRYPT)* SCL SDA RSET RSETD RSTN VSYNC HSYNC CPOUT(CVB S) POWERDN AFSEL DOUT[9:0] Class* A, I A, O D, O D, I, N D, I, U (D,I,N) D, I/O D, I/O A, I A, I D, I, U D, I/O D, I/O A, O Function Crystal input / external clock input Crystal output Pixel clock output; (Low-lux Indicator, 1: low-lux, 0: normal) Lsb of SIF slave address (0: 0x20 , 1: 0x21) (Wavetable selection with short(0) or long IRST(1)) SIF master/slave selection. 0: slave, 1: master (Scrambling mode; 0: normal(default), 1: scrambled) SIF clock SIF data Resistor to ground = 30 KΩ Resistor to ground = 560 Ω for CVBS output adjust Chip reset, active low Vertical sync signal Output or Input Horizontal sync signal Output Or Input NTSC composite video output 15 D, I, U Power down control, 0: power down, 1: active 18 D, I, N Anti-flickering selection; 0: 60Hz(default), 1: 50Hz 47, 46,45, 44, 43, D, I/O Digital input & output for analysis purpose only 40, 39, 38, 37, 36 16 RAMP A, O Analog ramp output 11, 32 VDDA P Sensor analog power 12, 31 GNDA P Sensor analog ground 30 VDDD P Sensor digital power 19 GNDD P Sensor digital ground 6 VDDC P DAC analog power 8 GNDC P DAC analog ground 4, 41 VDDK P Digital power 5, 42 GNDK P Digital ground Class Code: A – Analog signal; D – Digital signal; I – Input; O – Output; P – Power or ground; U – Internal pull-up; N – Internal pull-down * Option thru different bonding at packaging ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 4 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 2. Functional Description ICM-515NB is a single-chip digital color imaging device. It includes a 574x483 sensor array, 574 column-level ADC, correlated double sampling circuitry, an automatic exposure control module, a color interpolation module, programmable white balancing, a color correction module and a programmable gamma correction module. All the programmable parameters are set by writing into the SIF interface which can address the register file consisting of 8-bit registers. The output format is NTSC composite video, which includes horizontal and vertical sync signals. NTSC Encoder SIF Interface Timing Control Sensor Array 574x483 Gamma Correction Column-Level ADC Format Conversion Correlated Double Sampling Color Processing; AE & AWB Sensor Control Module Color Interpolation Figure 1. Block diagram 2.1 Image Array The image array consists of 574x483 pixels. Each pixel has a light sensitive photo diode and a set of control and transfer transistors. At the beginning of the cycle, a row of pixels is pre-charged to its maximum value. Then the row is exposed to light for several lines worth of time and sampled by the ADC. A “Correlated Double Sampling (CDS)” process is performed with subtracting the reset value (sampled right before sampling the signal) from the signal value. The purpose of CDS is to eliminate the point-wise fixed pattern noise (FPN). The output of CDS is approximately proportional to the amount of received light, ranging from 0 to 512. ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 5 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 2.2 Color Filters and Image Signal Processing Each pixel is covered by a color (R, G, or B) filter. Since each pixel only gets part of the spectral band, the data need further processing (i.e., color interpolation and color correction) in order to produce the full visible spectrum for best image quality. ICM-515NB incorporates the following digital signal processing functions. An automatic exposure (AE) time control to accommodate for different brightness, the AE feature will adjust the exposure time thru various gain control mechanisms to achieve the appropriate brightness. An anti-flickering control circuit to eliminate flickering caused by a 50Hz or 60Hz light source normally found indoors. A color interpolation and Automatic White Balance (AWB) module to perform color interpolation and gain on each color pixel to obtain a set of correlated RGB value for each pixel. The result of this operation is a data stream consisting of 24-bit RGB per pixel with balanced color components. A color control module to adjust color contrast, hue, and saturation. To boost darker signal to match the video monitor characteristic, gamma correction are performed: Vo = Vi1 / γ where Vi is normalized (ranged from 0 to 1) R, G, or B signal coming from the white balancing module, and Vo is normalized final output. The parameter γ is programmable with default value of 2.2. 2.3 Output Format The output format of ICM-515NB is analog composite video output suitable for TV display. This output is tied through a parallel 75 Ω ohms resistor to ground, and to a pi-network of one 1.7 µH inductor and two 560 pF capacitors, before connecting to a 75 Ω cable. ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 6 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 3. SIF Registers Address 0x00 Name PART_CONTROL Default 0x4a 0x01 0x02 TIMING_CONTROL_LOW TIMING_CONTROL_HIGH 0x4041 Description Processing control [0] Reserved [1] (One shot) Auto-slope, 1:enable, 0: disable; [2] Exposure time control, writing a 1 will activate the new value set in AD_EXPOSE_TIME, when read back from it, 0 means the exposure time change is finished. 1 means either the exposure time change is still in progress [3] dead pixel filter 1:enable 0:disable. [4] Scrambling mode control, 0: normal, 1:enable [5]Reserved [6] Reserved [7] Latent change, writing a 1 means the changed latent registers now starts taking effect, when the entire operation is done, the read back value of this bit will change from 1 to 0. Timing control [0] Column count enable, set to 0 when filling wave table, set to 1 when normal operation. [1] HSYNC polarity, 0: active low, 1: active high. [2] VSYNC polarity, 0: active low, 1: active high. [7][3] Auto dark correction control: 00: disable auto dark, 01:when AE update,Auto dark function 10,11: enable auto dark [4] Wavetable select, 0: wavetable timing (default, register setting, short IRST), 1: Fixed setting timing(long IRST) [5] ET_fast enable, 1: expose time update at once 0:expose time update with a step and time control [6] DOUT input or output select, to decide output data or load data form outside 0: input 1: output [8] IRST select, 0: from wave table, 1: from IRST_NUMBER register [10][9] RGBG Pattern starting point RG1BG2 pattern: 00: RG1BG2 01:G1BG2R 10:BG2RG1 11:G2RG1B G2BG1R pattern: 00: G2BG1R 01: BG1RG2 10:G1RG2B 11:RG2BG1 [11] vsync for Field or Frame, 1:field 0:frame ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 7 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 0x03 AD_FIELD1_BEGINL* 0x04 0x04 AD_FIELD_BEGINH* 0x04 0x05 AD_FIELD2_BEGINL* 0x0A 0x07 0x09 0x0A 0x0B TABLE_LEN IRST_NUMBER_LOW IRST_NUMBER_HIGH AD_ROW2_BEGINL* 0x10 0 0x19 0x0C 0x0D 0x0E 0x0F 0x10 0x11 AD_WIDTHL* AD_WIDTHH* AD_HEIGHTL* AD_HEIGHTH* AD_COL_BEGINL* AD_COL_BEGINH* 0x0555 (1365) 0x020D (525) 0x0094 (148) 0x12 0x13 0x14 AD_SCOL_ENDL* AD_SCOL_ENDH* AD_ROW1_BEGINL* 0x0247 (583) 0x12 0x15 AD_ROW_BEGINH* 0x14 0x16 0x17 AD_STOP_ROWL AD_ROW_DELTA* 0xEA 0x04 0x18 0x19 0x1A 0x1B 0x1C 0x1D 0x20 0x21 AD_HSYNC_ENDL AD_HSYNC_ENDH AD_VSYNC_ENDL AD_VSYNC_ENDH AD_EXPOSE_TIMEL AD_EXPOSE_TIMEH AD_M1_L* AD_M1_H 0x0040 (64) 0x0003 (3) 0x020C (524) 0x140 (320) [12] Out-of-array exposure pointer control 0: point to stop row (default 490, see Reg. 0x16). 1: point to row 493 (a non-existent row) [13] Column stop, when exceeding real array column: 0: point to column 584 (a non-existent column) 1: sensor column keeps counting every row [14] hsync,vsync input or output select, to decide hsync and vsync in master mode or slave mode 1:output, 0:input, [15] RG1BG2 or G2BG1R pattern select 0:RG1BG2 pattern 1:G2BG1R pattern [7:0] field1[7:0] Beginning of Field 0 in terms of line counter [1:0] field1[9:8] [3:2] field2[9:8] [7:4]Reserved [7:0] field2[7:0] Beginning of Field 1 in terms of line counter [4:0] Wave table length [9:0] IRST duration in terms of multiples of 1024 clock cycles (167 ns each) [7:0] Beginning of sensor row for field2 in terms of line position, row_begin2[7:0] [10:0] Frame width [9:0] Frame height [10:0] Beginning of active line in terms of column position [11] Left-right Mirror image enable [12] Up-Down Mirror image enable [9:0] End of sensor array in terms of column position, count by pclk [7:0] Row begin1 [7:0], Beginning of sensor row for field1, in terms of line position, [1:0] row_begin1[9:8] [3:2] row_begin2[9:8] [5:4] stop_row_high[9:8] [7:0] stop_row[7:0], stop row low bits [4:0] the max Expose time change step when ET_fast=0 [10:0] End of horizontal sync in terms of col_ cnt,count by clk [9:0] End of vertical sync in terms of line position [9:0] Exposure time in terms of number of lines [10:0] Gain coefficient (R) , in unsigned 3.8(default) format ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 8 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 0x22 0x23 0x24 0x25 0x26 0x27 AD_M2_L* AD_M2_H AD_M3_L* AD_M3_H AD_M4_L* AD_M4_H 0x140 (320) 0x240 (576) 0x140 (320) [10:0] Gain coefficient (G1) , in unsigned 3.8 (default) format [10:0] Gain coefficient.(B) , in unsigned 3.8 (default) format [10:0] Gain coefficient.(G2) , in unsigned 3.8 (default) format Contrast, Hue, Brightness, Gamma, Saturation parameters 0x28 AD_CONTRAST* 0x03 0x29 AD_SIN* 0x00 0x2A AD_COS* 0x7F 0x2B AD_BRIGHT_OFFSET* 0x00 0x2C AD_GAMMA* 0x2a 0x2D AD_SATURATION* 0x40 [2:0] Adjust Y Contrast, 0: 0.25 1: 0.5 2: 0.75 3: 1 4: 1.25 5: 1.5 6: 1.75 7: 2 [6:0] SIN value(abs), 0.7 format [7] sign bit, 1:negative, 0:positive [6:0] COS value(abs), 0.7 format [7] sign bit, 1:negative, 0:positive [7:0] Y = Y + Bright_offset [6:0] Bright_offset value(abs), [7] sign bit, 1:negative, 0:positive [1:0] R Gamma Correction [3:2] G Gamma Correction [5:4] B Gamma Correction 0: modified 2.2 1: 1.9 2: NTSC 2.2 (default) [6:0] Saturation Factor, (U,V) = (U,V) * Saturation Factor, 2.5 format,x2 for default DSP Test, Edge sharpening, digital gain, white balance parameters 0x2E AD_DSP_TEST 0xaa 0x2F AD_DSP_CTRL 0x00 0x30 AD_SP_CTRL* 0x09 [7:0] DSP input Test Register, [9:8] in AD_CNTRL_W3 [2:0] DSP input source selection 0,7: 9bit RAW data, default 1: control signal, 9bitX2 2: row address, 9bitX2 3: column address, 10bit 4: Test Register, 10bit 5: Data from DOUT, 10bit 6: line count 10bit [4:3] DSP output selection 0:Y,Cb,Cr after AWB correction 1: Y,Cb,Cr after sharpen and Hue,saturation adjust 2: Y,Cb,Cr after sharpen,Gamma,and Hue,saturation adjust 3: Y,Cb,Cr after Sharpen ,Gamma , offset , Hue,saturation adjust [4] 1: average interpolation, 0: adjacent interpolation [3] 1: sharpness enable, 0: sharpness disable [2:0] sharpness high tone weight, 0: 0.5 1: 1 (default) 2: 1.5 3: 2 ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 9 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 0x31 AD_SP_Hith 0x33 AD_AWB_CTRL* 0x0A (10) 0xC7 0x1E 0x1F AD_AWB_GAIN_CTRL AD_AWB_WF_CTRL 0xF8 0xB0 0x34 AD_AWB_OVERFLOW* 0x35 AD_AWB_BRIGHTTH* 0xFE (254) 0x00 0x36 AD_DG_GAIN* 0x20 0x37 0x38 0x39 AD_WB_RED* AD_WB_GREEN* AD_WB_BLUE* 0x70 0x80 0x90 4: 2.5 5: 3 6: 3.5 7: 4 [7:0] sharpness high tone threshold [0] 0:disable AWB 1:enable AWB [1] 0: G, R, B has range limit, R>G/2 & G>R/2 & B>G/2 & G>B/2 1: Gray Wall method [2] Image changing low pass filter, 0:disable 1:enabl [3] low pass adjust step, 0: 1/8, 1:1/4 [6] 0: Disable AWB either at low lux or AE is changing; 1: AWB is always ON. [7] AWB sampling area selection 0:Center 1:whole Frame Min value: [3:0]x1/8; Max value: [7:4]x1/4 [4:0] AWB sampling frequency in terms of frame period: [4:0]x2; [7:5] White pixel limit: 2^([7:5]+4) [7:0] AWB overflow limit, if "R,G,B" of pixel > (overflowx2+1), this pixel will not be satisfied. [7:0] AWB Bright limit, if "G"/2 of pixel > Bright limit, this pixel will be satisfied. [7:0] digital gain, 3.5 format When AE on, read back AE`s Digital Gain [7:0] white balance red gain, 2.6 format [7:0] white balance green gain, 2.6 format [7:0] white balance blue gain, 2.6 format Auto exposure control parameters 0x3A AD_AE_CTRL* 0xF7 0x3B AD_AETARGET 0x3C 0x3D 0x3E AD_AETOLE AD_BLL AD_BLH 0x38 (56) 0x08 0xC0 0x40 AD_AEGAIN_CTRL 0x78 0x43 AD_AESTEP 0xBF [0] 0:disable AE, 1:enable AE [1] 0:disable Digital Gain compensation, 1:enable Digital Gain compensation [2] 0:disable Anti-Flicker, 1:enable Anti-Flicker [3] ET_fast control, 0:ET search start from former ET, 1:ET search start from 524 [7:4] x2: The image change frame number tolerance [7:0] AE Y target, Y=(2R/8+5G/8+B/8)*1/2 [7:0] AE Y change tolerance [10:0] bright pixel number limit,10% of sampling pixel number:2040 ,if the bright pixel number > limit, this frame is over exposed, AE target is reduced automatically by 10 Digital gain limit [3:0] x1/8: min digital gain limit [7:4] x1/2 max digital gain limit AE adjust step ratio to expected step [2:0]: 1/2^[2:0]: the ratio for ET increase step; min step is (1/32) [5:3:] 1/2^[5:3]: the ratio for ET decrease step; min step is (1/32) ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 10 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 0x44 AD_AFSTEP 0x83 0x45 AD_YBRIGHT 0x68 (104) [7:6]: 1/2^([7:6]+2): the ratio for Digtal gain adjusting step [7:0] Anti Flicker Exposure time adjust step under 30 fps, 131(60Hz), 158(50Hz) [7:0] Bright Limit, if "Y" > Birght Limit, the pixel is bright pixel AE and AWB status parameters for controller debugging purpose(read only) 0x46 0x47 0x48 0x49 0x4A 0x4B 0x4C 0x4D 0x4E 0x4F [7:0] Y average value for center of a frame 7:0] Y average value for a whole frame [10:0] Number of too bright pixel AD_YCAverage® AD_Yaverage® AD_NTBPL® AD_NTBPH AD_AWBR® AD_AWBG® AD_AWBB® AD_AWBpixelL® AD_AWBpixelH AD_AWBRGBH® [7:0] R average value for a frame [7:0] G average value for a frame [7:0] B average value for a frame [10:0] The number of pixel which is valid AWB criteria R,G,B average MSB [0] Raverage[8] [1]Gaverage[8] [2]Baverage[8] Output format, CDS and dead pixel control parameters 0x52 AD_INOUTSEL** 0x0b [7] Reserved [6] choose the DAC source 0: CVBS(TV) 1:DSP input source according to AD_DSP_CTRL [5] swap Cb,Cr sequence when output YCbCr [4:0] Normal output select [4] 0:ouput DSP 1: output NTSC [4:0]: 5'h0: 3.8 format rawdata after auto dark 5'h1: 4.7 format rawdata after auto dark 5'h2: 5.6 format rawdata after auto dark 5'h3: 6.5 format rawdata after auto dark 5'h4: rawdata after deadpixel remove and sign process 5'h5: R channel data after interpolation 5'h6: G channel data after interpolation 5'h7: B channel data after interpolation 5'h8: control siganl adc_vector[8:0] 5'h9: sensor row[8:0] 5'ha: sensor column[9:0] 5'hb: DSP input source according to AD_DSP_CTRL 5'hc: Reserved 5'hd: Y channel output according to AD_DSP_CTRL output 5'he: YCbYCr or YCrYCb output according to [5] 5'hf: CbYCrY or CrYCbY output according to [5] 5'h10: digital CVBS output 5'h11: digital Chrominance(C) output 5'h12: digital luminance(Y) output ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 11 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 5'h13: digital Y signal after lpf with Sync,black,blank signal 5'h14: digital Cb signal after lpf with Burst,blank signal 5'h15: digital Cr signal after lpf with Blank signal 5'h16: digital Chrominance(C) output without adjustment [7] External bandgap reference voltage enable [9:0] Reset (DA1) overflow value 0x53 0x54 0x55 0x56 0x57 0x5C AD_BGREFSEL AD_DSRSTL AD_DSRSTH AD_DSDATAL AD_DSDATAH AD_RSTSEL 0 0x0000 0x68 0x69 0x6A AD_DEADC0L AD_DEADC0H AD_DEADR0L 0xFF0FFF 0x6C 0X6D 0x6E AD_DEADC1L AD_DEADC1H AD_DEADR1L 0xFF0FFF 0x70 0x71 0x72 AD_DEADC2L AD_DEADC2H AD_DEADR2L 0xFF0FFF 0x74 0x75 0x76 AD_DEADC3L AD_DEADC3H AD_DEADR3L 0xFF0FFF 0x78 0x79 0x7A AD_DEADC4L AD_DEADC4H AD_DEADR4L 0xFF0FFF 0x7C 0x7D 0x7E AD_DEADC5L AD_DEADC5H AD_DEADR5L 0xFF0FFF 0x03FF (1023) 0x40 [9:0] Data (DA2) overflow value [7:6] RSTL voltage select 0: 0.7V 1:0.9V 2: 1.1V [7:0] Dead Pixel #0 Column Adress[7:0] [1:0]: Column Adress[9:8],[3:2]:Row Adress[9:8] [7:0] Dead Pixel #0 Row Adress[7:0] [7:0] Dead Pixel #1 Column Adress[7:0] [1:0]: Column Adress[9:8],[3:2]:Row Adress[9:8] [7:0] Dead Pixel #1 Row Adress[7:0] [7:0] Dead Pixel #2 Column Adress[7:0] [1:0]: Column Adress[9:8],[3:2]:Row Adress[9:8] [7:0] Dead Pixel #2 Row Adress[7:0] [7:0] Dead Pixel #3 Column Adress[7:0] [1:0]: Column Adress[9:8],[3:2]:Row Adress[9:8] [7:0] Dead Pixel #3 Row Adress[7:0] [7:0] Dead Pixel #4 Column Adress[7:0] [1:0]: Column Adress[9:8],[3:2]:Row Adress[9:8] [7:0] Dead Pixel #4 Row Adress[7:0] [7:0] Dead Pixel #5 Column Adress[7:0] [1:0]: Column Adress[9:8],[3:2]:Row Adress[9:8] [7:0] Dead Pixel #5 Row Adress[7:0] Chip ID and NTSC encoder parameters 0x80 0x81 AD_LADJL AD_CADJL 0x70 0x80 0x82 0x83 0x85 0x86 0x87 AD_IDL AD_IDH AD_HSYLEVEL AD_BURLEVEL AD_BLACKLEVEL 0xD152 0x88 AD_BLANKLEVEL 0x08 0x70(112) 0x78 (120) 0x78 (120) Luma (Y) adjust, format 1.7 Chrominace(C) adjust, format 1.7 NTSC-M:8'h80 NTSC-J:8'h8a [3:0] Sub ID ,[15:4] Device ID, default 0xD15, can be configured using SIF HSYNC Level [7:0]x2 Burst Level [7:0] Black level: [7:0]*2 Blank level: [7:0]*2 ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 12 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 0x89 AD_CNTRL_W3 0x20 DAC control [0] Look-ahead 1:enble [1] DAC power down 1:power down [2] SVB of DAC [3] TSTA of DAC [5:4] MSB[9:8] for DSP input Test Register Wound pixel filter, autodark, dark offset parameters 0x8A AD_Limit_H 0x6A 0x8B 0x8C 0x8D 0x84 0x7F 0x8E 0x8F 0x90 AD_HighLimit_L AD_LowLimit_L AD_LowHighLimit_L AD_DARK1_OFFSET AD_DARK2_OFFSET AD_DARK3_OFFSET AD_DARK4_OFFSET AD_DARK_DATA 0x90 0x00 0x06 0x00 0x00 0x00 0x00 0 [7:4]: turn-on threshold for low lux wound pixel removal: ([7:4]+1)x1/4 [3] 1: enable wound pixel removal [2] lowluxlimit[8] [1] highlimit[8], [0]:lowlimit[8] highlimit[7:0] lowlimit[7:0] High limit for Lowluxlimit[7:0] R dark offset [7] sign bit in 2’s complement G1 dark offset [7] sign bit in 2’s complement B dark offset [7] sign bit in 2’s complement G2 dark offset [7] sign bit in 2’s complement [7:0]x2: When auto dark correction is disabled, serve as the subtrahend for dark correction Sensor array control parameters 0x91 AD_SLOPEREG 0x87 0x92 AD_TXRSTSEL 0x22 0x93 AD_SUBPH_PULSE 0x10 (16) 0x94 AD_BITCONTROL 0x00 [3:0] Slope rate select, larger value means steeper ramp slope, resulting in smaller value [7:4] Slope begin voltage select 0: 1.0 V 1: 1.1 V 2: 1.2 V 3: 1.3 V 4: 1.4 V 5: 1.5 V 6: 1.6 V 7: 1.7 V 8: 1.8 V(default) 9: 1.9 V a: 2.0 V b: 2.1 V c: 2.2 V [3:0] TXH voltage select 0: 1.4 V 1: 1.5 V 2: 1.7 V (default) 3: 1.9 V 4: 2.0 V 5: 2.1 V 6: 2.2 V 7: 2.3 V 8: Vdd 9: Vdda-0.1V a: Vdda-0.2V b: Vdda-0.3V c: Vdda [6:4] TXL voltage select 0: 0.0 V 1: 0.6 V 2: 0.7 V (default) 3: 0.8 V 4: 1.0 V [3:0] Width of CDS subtraction pulse 0: 1 clock width 1: 2 clock width [7:4] Period of CDS subtraction pulse 0: 1 clock width 1: 2 clock width [6]: enable small amount of current into the ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 13 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 0x97 0x98 0x99 0x9A AD_WT_BEGINL** AD_WT_BEGINH AD_WT_ENDL** AD_WT_ENDH 0x0 0x9B 0x9C AD_SUB_EN_TIMEL AD_SUB_EN_TIMEH 0x0537 (1335) tracking pixel 1:enable 0:disable [7]:Ramp beginning reference scheme selection 0: referenct to gnd 1:enable tracking circuit [10:0] Wave table start point, according to col_cnt [10:0] Wave table end point, when it is reached, the waveform will remain fixed until the start of next row [10:0] col_cnt position where the CDS subtraction pulse is applied 0x0555 (1365) Registers for AE and AWB debug (Read only) 0xA0 0xA1 0xA2 0xA3 0xA4 oxA5 0xA6 0xA7 0xA8 AD_AWBRgain® AD_AWBBgain® AD_AEHIGHTH_OUT® AD_AELOW_OUT® AD_AEETL® AD_AEETH AD_AEF_ETL® AD_AEF_ETH AD_TESTPIN® 0xAB 0xAC 0xAD 0xB1 0xB2 0xB3 0xB4 0xB5 0xB6 0xB7 0xB8 0xB9 0xBA AD_DATAOUTL® AD_DATAOUTH AD_PART_CONTROL_C® AD_YASTBALE® AD_DIFFABS® AD_INCSTEPL ® AD_INCSTEPH AD_DECSTEPL® AD_DECSTEPH AD_YFPXLL® AD_YFPXLH AD_YCPXLL® AD_YCPXLH AWB Red Gain,format 2.6 AWB Blue Gain,format 2.6 Current AE Y average max value Current AE Y average min Value Expose time after AE without antiflicker Expose time after antiflicker,the final value to adjust AE FSM test Register [3:0]: AE_state[3:0] [4]: ETTYPE [5]: AWBActive [6]: ET_LOOP [7]: SScene Change the DOUT value Register DOUT[9:0] [7:0] Current part control setting, read only Current AE Yavg_stable value Current AE diff_abs value current AE ET inc_step[9:0] value 0x40 current AE ET dec_step[9:0] value 0x7F8 (2040) 0x7F8 (2040) whole Frame sampling pixel number center Frame sampling pixel number Wavetable registers 0xC0 0xC3 0xC6 WAVE0_L WAVE0_M WAVE0_H WAVE1_L WAVE1_M WAVE1_H WAVE2_L WAVE2_M WAVE2_H 0x2C003 0x2C014 0x3C015 wave_table Register [10:0]: the state hold time in col_cnt, count by clk [19:11]: adc_vector[8:0] wave_table Register dalinit: sen_row_sel iword irst ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 14 adc_vector[8]; adc_vector[7]; adc_vector[6]; adc_vector[5]; 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 0xC9 0xCC 0XCF 0XD2 0XD5 0xD8 0xDB 0xDE 0xE1 0xE4 0xE7 0xEA 0xED 0xEF 0xF3 0xF3 0xF6 WAVE3_L WAVE3_M WAVE3_H WAVE4_L WAVE4_M WAVE4_H WAVE5_L WAVE5_M WAVE5_H WAVE6_L WAVE6_M WAVE6_H WAVE7_L WAVE7_M WAVE7_H WAVE8_L WAVE8_M WAVE8_H WAVE9_L WAVE9_M WAVE9_H WAVE10_L WAVE10_M WAVE10_H WAVE11_L WAVE11_M WAVE11_H WAVE12_L WAVE12_M WAVE12_H WAVE13_L WAVE13_M WAVE13_H WAVE14_L WAVE14_M WAVE14_H WAVE15_L WAVE15_M WAVE15_H WAVE16_L WAVE16_M WAVE16_H WAVE17_L WAVE17_M WAVE17_H WAVE17_L WAVE17_M WAVE17_H WAVE18_L WAVE18_M WAVE18_H 0x2C019 0x6C01D // suben:1 itx bitfast dalsel slopeen adc_vector[4]; adc_vector[3]; adc_vector[2]; adc_vector[1]; adc_vector[0]; 0x6C020 0xEC022 0x6C024 0x6CB26 0x6C328 0x6D333 0xFD335 0x7D337 0x6D22B 0x6D554 0x68000 0x68000 0x68000 0x68000 0x68000 ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 15 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 0xF9 WAVE19_L WAVE19_M WAVE19_H 0x68000 (*) Synchronized with frame begin. (**) Need PART_CONTROL[7] to change value, which synchronizes with frame begin. ® Read only ICM515NB can work in three modes: a. Normal Mode: RAW sensor data output from DOUT[9:0], TV signal output on CPOUT b. DSP Test Mode: Test patterns including column addresses generated on-chip as input, encoded as digital CVBS output to DOUT[9:0] c. DAC Test Mode: external data can be applied to pins DOUT[9:0] to test DAC directly. When captured by rising edge of PCLK, the output may have 1 clock delay if using DAC’s LOOKAHEAD structure. Normal DAC mode will not have delay. The three modes are controlled by: AD-INOUTSEL(0X52), AD_DSP_CTRL(0X2f), TIMING_CONTROL_LOW(0X01) AD_INOUTSEL AD_DSP_CTRL TIMING_CONTROL_LOW MODE Comment 8’h0b 8’h10 8’h4b 8’h00 8’h03 8’h05 8’h41 8’h41 8’h11 a b c Default ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 16 Part_control[7] sync Part_Control[7] sync 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 4. Electrical Characteristics 4.1 DC Characteristics Symbol Parameter VCCA Absolute Power Supply Absolute Input Voltage Absolute Output Voltage Storage Temperature Operating Power Supply Operating Input Voltage Operating Temperature Operating Current @ VCC=3.3 V, 25 °C Input Low Current Input High Current Tri-state Leakage Current Input Capacitance Output Capacitance Bidirectional Buffer VINA VOUTA TSTG VCC VIN TOPR IDD IIL IIH IOZ CIN COUT CBID Minimum -0.3 Rating Typical Unit Maximum 3.8 V -0.3 VCC + 0.3 V -0.3 VCC + 0.3 V 0 25 65 °C 3.0 3.3 3.6 V VCC V 55 °C 0 0 25 30 mA -1 1 µA -1 1 µA -10 10 µA 3 pF 3 pF 3 pF ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 17 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 VIL VILS VIH VIHS VOL VOH RL Capacitance Input Low Voltage Schmitt Input Low Voltage Input High Voltage Schmitt Input High Voltage Output Low Voltage Output High Voltage Input Pullup/down Resistance 0.3 * VCC 1.1 V V 0.7 * VCC V 1.8 V 0.4 2.4 V V 50 KΩ ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 18 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 4.2 Sensor Array Timing Reset Timing > 2 CLKIN RSTN 0.9*VDD VDD > 2 CLKIN CLKIN Unstable clock Pixel Timing CLOCK PCLK DOUT[9:0] HSYNC VSYNC Use PCLK rising edge to latch data ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 19 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 Default Line Tim ing 682.5 PCLKs (1365 clocks) 74 HSYNC 574 5 24.5 5 32 32 Column 79 – 652 is va lid DOUT[9:0] P revious Frame Present Frame Default Fra me Timing 525 ROWs(conti. To be low) 18 VSYNC 242 3 2 3 265 262 HSYNC 0 1 17 18 Column 21 – 262 is va lid DOUT[9:0] Default Fra me Timing(co nti. Fro m abo ve) 525 ROWs(conti. From above) VSYNC 16 18 241 3 3 281 284 HSYNC DOUT[9:0] 17 524 0 1 Column 284 – 524 is va lid ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 20 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 ODD Field Pixels Legend:(line_cnt,col_cnt)/(sensor_row, sensor_column) (19,148)/(0,0) (22,158)/(6,5) ACITVE interp_active PIXEL (263,1304)/(488,578) (265,1314)/(492,583) Even Field Pixels (282,148)/(1,0) (285,158)/(7,5) ACTIVE PIXEL (525,1304)/(487,578) (2,1314)/(491,583) Active ODD:242X574 EVEN:241X574 ©2000, 2001,2002 IC pixel: Media Corporation & IC Media Technology Corp page 21 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 4.3 TV output timing: TV timing according to the column counter default timing for column with data col_cnt: [0:1364] 1357 95 164 182 191 108 BR line_cnt:[1:525] 525 4 21 BLank 1338 video BL 263 Field0 BLank 283 1348 BL 525 Field1 Vsync ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 22 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 23 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 5. Mechanical Information Figure 3. S Type Shrunk Plastic LCC48 Packaging ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 24 1/17/2003 Company Confidential ICM515NB 574x483 Pixel CMOS NTSC Sensor Data Sheet V1.0 November 2002 6. Ordering Information Description Shrunk Plastic LCC48 package, VGA resolution sensor (3.3V) Part Number ICM-515NBsa IC Media Corporation IC Media Technology Corporation 545 East Brokaw Road San Jose, CA 95112, U.S.A. Phone: (408) 451-8838 Fax: (408) 451-8839 Email: [email protected] Web Site: www.ic-media.com 6F, No. 61, ChowTze Street., NeiHu District Taipei, Taiwan, R.O.C. Phone: 886-2-2657-7898 Fax: 886-2-2657-8751 Email: [email protected] Web Site: www.ic-media.com.tw ©2000, 2001,2002 IC Media Corporation & IC Media Technology Corp page 25 1/17/2003 Company Confidential