Technical Manual Digital Signal Processing LSI for CCD (LR38653) Ver.0.31 Published in March 2006 * Specifications of the product covered herein may be subject to change without notice. General Precautions This document and the product covered herein are protected by international copyright and proprietary right laws. Do not use the document for any purpose other than for using the product. Do not disclose the document to third parties without prior permission from SHARP. The product covered herein is designed expressly for use in consumer-oriented electronics. If you contemplate using the product for the equipment that demands high reliability, including control and safety equipment for automobiles, trains or aircrafts and rescue and security equipment, please be sure to contact SHARP in advance. Do not use the product for medical equipment related to life support. LARGE-SCALE IC GROUP SHARP CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 [Table of Contents] 1. OUTLINE OF LSI ………………………………………………………………………….. 1-1 1.1. FEATURE ……………………………………………………………….. 1-1 1.2. FUNCTIONS OF DIGITAL SIGNAL PROCESSING ……………….….. 1-1 2 PIN ASSIGNMENT …………………………………………………………………………... 2-1 3 SYSTEM ARCHECTURE ……………………………………………………………….. 3-1 3.1 SYSTEM ARCHITECTURE EXAMPLE …………………………………………. 3-1 3.2 OPERATION MODE SELECTION BY TERMINAL SETTINGS ………... 3-2 3.3 CCD SENSOR ………………………………………………………………... 3-2 3.4 ANALOG FRONT-END IC …………………………………………………….. 3-3 3.5 HOST I/F …………………………………………………………………………… 3-3 3.6 EEPROM …………………………………………………………………………… 3-3 3.7 HOST I/F ACCESS BY 2-WIRED SYSTEM BUS ………………………………. 3-4 3.8 EEPROM ACCESS BY 2-WIRED SYSTEM BUS ………………………………. 3-5 3.9 POWER SUPPLY SEQUENCE ………………………………………….. 3-6 3.10 MUTE CONTROL WHEN POWER SUPPLY SEQUENCE …………………… 3-6 4. FUNCTION EXPLANATION ………………………………………………………………... 4-1 4.1. INNER COMPOSITION …………………………………………………….. 4-1 4.2. DRIVING PULSE GENERATION …………………………………………. 4-2 4.2.1 Phase adjustment of the CCD drive pulse ……………………………..................... 4-2 4.3. INPUT ADJUSTMENT …………………………………………………….. 4-3 4.3.1 Shading compensation …………………………………………………….. 4-3 4.3.2 Line crawl compensation …………………………………………………….. 4-5 4.3.3 Fixed blemish compensation …………………………………………………….. 4-6 4.3.4 Career balance ………………………………………………………………... 4-7 4.4. BRIGHTNESS SIGNAL PROCESSING ADJUSTMENT ………………….... 4-8 4.4.1 γ characteristic ………………………………………………………………… 4-8 4.4.2 White Clip ………………………………………………………………… 4-9 4.4.3 Middle-high frequency enhancement ………………………………………….. 4-9 4.4.4 Aperture correction ………………………………………………………………… 4-10 4.4.5 Self adjustment of parameter that synchronizes with automatic control ………… 4-11 4.5. EXPOSURE CONTROL ……………………………………………………... 4-13 4.5.1 Fixation of IRIS ………………………………………………………………… 4-13 4.5.2 Exposure fixation and restart hysteresis ………………………………………….. 4-14 4.5.3 Exposure operation speed …………………………………………………….. 4-15 4.5.4 Range of exposure control ……………………………………………………... 4-16 4.5.5 Adjustment of exposure multiplication ………………………………………….. 4-16 4.5.6 Range of multiplication …………………………………………………….. 4-17 4.6. COLOR SIGNAL PROCESSING ADJUSTMENT ………………………………. 4-18 4.6.1 RGB matrix ……………………………………………………................... 4-19 4.6.2 RGB γ characteristic ……………………………………………………... 4-20 4.6.3 Generation of color difference signal ………………………………………….. 4-21 4.6.4 Generation of three reference point ………………………………………….. 4-21 4.6.5 Gain of color difference signal ……………………………………………………... 4-22 4.6.6 Phase adjustment of color difference ………………………………………….. 4-23 4.6.7 Color suppression ………………………………………………………………… 4-24 4.6.8 Adjustment of white balance to white sample ………………………………. 4-25 4.7. WHITE BALANCE CONTROL ………………………………………….. 4-26 4.7.1 Fixation of AWB ………………………………………………………………… 4-26 4.7.2 Adjustment of AWB multiplication frame ………………………………………….. 4-26 4.7.3 Range of AWB multiplication part ………………………………………….. 4-29 4.7.4 Adjustment of AWB fixation frame ………………………………………….. 4-30 4.7.5 Restriction of AWB range of motion ………………………………………….. 4-31 4.7.6 AWB operation speed ……………………………………………………... 4-32 4.7.7 Other AWB parameter ……………………………………………………... 4-32 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.7.8 4.8. 4.8.1 4.8.2 4.9. 4.9.1 5 LR38653 Preliminary Technical Manual Ver0.31 Self adjustment of parameter that synchronizes with automatic control ………… 4-33 OUTPUT ADJUSTMENT ……………………………………………………... 4-34 Adjustment of encoders ……………………………………………………... 4-34 Adjustment of digital output ……………………………………………………... 4-35 ADDITIONS ………………………………………………………………… 4-37 Table of exposure control ……………………………………………………... 4-37 REGISTER LIST ………………………………………………………………… 5-1 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR3865 Preliminary Technical Manual Ver0.31 1. Outline of LSI This product is the LSI equipped with the drive timing pulse generator of the 270-thousand to 470-thousand pixels CCD area sensor, each pulse generator for the television signal, the signal processing function for converting to the video signal from the CCD image converted to digital signal, driver of Vertical transfer pulse for the CCD and AFE captured CDS, PGA, AD converter. 1.1. Feature · Supply voltage: 4power sources of 15V, -8V, 3.3V, and 1.8V. · It corresponds to the CCD of 270-thousand and 410-thousand pixels for NTSC, · · · · · · 1.2. 320-thousand and 470-thousand pixels for PAL 18MHz 12bit A/D converter is contained. Generating circuit for the CCD drive signal and various pulses for television signals is contained. The analog image is outputted (10bit DA converter). NTSC/PAL are corresponded. YUV digital output (8bit x 2). Each parameter for camera signal processing is variable. Functions of digital signal processing · The automatic exposure control function is equipped. · The automatic white balance control function is equipped. · The automatic carrier balance equalizer function is equipped. · The line crawl compensation function is equipped. · The white blemish compensation function is equipped. · The brightness signal and the color signal gamma correction function is equipped independently. · Lens shading compensation function is equipped. · The strong glare correction function is equipped. · The video output of the image inversion function is equipped. · 4K bit EEPROM Read/Write function for the adjustment parameter storage. (EEPROM uses the one which has the Page-write function of equal to or more than 16 bytes). 1-1 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 Pin assignment 2 Pin No. A1 A2 A19 A20 B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 B12 B13 B14 B15 B16 B17 B18 B19 B20 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 Signal I/O Function NC Make open. (It connect with A2 and B1 inside) NC Make open. (It connect with A1 and B1 inside) NC Make open. (It connect with A20 and B20 inside) NC Make open. (It connect with A19 and B20 inside) NC Make open. (It connect with A1 and A2 inside) NC Make open. SHD I Data sampling pulse input. (Connect to B14.) SHR I Reference sampling pulse input. (Connect to B15.) ADCK I AD Converter sampling clock input. (Connect to B17.) DVSS GND Digital output driver ground terminal. TEST4 I_D Test terminal. Make open or ground (Note.1) GND_TG GND Ground terminal. VDDH_TG VDDH_TG Power source terminal for I/O.(3.3V) VDDL_TG VDDL Power source terminal for internal core.(1.8V) OBCP O_4 OB pixel clamp pulse output terminal. (Connect to C4.) Electronic shutter pulse output POFD O_20 Connect to the appropriate terminal of CCD via the capacitor. GND GND Ground terminal. FS O_4 Output terminal of sample hold pulse. (Connect to B3.) FCDS O_4 Output terminal of sample hold pulse. (Connect to B4.) Reset transistor gate clock pulse output FR O_4 Connect to the appropriate terminal of CCD via the capacitor. ADCKD O_4 AD converter sampling clock output. (Connect to the B5.) Horizontal shift register gate clock pulse output. FH1 O_16 Connect to the appropriate terminal of CCD. VDDH_TG VDDH_TG Power source terminal for I/O. (3.3V) NC Make open. (It connect with A19 and A20 inside) AVDD AVDD Analog power source terminal. (3.3V) CLP I Clamp control signal input. (Connect to C12.) OBP I Pulse input for the black level detection. (Connect to B11.) RESETN I AFE reset input terminal. (Active Low) DO10 O_1 AD converter output terminal bit10. (Connect to C7.) ADI10 IS Video input terminal bit10. (Connect to C6.) VL VL Power source terminal. (-8V) BLKX O_4 Blanking output terminal. (Make OPEN.) GND_TG GND Ground terminal. GND GND Ground terminal. ADCLP O_4 AD input clamp pulse output terminal. (Connect toC3) VDD VDD Power source terminal. (3.3V) OFDX I_U Overflow drain shutter pulse input. (Connect to C15.) OFDXD O_4 Overflow drain shutter pulse output. (Connect to C14.) VDDH_TG VDDH_TG Power source terminal for I/O.(3.3V) GND_TG GND Ground terminal. VDDL_TG VDDL Power source terminal for internal core.(1.8V) 2-1 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL Pin No. C19 D2 D3 D18 D19 E2 E3 E5 E6 E7 E8 E9 E10 E11 E12 E13 E14 E15 E16 E18 E19 F2 F3 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16 F18 F19 G2 Signal LR38653 I/O Preliminary Technical Manual Ver0.31 Function Horizontal shift register gate clock pulse output. Connect to the appropriate terminal of CCD. AVSS GND Analog ground terminal. DO8 O_1 AD converter output terminal1 bit8. (Connect to E9.) GND_TG GND Ground terminal. Clock generation output terminal. CKO OSC_O Oscillation circuit of crystal oscillator is structured with the adjacent CKI (E19). Internal analog circuit bias power input. AISET I_A (It connects 8.2 kΩ resistance with the between of AVSS (D2).) DO6 O_1 AD converter output terminal1 bit6. (Connect to F3.) DO9 O_1 AD converter output terminal1 bit9. (Connect to E6.) ADI9 IS Video input terminal bit9. (Connect to E5.) DVDD DVDD Digital output driver power source terminal. (3.3V) ADI11 IS Video input terminal bit11(MSB). (Connect to F8.) ADI8 IS Video input terminal bit8. (Connect to D3.) Test terminal. Make open or ground (Note 1) TEST2 I_D When YUV terminal used as input for control, input high level. V4XD O_4 Vertical shift register gate clock pulse output. (Connect to H19.) VH3XD O_4 Electric charge read-in pulse output. (Connect to N17.) V2XD O_4 Vertical shift register gate clock pulse output. (Connect to N16.) VH1XD O_4 Electric charge read-in pulse output. (Connect to M14.) ACL IS_U DSP reset input terminal. VDDDAA VDDDAA Power source terminal for DA converter. (Analog) VDDH_TG VDDH_TG Power source terminal. for I/O. (3.3V) Clock generation input terminal. CKI OSC_I Oscillation circuit of crystal oscillator is structured with the adjacent CKO (D19). Crystal oscillator frequency used as (NTSC: 28.63636MHz PAL: 28.375MHz) Reference input terminal in CDS circuit. REFIN I_A (It connects 0.1uF capacitor with the between of AVSS.) ADI6 IS Video input terminal bit6. (Connect to E3.) DO7 O_1 AD converter output terminal1 bit7. (Connect to F6.) ADI7 IS Video input terminal bit7. (Connect to F5.) GND GND Ground terminal. DO11 O_1 AD converter output terminal bitl1 (MSB). (Connect to E8.) VDDH VDDH Power source terminal. for I/O.(3.3V) Test termina3. Make open or ground (Note 1) TEST3 I_D When YUV terminal used as input for control, input high level. V3XD O_4 Vertical shift register gate clock pulse output. (Connect to M17.) V1XD O_4 Vertical shift register gate clock pulse output. (Connect to N15.) Digital video chrominance difference output terminal bit2. UV2 IO_4 When TEST2=TEST3=High, input terminal for WB control. TEST1 I_D Test terminal 1. Make open or ground VDDDAD VDDDAD Power source terminal for DA converter. (Digital) VREF O_A Input terminal for DA converter. Supply DC1.2V. VB I_A Output terminal for DA converter. Ground via the capacitor. GND_TG GND Ground terminal. CCDIN I_A CCD signal input terminal. FH2 O_16 2-2 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL Pin No. Signal I/O G3 OBCAP1 O_A G5 G6 G15 G16 G18 G19 H2 DO5 ADI5 GND GNDDA VIDEO IREF AVDD O_1 IS GND GND O_A O_A AVDD H3 OBCAP0 O_A H5 H6 ADI4 DO4 IS O_1 H15 UV3 IO_4 H16 H18 H19 J2 J3 J6 J7 J8 J9 J10 J11 J12 J13 J14 VDDL VDDH V4X AVSS AVDD DO1 ADI1 DO3 ADI3 VDDL TEST6 VDDL GND Y2 VDDL VDDH I_U GND AVDD O_1 IS O_1 IS VDDL I_D VDDL GND IO_4 J15 Y5 IO_4 J16 Y6 IO_4 J18 UV0 IO_4 J19 UV1 IO_4 K2 DO2 O_1 K3 VRN O_A K5 V4A O_20 K6 V3A O_20 K7 K8 ADI2 AFECSN IS O_4 LR38653 Preliminary Technical Manual Ver0.31 Function Black level integral output voltage. (It connects 0.1uF capacitor with the between of AVSS and OBCAP0 (H3).) AD converter output terminal1 bit5. (Connect to G6.) Video input terminal bit 5. (Connect to G5.) Ground terminal. Ground terminal for DA converter. DA converter video output terminal. Ground via the resistor. Output terminal for DA converter. Ground via the resistor. Analog power source terminal. (3.3V) Black level integral output voltage. (It connects 0.1uF capacitor with the between of AVSS and OBCAP1 (G3).) Video input terminal bit4. (Connect to H6.) AD converter output terminal bit4. (Connect to H5.) Digital video chrominance difference output terminal bit3. When TEST2=TEST3=High, input terminal for WB control Power source terminal for internal core.(1.8V) Power source terminal for I/O.(3.3V) Vertical shift register gate clock pulse input. (Connect to E11.) Analog ground terminal. Analog power source terminal. (3.3V) AD converter output terminal bit1. (Connect to J7.) Video input terminal bit1. (Connect to J6.) AD converter output terminal bit3. (Connect to J9.) Video input terminal bit3. (Connect to J8.) Power source terminal for internal core.(1.8V) Test terminal 6. Make open or ground. (Note1) Power source terminal for internal core.(1.8V) Ground terminal. Digital video output terminal bit2. Digital video output terminal bit5. When TEST2=TEST3=High, used as test input, make ground. Digital video output terminal bit6. When TEST2=TEST3=High, used as test input, make ground. Digital video chrominance difference output terminal bit0 (LSB). When TEST2=TEST3=High, input terminal for MIR control. Digital video chrominance difference output terminal bit1. When TEST2=TEST3=High, input terminal for BLC control. AD converter input terminal bit2. (Connect to K7.) AD converter internal negative reference voltage. (It connects 0.1uF capacitor with the between of AVSS and VRP (N2)) (Note 2) Vertical CCD drive pulse with three-values output. Connect to the appropriate terminal of CCD. Vertical CCD drive pulse with three-values output. Connect to the appropriate terminal of CCD. Video input terminal bit2. (Connect to K2.) Chip select output terminal for serial port (Active Low). (Connect to M3.) 2-3 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL Pin No. Signal I/O K9 EHCK IOS_4 K10 K11 EEPSL1 EEPDAO IS_D IOS_4 K12 EEPCK IOS_4 K13 K14 K15 VDDH Y1 Y3 VDDH IO_4 IO_4 K16 Y7 IO_4 K18 UV5 IO_4 K19 UV4 IO_4 L2 L3 ADI0 DO0 IS O_1 L18 UV6 IO_4 L19 TEST5 I_D M2 VCOM O_A M3 M4 M5 M6 CSN SDATA AFEDAT NC I I O_4 - M7 EEPSL2 IS_D M8 M9 AFESCK EHDAO O_4 IOS_4 M10 EEPDAI IOS_4 M11 EEPCS O_4 M12 V1A O_20 M13 M14 M15 M16 M17 M18 VL VH1AX Y0 Y4 V3X HD VL I_U IO_4 IO_4 I_U O_4 M19 UV7 IO_4 N1 NC - LR38653 Preliminary Technical Manual Ver0.31 Function Clock input terminal from the external host for communication. Connect to the external clock output terminal. Make open or ground. Make open. Clock output terminal to the EEPROM. Connect to the clock input terminal of the EEPROM. Power source for I/O. (3.3V) Digital video output terminal bit1. Digital video output terminal bit3. Digital video output terminal bit7 (MSB). When TEST2=TEST3=High , input terminal for the AGC control. 0: Normal, 1: AGC fix. Digital video chrominance difference output terminal bit5. When TEST2=TEST3=High, input terminal for EEMD control. Digital video chrominance difference output terminal bit4. When TEST2=TEST3=High, input terminal for EEMD control. Video input terminal bit0. (Connect to L3.) AD converter output terminal bit0 (LSB). (Connect to L2.) Digital video chrominance difference output terminal bit6. When TEST2=TEST3=High, input terminal for EEMD control. Test terminal 5. Make open or ground. (Note1) AD converter internal common voltage. Connect to the AVSS via the capacitor. Chip select input terminal for serial port. (Active Low) (Connect to K8.) Chip select input terminal for serial port. (Connect to M5.) Chip select input terminal for serial port. (Connect to M4.) Make open. Control terminal to choose EEPROM. When initial reading from EEPROM, it uses by the Low level. (0: Initial automatic reading enable, 1: No Read) Clock output terminal for serial port. (Connect to N5.) Make open. Data input/output terminal from the EEPROM. Connect to the data terminal of EEPROM. Make open. Vertical CCD drive pulse with three-values output. Connect to the appropriate terminal of CCD. Power source terminal. (-8V) Electric charge read-in pulse input. (Connect to E14.) Digital video output terminal bit0 (LSB). Digital video output terminal bit4. Vertical shift register gate clock pulse input. (Connect to F11.) Horizontal drive output terminal. Digital video chrominance difference output terminal bit7 (MSB). When TEST2=TEST3=High, input terminal for EEMD control. Make open. (It connect with P1 and P2 inside) 2-4 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL Pin No. Signal LR38653 I/O Preliminary Technical Manual Ver0.31 Function AD converter internal positive reference voltage. Connect to the AVSS and the VRN (K3) via the capacitor valued 0.47µF. N3 NC Make open. N4 NC Make open. N5 SCK I Clock terminal for serial port. (Connect to M8.) N6 VL VL Power source terminal. (-8V) Data input/output terminal from the external host for communication. N7 EHDAI IOS_4 Connect to the external data output (input/output) terminal. N8 EHSL IS_D Make open or ground. Control terminal for the DSP register access. N9 EHCS IS Select the slave device address (0: "1010000Xb", 1: "1100000Xb") N10 EHWP IS Control terminal for the DSP register write protect. (Low Enable) N11 EEPWP O_4 Control terminal for the EEPROM write protect. (Low Enable) Vertical CCD drive two values pulse output. N12 V2 O_20 Connect to the appropriate terminal of CCD. N13 VL VL Power source terminal. (-8V) N14 VH VH Power source terminal. (15V) N15 V1X I_U Vertical shift register gate clock pulse input. (Connect to F12.) N16 V2X I_U Vertical shift register gate clock pulse input. (Connect to E13.) N17 VH3AX I_U Electric charge read-in pulse output (Connect to E12.) N18 CSYNC O_4 Composite SYNC pulse or pixel clock (RCLK) output terminal N19 VD O_4 Vertical drive output terminal. N20 NC Make open. (It connect with P19 and P20 inside) P1 NC Make open. (It connect with N1 and P2 inside) P2 NC Make open. (It connect with N1 and P1 inside) P19 NC Make open. (It connect with N20 and P20 inside) P20 NC Make open. (It connect with N20 and P19 inside) (Note1) There is possibility that the individual setting is necessary to the EEPROM access. Being under, give us contact to the details. N2 VRP O_A 2-5 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 I/O Symbols I/O Symbol I IS I_D I_U IS_D IS_U I_A IO_4 IOS_4 O_1 O_4 O_16 O_20 O_A OSC_I OSC_O I/O Type CMOS level input terminal Schmidt level input terminal CMOS level input terminal (pull-down resistance 84 kΩ contained) CMOS level input terminal (pull-up resistance 100 kΩ contained) Schmidt level input terminal (pull-down resistance 84 kΩ contained) Schmidt level input terminal (pull-up resistance 96kΩ contained) Analog input terminal Input and output terminals CMOS level input Capable output current is 4mA. Input and output terminals schmidt level input Capable output current is 4mA. Output terminals Capable output current is 1mA. (when the power is 3V) Output terminals Capable output current is 4mA. (when the power is 3.3V) Output terminals Capable output current is 16mA. (when the power is 3.3V) Output terminals Capable output current is 20mA. (when the power VDD is 3V, VH=15V, VL=-8V) Analog output terminal Input terminal for the oscillation circuit Output terminal for the oscillation circuit GND AVDD DVDD VDD VH VL VDDL VDDH VDDH_TG VDDDAA VDDDAD Ground Power source A: Analog power source (3.0V~3.6V) Power source B: Digital power source (3.0V~3.6V) Power source C: IO power source. (3.0V~3.6V) Power source D: Power source for V-Driver. (10V~20V) Power source E: Power source for V-Driver. (-10V~-5V) Power source F: Internal core power source. (1.62V~1.98V) Power source G: IO power source. (3.0V~3.6V) Power source H: IO power source. (3.0V~3.6V) Power source J: Analog power source for DA converter. (3.0V~3.6V) Power source K: Digital power source for DA converter. (3.0V~3.6V) 2-6 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 3 3.1 LR38653 Preliminary Technical Manual Ver0.31 System Archecture System architecture example The camera system can be composed in following composition. For the details, refer to the reference circuit example. A high voltage drive circuit for the CCD drive is contained. Correlation double sampling and the analog gain circuit of the CCD output are contained. Clock 15V -8V 3.3V 1.8V VIDEO Amplifier This LSI CCD Sensor Reset EEPROM Host for adjustment 3-1 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 3.2 LR38653 Preliminary Technical Manual Ver0.31 Operation mode selection by terminal settings By the TEST2 and TEST3 terminal setting, it chooses the following IO polarity. When each terminal is set to input, it is enable to control the operation mode by each terminals with register SW_SEL(address 018h[0])=’0’ and disable to use the digital outputs. TEST2 and TEST3 UV[7:0] Y[7:5] Y[4:0] Digital output Control by terminals “00” or “01” or “10” Output Input Output Enable Disable disable enable Kinds of control Operation mode EEMD WB_SEL BLC MIR AGCSW “11” TEST2=’0’ or TEST3=’0’ or (TEST2,3=”11” and SW_SEL=1) Controlled Function Fixed speed of an electronic shutter Fixed white balance mode Backlight compensation Mirror mode Fixed AGC value Registers REG_EEMD REG_WBSEL REG_BLC REG_MIR REG_AGCSW Address[bit] 019h[7:4] 019h[3:2] 019h[1] 019h[0] 018h[7] TEST2,3=”11” and SW_SEL=0 Terminals UV[7:4] UV[3:2] UV[1] UV[0] Y[7] By the terminal setting, it chooses the following communication mode. Operating mode Terminals EHSL L Slave device address “1010000X” EHCS EEPSL1 Slave device address “1100000X” ‘0’ fix EEPROM automatic initial reading EEPROM automatic initial reading is enabled. is disabled. EEPSL2 3.3 H ‘0’ fix CCD Sensor This LSI has a timing generation circuit and a voltage change circuit and can drive the following 270-470 thousand pixels CCD. (Some CCD is used with external circuit of Amplifier transmitter of horizontal drive pulse.) Supported sensor 270-thousand pixels CCD sensor for NTSC 410-thousand pixels CCD sensor for NTSC 320-thousand pixels CCD sensor for PAL 470-thousand pixels CCD sensor for PAL Register settings TVMD SCCD 0 0 0 1 1 0 1 1 Set a register as follows according to driving CCD. Adr[bit] Register 001h[5] TVMD 001h[4] SCCD Explanation 0: NTSC 1: PAL 0: 270-thousand pixels or 320-thousand pixels 1: 410-thousand pixels or 470-thousand pixels 3-2 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 3.4 LR38653 Preliminary Technical Manual Ver0.31 Analog front-end IC This LSI contained the following AFE.It sets a register by AFE to control an analog gain. AFEpart number IR3Y50U 3.5 Brief 12bit AD converter built-in AFE Host I/F At the host I/F that the following serial bus was connected with, it can set a parameter for the various setting. Serial bus 2-wired system bus (3-wired system) 3.6 Use terminal For communication For control EHCK EHSL EHDAI EHCS (EHWP) Rate (Max) Reference standerd 400kbps Standard Mode I2C-BUS ( I2C-BUS SPECIFICATION Ver2.1: Jan.2000) EEPROM It controls EEPROM which the following serial bus was connected with to save or load of the parameter for the all kind setting in the DSP can be done. Also, each parameter can be automatically read in case of start-up. Incidentally, in case of saving / loading to EEPROM, this DSP accesses EEPROM continuously in 16 bytes, being the longest. Therefore, EEPROM use the one which has the page write feature of equal to or more than 16 bytes. Serial bus 2-wired system bus (3-wired system) Use terminal For communication For control EHCK EHSL EHDAI EHCS (EHWP) Rate (Max) 400kbps Reference standerd M24C04 (ST-MICRO) 24LC04B (MICROCHIP) 3-3 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 3.7 LR38653 Preliminary Technical Manual Ver0.31 Host I/F access by 2-wired system bus Host I/F by 2-wire system bus of this LSI has the function to write and read of the outside host, according to logical format (1), (2) in the following of Standard Mode I2C-BUS. Host I/F by 2-wire system consists of clock line (EHCK) for the serial communication and serial data line (EHDAI). As for the EHCK, EHDAI line, the pull-up each to the I/O power level. In case of the 3-wire system, in addition to the above signal, it uses write-protect signal (EHWP). At the time of EHWP='1', it returns ACK by the above writing format but writing in the register isn't done. (1) Data writing format to the DSP for byte. EHCK Slave Device EHDAI Register address W address Direction of the data transfer: □ extemal host this LSI Write register Data S M L AM L AM LA S T S S C S S C S SC P B B KB BKB BK ■ this LSI extemal host (EHWP) (2) Data reading format from the DSP for 1 byte. EHCK Slave Device EHDAI W address Slave Device Register address R address Read register Data S M L AM L A R M L AM L NS T S S C S S C S S S C S S AP B B KB B K T B B KB B (EHWP) • Start bit (ST) • Slave Device address • ACK bit,NACK bit (NA) • Register address (8bit) • Register data (8bit) • Stop bit (SP) • Resta bit (RST) (don’t care) : It is provide for start communication. : Slave Device for communication is provide : The bit for handshaking in one bit is sure to continue to 8 bit data (slave device address, register address, and register data). : Receive data. It specified the lower 8bit inside of 16bit address. : Send and receive data. Read/ Write value of register. : It is provide for stop communication. : It is provide for start reading. ○Start bit (START), Restart bit (RESTA), Stop bit (STOP) Start bit and Restart bit are defined that the data line (SDAH) changes low level from high level with the clock line (SCLH) keeping high level. Stop bit is defined that the data line (SDAH) changes High level from Low level with the clock line (SCLH) keeping high level ○ACK bit, NACK bit The following one bit of 8 bit data (slave device address, register address, and register data) is a bit for handshaking. When 8 bit data is normally received, the device that receives 8 bit data generates ACK bit (Active Low). At this time, the other device where 8 bit data was transmitted opens the data line. When the host is communicating with other slave devices and 8 bit data cannot be normally received, this device opens the data line and generates NACK bit (Active High) with an external pull-up resistor. 3-4 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 3.8 LR38653 Preliminary Technical Manual Ver0.31 EEPROM access by 2-wired system bus In the setting of the following registers, a set value of each register of DSP is written in EEPROM, the register of DSP can be set from EEPROM. Register setting value Address 02F9h 00h No Operation (default) 03h DSP→EEPROM Batch data writing 0Ch EEPROM→DSP Set data reading Moreover, when the host reads with the different user code (address 02EDh-F6h) from the user code of setting by EEPROM, the part of setting of register in DSP value is broken. Please consult our company about the user codes other than initial value 00h. The state of DSP and the camera system when using it excluding the user code offered from our company shall not be warrantable. 3-5 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 3.9 LR38653 Preliminary Technical Manual Ver0.31 Power supply sequence The power supply is turned on according to the following procedures. Procedure 1.8V 3.3V 15V -8V Clock Reset Note Before turning on the OFF OFF OFF OFF Stop Low power supply Core power supply ON OFF OFF OFF Stop Low 1 turning on IO power supply ON ON OFF OFF Stop Low 2 turning on 3 Clock turning on ON ON OFF OFF Oscillation Low 4 ON ON ON OFF Oscillation Low 1 V driverpower supply turning on 5 ON ON ON ON Oscillation Low 2 6 Reset release ON ON ON ON Oscillation High 3 7 Parameter setting ON ON ON ON Oscillation High Note1) Please turn it on after the low input of V-driver becomes under 0.5V and the high input of it becomes over the VDD (3.3V) - 0.5V. Note2) Please turn it on after the VH (15V) become over the VH * 0.9. Note3) Please do the reset release and turn on ΦV after the clock is steady and the VL (-8V) become under the VL * 0.9. Note4) When re-turning on, Please wait till the VL become over the VL * 0.1 after the each power supply turn off. And then, please do the above sequence. Turn on sequence Turn off sequence (1) 1.8V (2) 3.3V (4) 15V (5) -8V (3) clock reset (6) reset ΦV(VdrOUT) ΦH, ΦR (7) parameter 3.10 Mute control when power supply sequence After turning on the power supply, the image output is muted until the parameter read from EEPROM and automatic control become stable. The mute function is turned on and off by the MUTE_ON register, and the number of muted frames is set by the MUTE_TI register. Adr[bit] Register 00Ah[7] MUTE_ON 00Ah[6:0] MUTE_TI Explanation 0: The mute function is not used. 1: The mute function is used. Number of frames in which mute is done 3-6 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 4. Function explanation 4.1. Inner composition The inside of this LSI is composed of the following modules. Driver Driving pulse generation AFE (CDS,AGC,ADC) Exposure control Brightness signal processing Output adjustment (Encoder) Input adjustment Color signal processing DAC AWB Each functions are adjusted by the following modules: modules Functions Driving pulse generation Generation of driving pulse suitable for each CCD Phase adjustment of the horizontal CCD drive pulse Phase adjustment of the CDS sampling pulse Control of electronic shutter pulses according to exposure level Strong glare correction AFE control Input adjustment Shading correction curve Fixed blemish compensation (eight points or less) Automatic blemish compensation by threshold setting Line crawl compensation Brightness signal processing Gamma correction White clip Aperture correction Color signal processing Adjustment of RGB matrix Adjustement of white balance Color different signal generation Adjustment of color suppression Adjustment of color difference matrix Exposure control (IRIS) Electronic shutter and AGC value controls Output adjustment Generation of NTSC/PAL signal Adjustment of SETUP level 4-1 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.2. LR38653 Preliminary Technical Manual Ver0.31 Driving pulse generation 4.2.1 Phase adjustment of the CCD drive pulse When the output image data is affected by noise cause of power changing, there is a possibility to be able to ease by the phase adjustment. The rsettings for phase adjustment are followed. Adr[bit] Register 00Fh[3:2] SEL_FH1 Phase adjustment of horizontal drive pulse FH1 (by delay) (1) 00Fh[1:0] SEL_FH2 Phase adjustment of horizontal drive pulse FH2 (by delay) (2) 012h[5:4] SEL_FR1 Phase adjustment of rising edge of output reset pulse FR (by delay) (3) 012h[2:0] SEL_FR2 Phase adjustment of falling edge of output reset pulse FR (by foward) (4) 010h[2:0] SEL_FCDS Phase adjustment of feedthrough clamp pulse FCDS (by delay) (5) 010h[6:4] SEL_FS Phase adjustment of sampling pulse of imagedata FS (by delay) (6) 011h[6:4] Explanation SEL_ADCK2 Phase adjustment of A/D convert clock ADCK (by delay) FH1 (1) (1) FH2 (2) (2) FR (3) (4) (5) FCDS (5) (6) FS ADCK (7) (7) (6) (7) 4-2 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.3. LR38653 Preliminary Technical Manual Ver0.31 Input adjustment 4.3.1 Shading compensation Quantities of light might attenuate in the part around the lens when the wide-angle lens is used. This can be eased by the shading compensation function. To use the shading compensation function, the compensation gain characteristic is set to the second r radius power from the center part by the straight line. It provides for each range of the radius of the second power with SHD_RNG1 to 12, and the gain in each division point is set with SHD_OFS0 to 13. r radius Gain ×2(Maximum) ×1 4 5 6 sections 7 8 9 10 11 12 SHD_OFS0 to 13 1 2 3 r2 SHD_OFST10 1 2 3 4 5 6 7 8 9 SHD_RNG1 to 12 10 11 12 r2 SHD_OFS is set to a monotone increase (increase or constancy) in all sections. It becomes about one time gain by SHD_OFS=00h, nearly twice the gain by SHD_OFS=FFh. SHD_RNG is chosen to become it for the width of each section to describe the N-th power of two. An example of the upper limit of SHD_RNG is followed. CCD Upper limit of SHD_RNG 270k pixels 33h 410k pixels 52h 320k pixels 29h 470k pixels 50h 4-3 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL Adr[bit] 24Ah[1] 23Eh[7:0] 23Fh[7:0] 240h[7:0] 241h[7:0] 242h[7:0] 243h[7:0] 244h[7:0] 245h[7:0] 246h[7:0] 247h[7:0] 248h[7:0] 249h[7:0] 230h[7:0] 231h[7:0] 232h[7:0] 233h[7:0] 234h[7:0] 235h[7:0] 236h[7:0] 237h[7:0] 238h[7:0] 239h[7:0] 23Ah[7:0] 23Bh[7:0] 23Ch[7:0] 23Dh[7:0] LR38653 Register SHD_TH SHD_RNG1 SHD_RNG2 SHD_RNG3 SHD_RNG4 SHD_RNG5 SHD_RNG6 SHD_RNG7 SHD_RNG8 SHD_RNG9 SHD_RNG10 SHD_RNG11 SHD_RNG12 SHD_OFST0 SHD_OFST1 SHD_OFST2 SHD_OFST3 SHD_OFST4 SHD_OFST5 SHD_OFST6 SHD_OFST7 SHD_OFST8 SHD_OFST9 SHD_OFST10 SHD_OFST11 SHD_OFST12 SHD_OFST13 Preliminary Technical Manual Ver0.31 Explanation 0: Shading is corrected. 1: Shading is not corrected. Beginning point in section 1 of radius of the second power Beginning point in section 2 of radius of the second power Beginning point in section 3 of radius of the second power Beginning point in section 4 of radius of the second power Beginning point in section 5 of radius of the second power Beginning point in section 6 of radius of the second power Beginning point in section 7 of radius of the second power Beginning point in section 8 of radius of the second power Beginning point in section 9 of radius of the second power Beginning point in section 10 of radius of the second power Beginning point in section 11 of radius of the second power Beginning point in section 12 of radius of the second power Gain at shading center (increment) Shading gain in beginning point in section 1 (increment) Shading gain in beginning point in section 2 (increment) Shading gain in beginning point in section 3 (increment) Shading gain in beginning point in section 4 (increment) Shading gain in beginning point in section 5 (increment) Shading gain in beginning point in section 6 (increment) Shading gain in beginning point in section 7 (increment) Shading gain in beginning point in section 8 (increment) Shading gain in beginning point in section 9 (increment) Shading gain in beginning point in section 10 (increment) Shading gain in beginning point in section 11 (increment) Shading gain in beginning point in section 12 (increment) Shading gain in ending point in section 12 (increment) 4-4 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 The shading gain can be adjusted at each color filter (C1, C2, C3 and C4) of CCD. After it sets it to SHD_GAIN_ACT=1, the gain of each filter is adjusted by the SHD_GAIN_C1-C4 register. The gain (characteristic set by the straight line) for the sensitization is done by SHD_GAIN_xx times. There is a possibility to be able to ease by this setting when is in the part in the surrounding with the color. Gain ×2(Maximum) ×1 r2 4.3.2 Adr[bit] Register Explanation 24Ah[0] SHD_GAIN_ACT 24Bh[5:0] SHD_GAIN_C1 24Ch[5:0] SHD_GAIN_C2 0: Operation usually 1: The shading gain of each C1-C4 is corrected. The shading gain of the C1 pixel (Ye+Mg) is corrected. (one time gain by 20h) The shading gain of the C2 pixel (Cy+Mg) is corrected. 24Dh[5:0] SHD_GAIN_C3 The shading gain of the C3 pixel (Cy+G) is corrected. 24Eh[5:0] SHD_GAIN_C4 The shading gain of the C4 pixel (Ye+G)is corrected. Line crawl compensation Stripes pattern (line crawl) by the career difference in a high luminance part where the CCD output becomes near the satiety region is reduced. The line crawl compensation function can be turned on and off by the LC_ON register. The threshold for the line crawl detection is adjusted by the LINE_U register. If a big value is set to LINE_U, it becomes difficult to be detected. If a small value is set to LINE_U, it becomes easy to be detected. It influences the image quality emphasizing the career difference when an extremely small value is set to LINE_U. Adr[bit] Register 265h[4] LC_ON 264h[7:0] LINE_U Explanation 1: Line crawl compensation ON 0: Line crawl compensation OFF Line crawl detection threshold 4-5 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.3.3 LR38653 Preliminary Technical Manual Ver0.31 Fixed blemish compensation The blemish can be corrected to the defect of CCD to understand coordinates beforehand by the method of replacing the image data of a pertinent pixel by setting coordinates by the mean value of the right and left vicinity pixel of the same filter. The specification of coordinates is set to the coordinate system cut out. There is an offset the overlap width of the signal conditioning. The value within the following ranges is set. CCD 270,000 pixels 410,000 pixels 320,000 pixels 470,000 pixels Range of the horizontal coordinates setting TBD TBD TBD TBD Range of the vertical coordinates setting TBD TBD TBD TBD The blemish coordinates can be set up to eight by the following settings. Adr[bit] Register 272h[3:2] , 270h[7:0] WN00H 272h[1:0] , 271h[7:0] WN00V 275h[3:2] , 273h[7:0] WN01H 275h[1:0] , 274h[7:0] WN01V 278h[3:2] , 276h[7:0] WN02H 278h[1:0] , 277h[7:0] WN02V 27Bh[3:2] , 279h[7:0] WN03H 27Bh[1:0] , 27Ah[7:0] WN03V 27Eh[3:2] , 27Ch[7:0] WN04H 27Eh[1:0] , 27Dh[7:0] WN04V 281h[3:2] , 27Fh[7:0] WN05H 281h[1:0] , 280h[7:0] WN05V 284h[3:2] , 282h[7:0] WN06H 284h[1:0] , 283h[7:0] WN06V 287h[3:2] , 285h[7:0] WN07H 287h[1:0] , 286h[7:0] WN07V Explanation Blemish correction coordinates The horizontal coordinates of point 1 Blemish correction coordinates The vertical coordinates of point 1 Blemish correction coordinates The horizontal coordinates of point 2 Blemish correction coordinates The vertical coordinates of point 2 Blemish correction coordinates The horizontal coordinates of point 3 Blemish correction coordinates The vertical coordinates of point 3 Blemish correction coordinates The horizontal coordinates of point 4 Blemish correction coordinates The vertical coordinates of point 4 Blemish correction coordinates The horizontal coordinates of point 5 Blemish correction coordinates The vertical coordinates of point 5 Blemish correction coordinates The horizontal coordinates of point 6 Blemish correction coordinates The vertical coordinates of point 6 Blemish correction coordinates The horizontal coordinates of point 7 Blemish correction coordinates The vertical coordinates of point 7 Blemish correction coordinates The horizontal coordinates of point 8 Blemish correction coordinates The horizontal coordinates of point 8 4-6 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.3.4 LR38653 Preliminary Technical Manual Ver0.31 Career balance The value of the OB pixel is multiplied and the change of a black level is canceled. It multiplies C1, C2, C3, and each C4 filter for the average level, and cancels with the color when shading by driving difference etc. Adr[bit] Register 040h[6] CB_FIX 041h[7:0] FIX_CB1 Explanation 0: Usually (automatic career balance) 1: Fixed career balance (FIX_CB1-4 is used) Fixed career balance subtraction value of C1 pixel 042h[7:0] FIX_CB2 Fixed career balance subtraction value of C2 pixel 043h[7:0] FIX_CB3 Fixed career balance subtraction value of C3 pixel 044h[7:0] FIX_CB4 Fixed career balance subtraction value of C4 pixel 4-7 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.4. LR38653 Preliminary Technical Manual Ver0.31 Brightness signal processing adjustment 4.4.1 γ characteristic 4 5 6 7 10 11 12 2 3 45 6 7 0 1 OFST 10 13 0 1 2 3 Section 8 9 1 2 3 4 5 6 7 8 9 10 11 12 RNG The shape of the straight line is set according to the following settings. The starting point is the average of OB level, and the corrected data for the input below the OB level is made to the absolute value by the same characteristic. Please set the width in the section to become the N-th power of two. Adr[bit] Register Explanation st 1AEh[7:0] YGAM_RNG1 Brightness gamma 1 starting point in straight line section 1AFh[7:0] YGAM_RNG2 Brightness gamma 2nd starting points in straight line section 1B0h[7:0] YGAM_RNG3 Brightness gamma 3rd starting points in straight line section 1B1h[7:0] YGAM_RNG4 Brightness gamma 4th starting points in straight line section 1B2h[7:0] YGAM_RNG5 Brightness gamma 5th starting points in straight line section 1B3h[7:0] YGAM_RNG6 Brightness gamma 6th starting points in straight line section 1B4h[7:0] YGAM_RNG7 Brightness gamma 7th starting points in straight line section 1B5h[7:0] YGAM_RNG8 Brightness gamma 8th starting points in straight line section 1B6h[7:0] YGAM_RNG9 Brightness gamma 9th starting points in straight line section 1B7h[7:0] YGAM_RNG10 Brightness gamma 10th starting points in straight line section 1B8h[7:0] YGAM_RNG11 Brightness gamma 11th starting points in straight line section 1B9h[7:0] YGAM_RNG12 Brightness gamma 12th starting points in straight line section 1A0h[7:0] YGAM_OFST0 Output at brightness gamma input =0 1A1h[7:0] YGAM_OFST1 Output at brightness gamma input =YGAM_RNG1 1A2h[7:0] YGAM_OFST2 Output at brightness gamma input =YGAM_RNG2 1A3h[7:0] YGAM_OFST3 Output at brightness gamma input =YGAM_RNG3 1A4h[7:0] YGAM_OFST4 Output at brightness gamma input =YGAM_RNG4 1A5h[7:0] YGAM_OFST5 Output at brightness gamma input =YGAM_RNG5 1A6h[7:0] YGAM_OFST6 Output at brightness gamma input =YGAM_RNG6 1A7h[7:0] YGAM_OFST7 1A8h[7:0] YGAM_OFST8 Output at brightness gamma input =YGAM_RNG7 Output at brightness gamma input =YGAM_RNG8 4-8 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.4.2 1A9h[7:0] 1AAh[7:0] 1ABh[7:0] 1ACh[7:0] 1ADh[7:0] YGAM_OFST9 YGAM_OFST10 YGAM_OFST11 YGAM_OFST12 YGAM_OFST13 2FAh[0] YGAM_SEL LR38653 Preliminary Technical Manual Ver0.31 Output at brightness gamma input =YGAM_RNG9 Output at brightness gamma input =YGAM_RNG10 Output at brightness gamma input =YGAM_RNG11 Output at brightness gamma input =YGAM_RNG12 Output at brightness gamma input = the maximum value Selection about OB data at γ function 0: same as image data 1: no OB subtraction. γ function is set from zero code of ADIN White Clip The maximum value of the brightness signal can be set with WHCLP. The brightness signal of WHCLP or more is replaced with WHCLP_OUT. Please set the same value to WHCLP and WHCLP_OUT usually. WHCLP, WHCLP_OUT SETUP SYNCLEV Adr[bit] Register 20Bh[7:0] WHCLP Explanation The clip does the brightness signal more than a set value. 20Ch[7:0] WHCLP_OUT The output level when the clip is done is set. 4.4.3 Middle-high frequency enhancement The middle-high frequency enhance characteristics can be set with following settings. The gain of enhancement can be automatically adjusted by the exposure multiplication value. . Adr[bit] Register Explanation 204h[4] SEL_BPF Adjustment of the enhance characteristics 40 20 0 filter output (dB) 0 0.1 0.2 0.3 0.4 0.5 0.6 -20 SEL_BPF=0 -40 SEL_BPF=1 -60 -80 -100 -120 normalization frequency (value times by clock = real frequency) 21B[4:0] BPFGA Adjustment of the enhance gain 4-9 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 4.4.4 Aperture correction The edge signal is superimposed to the brightness signal, and the aperture signal can be corrected (edge enhancement). The limit is processed by the APT_LIM register before the edge signal is extracted, the edge signal of the high luminance part can be decreased. The outline emphasis degree can be adjusted by putting the gain on the edge signal by HAPTGA and the VAPTGA register. It can be adjusted that the noise is mistaken by rounding and processing the low-level edge signal by HAPTCL and the VAPTCL register after the edge signal is extracted and it doesn't emphasize it. It can be adjusted that an extreme edge is not superimposed by rounding and processing the high-level edge signal by the APT_O_LIM register. Edge signal HAPTCL or VAPTCL APT_O_LIM HAPTGA or VAPTGA Adr[bit] Register Explanation 204h[0] HAPT_OFF 204h[1] VAPT_OFF 204h[3:2] HAPT_SEL 208h[7:0] APT_LIM 0: The horizontal aperture correction is ON 1: The horizontal aperture correction is OFF 0: The vertical aperture correction is ON 1: The vertical aperture correction is OFF 00: characteristic 1 01: characteristic 2 1-: don’t use High luminance limit value at edge extraction circuit input level 206h[6] HAPTCLSEL 207h[6] VAPTCLSEL 213h[4:0] HAPTGA 1: The horizontal edge signal is rounded. 0: The horizontal edge signal is not rounded. 1: The vertical edge signal is rounded. 0: The vertical edge signal is not rounded. Gain of the horizontal edge signal 214h[4:0] VAPTGA Gain of the vertical edge signal 206h[5:0] HAPTCL Low-level limit value of the rounded horizontal edge signal 207h[5:0] VAPTCL Low-level limit value of the rounded vertical edge signal 209h[7:0] APT_O_LIM High-level limit value after edge signal gain is processed 4-10 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.4.5 LR38653 Preliminary Technical Manual Ver0.31 Self adjustment of parameter that synchronizes with automatic control This LSI synchronizes with the automatic control of building into, and adjusts the following signal processing parameter automatically. Shading compensation gain Aperture gain Middle-high frequency enhancement gain Quantities of light in surrounding (AGC value, Exposure multiplication value at MAX.) It synchronizes with quantities of light in surrounding (AGC value, Exposure multiplication value at MAX) or white balance red gain WBR (There are a color temperature and a correlation). Quantities of light in surrounding (AGC value, Exposure multiplication value at MAX.) ・ Shading compensation gain The shading gain can be automatically suppressed by judging the decrease in quantities of light of subject from the AGC value and the exposure multiplication value when it is dark. To invalidate this automatic adjustment, it is set as SHD_H=SHD_Y=0. Exposing under Proper exposure Inclination :SHD_H Inclination: SHD_Y SHD_S AGC value MAX_AGC MAX_AGC Light intensity of subject Light intensity of subject: Less Adr[bit] Register Explanation 22Dh[7:0] SHD_S Shading gain attenuation beginning point (AGC value) 22Eh[5:0] SHD_H 22Fh[5:0] SHD_Y AGC synchronization coefficient of shading gain Exposure multiplication value synchronization coefficient of shading gain 4-11 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 ・ Aperture gain Aperture gain can be automatically suppressed by judging the decrease in quantities of light of subject from the AGC value and the exposure multiplication value when it is dark. To invalidate this automatic adjustment, it is set as APT_H=APT_Y=0. Exposing under Proper expoure Inclination : APT_H Inclination: APT_Y APT_S AGC value MAX_AGC MAX_AGC The exposure integration value Light intensity of subject:less An actual aperture gain is the one that the above-mentioned characteristic was multiplied to horizontal aperture gain (HAPTGA) and vertical aperture gain (VAPTGA). Adr[bit] Register Explanation 215h[7:0] APT_S Suppression beginning point of aperture gain(AGC value). 216h[5:0] APT_H 217h[5:0] APT_Y 213h[4:0] HAPTGA AGC synchronization coefficient of aperture gain. Exposure integrated value synchronization coefficient of aperture gain. The horizontal aperture gain. 214h[4:0] VAPTGA The vertical aperture gain. And Aperture gain can be automatically adjustment synchronous with white balance red gain WBA. Inclination:APT_K Limit: APT_L WBR APT_W Adr[bit] Register 218h[5:0] APT_L 219h[7:0] APT_W 21Ah[5:0] APT_K Color temperature: Low → High Explanation Limit of WBR synchronzation aperture gain adjustment. Beginning point of WBR synchronzation aperture gain adjustment (WBR) WBR coefficient address of aperture gain. ・ Middle-high frequency enphasis gain Enphasis gain for adjustment of brightness LPF characteristic can be automatically suppressed by judging the decrease in quantities of light also. 4-12 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.5. LR38653 Preliminary Technical Manual Ver0.31 Exposure control It is a function to try to adjust the AGC value of AFE and the electronic shutter speed of CCD by the automatic operation, and to keep the input level of the image data of this LSI to be constant. 4.5.1 Fixation of IRIS When the adjustment of the circuit gains of the brightness gamma, the color separation matrix, the color difference gain, and etc. and the automatic control are unnecessary, the exposure control can be fixed by the following settings. Adr[bit] 019h[7:4] 080h[0] 053h[5:4], 054h[7:0] 018h[7] 104h[0] Register REG_EEMD AGC_FIX FIX_AGC1 Explanation The speed of an electronic shutter is fixed. (Refer to Ch.4.9. ) When AGC_FIX=1, the AGC value is fixed to FIX_AGC1. The AGC value at AGC_FIX=1 is set. When REG_AGCSW=1, the AGC value is fixed by a present value. WhenEE_ADR_HOLD=1, the address of the exposure table is EE_ADR_HOLD fixed to FIX_IRIS_ADR1. REG_AGCSW 109h[7:0], FIX_IRIS_ADR1 A fixed address at EE_ADR_HOLD=1 is set. 10Ah[0] When the shutter and the AGC value are fixed by the set according to the exposure table, EE_ADR_HOLD is used. When only either of the AGC value or the shutter is chiefly fixed, AGC_FIX and EEMD are used. EEMD For NTSC For PAL 0000 1/60 1/50 0001 1/100 1/120 0010 1/250 1/250 0011 1/500 1/500 0100 1/1000 1/1000 0101 1/2000 1/2000 0110 1/5000 1/5000 0111 1/10000 1/10000 1000 1/20000 1/20000 1001 1/50000 1/50000 1010 1/100000 1/100000 1110 Automatic control (Note1) 1111 Automatic control Another Set prohibition Note) The maximum shutter speed can be set with MAX_SH. If it is REG_AGCSW=AGC_FIX=0 even when the shutter is fixed with EEMD, the automatic exposure control by AGC is done. 4-13 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.5.2 LR38653 Preliminary Technical Manual Ver0.31 Exposure fixation and restart hysteresis If the exposure control data is installed on the constant error range set with CTLD_0 for exposure target value REF_IRIS, the exposure control is fixed. The error margin with REF_IRIS changes after fixing the exposure control and neither the shutter nor the AGC value are changed into exposure restart standard CTLD_AGC or more until becoming it. The exposure control is restarted when going out beyond the limits of CTLD_AGC. A value that is bigger than CTLD_0 is set to CTLD_AGC usually. Exposure control data EE_STEP CTLD_0 REF_IRIS CTLD_AGC Gain Time Down Fixation Up Time Adr[bit] Register 103h[7:0] CTLD_0 102h[7:0] CTLD_AGC Explanation standard values for exposure fixation (comparison to the error marginfrom REF_IRIS) standard value for exposure restart (comparison to the error marginfrom REF_IRIS) 4-14 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.5.3 LR38653 Preliminary Technical Manual Ver0.31 Exposure operation speed The operation speed of the exposure control can be adjusted by the following settings. First of all, the number of steps increased and decreased by the exposure once control is adjusted with EE_STEP. EE_STEP sets three stages according to the degree of the error margin of exposure control data (integrated value) and exposure target value REF_IRIS. It changes into REF_IRIS by 1 step when the control data is 75%-150%, and by the setting of EE_STEP_H or EE_STEP_M when others. It moves in twice steps of EE_STEP_H/M when a set value of EE_STEP_H/M is not 0, and moves by one when it is 0. It sets it with EE_STEP_H. 200% Exposure control data It sets it with EE_STEP_M. 150% 1 100% REF_IRIS 75% EE_STEP_M 50% EE_STEP_H EE_STEP_H,M setting value 0 Excluding 0 Adr[bit] Amount of increase and decrease 1 EE_STEP_H,M×2 Register Explanation Number of steps increased and decreased by exposure once control 110h[3:0] EE_STEP_H (far from REF_IRIS) Number of steps increased and decreased by exposure once control 10Fh[4:0] EE_STEP_M (medium part of error margin) Exposure control data LPF characteristic setting for the outside of 060h[1] EE_LPF_H hysteresis frame 0: thning out 1: average Exposure control data LPF characteristic setting for the inside of 060h[0] EE_LPF_L hysteresis frame 0: thning out 1: average Thinning out operation setting of exposure control for the outside of hysteresis frame 00: every field 108h[3:2] IRIS_DLY_H 01: once per two fields 10: once per four fields 11: once per eight fields Thinning out operation setting of exposure control for the inside of hysteresis frame 00: every field 108h[1:0] IRIS_DLY_L 01: once per two fields 10: once per four fields 11: once per eight fields 4-15 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.5.4 LR38653 Preliminary Technical Manual Ver0.31 Range of exposure control The automatic exposure control synchronizes with AGC according to the exposure control table of the appendix the shutter and changes. Moreover, the value to which REF_AGC is added is used as for the AGC value obtained from the exposure control table of the appendix. The upper bound of AGC, the address lower bound at the high speed shutter, and the speed of open selection at a low-speed shutter can be adjusted among ranges defined in the exposure control table. Adr[bit] Register 019h[7:4] REG_EEMD 071h[0], 070h[7:0] MAX_SH 072h[0] MIN_SH_SEL 074h[0], 073h[7:0] MAX_AGC Explanation 1111: The automatic exposure control is done. 1110: The automatic exposure control is done with the limitation of the maximum shutter speed by MAX_SH. 0000-1010:The speed of the shutter is fixed. (references 4.5.1) The speed of the highest shutter is set. Please set the address lower bound value of the range of motion of the exposure control table. 0: the minimum shutter speed is 1/60 second. (when PAL, 1/50sec.) 0: the minimum shutter speed is 1/100 second. (when PAL, 1/120sec.) The maximum gain of AGC is set. Please set the address upper bound value of the range of motion of the exposure control table. The range of the address controlled with AGC is shown in the following tables among the exposure table. The range changes by selecting driving mode and AFE used. Please set it to MAX_AGC from among this range. Moreover, please set MAX_SH within the range of the shutter control in the table. Number of AGC steps =127 Range of shutter control TVMD=0 (NTSC) 0B9h-138h 000h-0B9h TVMD=1 (PAL) 0C0h-13Fh 000h-0C0h 4.5.5 Adjustment of exposure multiplication The multiplication data for the exposure control is calculated based on the following three statistics. The influence of the peak value can be considered for contrasty subject. Please set to become P_HEE+P_LEE<256. (Data for exposure control) = {Brightness mean value * ( 256 - H_PEE - L_PEE ) + High luminance peak * H_PEE + Low brightness peak * L_PEE} ÷ 256 E_DATA HPEAK LPEAK Brightness mean value (It can be an injury with the weight multiplication) High luminance peak Low brightness peak Adr[bit] Register 105h[7:0] P_HEE 106h[7:0] P_LEE 111h[6] MOD8 124h[7:0] CLIP_IRIS Explanation Correction ratio of integrated values by brightness High peak value Correction ratio of integrated values by brightness Low peak value Switch of method of detecting peak 0: The maximum value of 8 pixel average 1: The maximum value of 4 pixel average Setting of brightness level upper bound when exposure data is multiplied. The clip is done with CLIP_IRIS and the brightness signal of CLIP_IRIS or more is multiplied. 4-16 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 4.5.6 Range of multiplication The integrated value of the exposure data can be requested by dividing one image into 12groups (Gr.A-L), and setting the coefficient individually. The division method to 12 groups can be selected from the following six kinds of inside. Gr.A Gr.B Gr.G Gr.H K L L K Gr.I Gr.J Gr.C Gr.E Gr.C Gr.D Gr.F Gr.D NWE_TYPE1=”000” Gr.A Gr.B Gr.G Gr.K Gr.K Gr.H Gr.I Gr.L Gr.L Gr.J Gr.C Gr.E Gr.C Gr.D Gr.F Gr.D NWE_TYPE1=”001” Gr.A Gr.B Gr.L Gr.G Gr.L Gr.H Gr.K Gr.K Gr.I Gr.L Gr.J Gr.L Gr.C Gr.E Gr.C Gr.D Gr.F Gr.D NWE_TYPE1=”010” Gr.A Gr.B Gr.G Gr.A Gr.B Gr.G Gr.A Gr.B Gr.G K L I H Gr.K I L K Gr.J Gr.C Gr.E Gr.C Gr.D Gr.F Gr.D NWE_TYPE1=”100” I Gr.L Gr.K H I Gr.L Gr.K Gr.L Gr.J Gr.C Gr.E Gr.C Gr.D Gr.F Gr.D NWE_TYPE1=”101” I H Gr.L I Gr.K Gr.L Gr.J Gr.L Gr.C Gr.E Gr.C Gr.D Gr.F Gr.D NWE_TYPE1=”110” For the comparison between exposure integration value and standard value as REF_IRIS1 and REF_IRIS2, please fill the following restrictions about the weight putting coefficient. Σ(C,DE,F,G,H,I,J)+Σ(A,B,K,L)*2=128 NWE_TYPE2=”00” NWE_TYPE2=”01” NWE_TYPE2=”10” Except Multiplication Multiplication part Multiplication part Except Multiplication Multiplication part Multiplicated Multiplication part All part is Except Multiplication Moreover, a part of the image can be assumed to be multiplication off the subject besides the weight putting by above-mentioned NWE_TYPE1. The specification of multiplying off the subject the area can be selected from the following 4 types. NWE_TYPE1=”11” In addition, the multiplication data for the exposure control is generated to the above-mentioned multiplication result (multiplication data (I)) in consideration of the influence of brightness High, peak value (II), and brightness Low peak value (III). Multiplication data for exposure control = { multiplication data (I)×(256d - Register P_HEE – Register P_LEE) + brightness High peak value (II) × P_HEE + brightness Low peak value (III) ×P_LEE}÷256d Adr[bit] Register Explanation 112h[3:0] regA Weight putting coefficient for Gr.A 112h[7:4] regB Weight putting coefficient for Gr.B 113h[3:0] regC Weight putting coefficient for Gr.C 113h[7:4] regD Weight putting coefficient for Gr.D 114h[3:0] regE Weight putting coefficient for Gr.E 4-17 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary 114h[7:4] regF Weight putting coefficient for Gr.F 115h[3:0] regG Weight putting coefficient for Gr.G 115h[7:4] regH Weight putting coefficient for Gr.H 116h[3:0] regI Weight putting coefficient for Gr.I 116h[7:4] regJ Weight putting coefficient for Gr.J 117h[3:0] regK Weight putting coefficient for Gr.K 117h[7:4] regL Weight putting coefficient for Gr.L 111h[2:0] NWE_TYPE1 Shape selection of multiplication Gr 111h[4:3] NWE_TYPE2 Selection of multiplying off part Technical Manual Ver0.31 4-18 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.6. LR38653 Preliminary Technical Manual Ver0.31 Color signal processing adjustment 4.6.1 RGB matrix The matrix matched to the sensor spectrum characteristic is adjusted for RGB to which the color is separated from the complementary filter and the correlation of RGB is removed (decrease). 3×3 coefficients of the matrix are adjusted by the following registers. Each coefficient is set by the one's complement. Adr[bit] Register Explanation 045h[7:0] MRR R element coefficient to make R (two's complement) 046h[7:0] MRG G element coefficient to make R (two's complement) 047h[7:0] MRB B element coefficient to make R (two's complement) 048h[7:0] MGR R element coefficient to make G (two's complement) 049h[7:0] MGG G element coefficient to make G (two's complement) 04Ah[7:0] MGB B element coefficient to make G (two's complement) 04Bh[7:0] MBR R element coefficient to make B (two's complement) 04Ch[7:0] MBG G element coefficient to make B (two's complement) 04Dh[7:0] MBB B element coefficient to make B (two's complement) Rout Gout Bout = MRR MRG MRB Rin MGR MGG MGB Gin MBR MBG MBB Bin 4-19 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.6.2 LR38653 Preliminary Technical Manual Ver0.31 RGB γ characteristic The gamma control can be put by a common characteristic to RGB value in which the white balance is adjusted. The characteristic of the gamma control can be set by the straight line. However, please set CGAM_OFS0-13 to become a monotone increase (increase or constancy) in all sections and set the width in the section to become the N-th power of two. 4 5 6 7 10 11 12 0 1 OFST 2 3 45 6 7 10 13 0 1 2 3 Section 8 9 1 2 3 Adr[bit] 4 5 6 7 8 9 10 Register 11 12 Explanation st 1CEh[7:0] CGAM_RNG1 Color gamma 1 starting point in straight line section 1CFh[7:0] CGAM_RNG2 Color gamma 2nd starting point in straight line section 1D0h[7:0] CGAM_RNG3 Color gamma 3rd starting point in straight line section 1D1h[7:0] CGAM_RNG4 Color gamma 4th starting point in straight line section 1D2h[7:0] CGAM_RNG5 Color gamma 5th starting point in straight line section 1D3h[7:0] CGAM_RNG6 Color gamma 6th starting point in straight line section 1D4h[7:0] CGAM_RNG7 Color gamma 7th starting point in straight line section 1D5h[7:0] CGAM_RNG8 Color gamma 8th starting point in straight line section 1D6h[7:0] CGAM_RNG9 Color gamma 9th starting point in straight line section 1D7h[7:0] CGAM_RNG10 Color gamma 10th starting point in straight line section 1D8h[7:0] CGAM_RNG11 Color gamma 11th starting point in straight line section 1D9h[7:0] CGAM_RNG12 Color gamma 12th starting point in straight line section 1C0h[7:0] CGAM_OFST0 Color gamma output at input =0 1C1h[7:0] CGAM_OFST1 Color gamma output at input =CGAM_RNG1 1C2h[7:0] CGAM_OFST2 Color gamma output at input =CGAM_RNG2 1C3h[7:0] CGAM_OFST3 Color gamma output at input =CGAM_RNG3 1C4h[7:0] CGAM_OFST4 Color gamma output at input =CGAM_RNG4 1C5h[7:0] CGAM_OFST5 Color gamma output at input =CGAM_RNG5 1C6h[7:0] CGAM_OFST6 Color gamma output at input =CGAM_RNG6 1C7h[7:0] CGAM_OFST7 Color gamma output at input =CGAM_RNG7 1C8h[7:0] CGAM_OFST8 Color gamma output at input =CGAM_RNG8 4-20 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 1C9h[7:0] CGAM_OFST9 Color gamma output at input =CGAM_RNG9 1CAh[7:0] CGAM_OFST10 Color gamma output at input =CGAM_RNG10 1CBh[7:0] CGAM_OFST11 Color gamma output at input =CGAM_RNG11 1CCh[7:0] CGAM_OFST12 Color gamma output at input =CGAM_RNG12 1CDh[7:0] CGAM_OFST13 Color gamma output at input = the maximum value 4.6.3 Generation of color difference signal The color-difference signal is generated from RGB signals after gamma correction. Please usually use the default value though the color difference signal is generated can be adjusted. Each coefficient is set by the two's complement. R-Y K_UVG1 K_UVG3 R-G K_UVG2 K_UVG4 B-G = B-Y Adr[bit] Register 1DAh[7:0] K_UVG1 R-G coefficient when R-Y is made 1DBh[7:0] K_UVG2 R-G coefficient when B-Y is made 1DCh[7:0] K_UVG3 B-G coefficient when R-Y is made 1DDh[7:0] K_UVG4 B-G coefficient when B-Y is made 4.6.4 Explanation Generation of three reference point A standard color temperature, the state of the lighting, and the object are defined by three conditions (a low color temperature, a middle level, and the high color temperature). The reference parameter that can adjust the white balance is made at each color temperature. White balance gain WBR and WBB are increased and decreased at automatic control so that the integrated value may approach the starting point (no color) within the range of the MIN/MAX restriction. The color difference gain and the color difference matrix gain are calculated by interpolating between the three reference point of REF1, 2, and 3 based on white balance red gain (WBR). SELFIXWB WB_SEL 0 00 0 01 0 10 1 00 1 01 1 10 Adr[bit] 133h[6] 019h[3:2] 11 White balance REF1 fixation REF2 fixation REF3 fixation FIX1 fixation FIX2 fixation FIX3 fixation Self adjustment Register SELFIXWB REG_WB_SEL Color difference gain and color difference matrix gain It fixes in the REF1 parameter group. It fixes in the REF2 parameter group. It fixes in the REF3 parameter group. It fixes in the FIX1 parameter group. It fixes in the FIX2 parameter group. It fixes in the FIX3 parameter group. Linear interpolation by white balance red gain WBR Between MIN and MAX through REF1, REF2, and REF3 Explanation 0: A fixed white balance is set with REF_xxx. 1: A fixed white balance is set with FIX_xxx. 00: Fixed white balance mode 1 (FIX1 or REF1) 01: Fixed white balance mode 2 (FIX2 or REF2) 10: Fixed white balance mode 3 (FIX3 or REF3) 11: Automatic control (REF1,2,3 is used ) 4-21 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.6.5 LR38653 Preliminary Technical Manual Ver0.31 Gain of color difference signal The color difference gain of each area on R-Y and the B-Y axis can be adjusted by the following settings. Three points referred to by automatic control are set to REF_GA_xxx. It is possible to fix to either of the reference points of automatic control with WB_SEL at SEL_FIX_WB=0. It sets to SEL_FIX_WB=1 and used the FIX_xxx group to set a fixed white balance to the point besides the reference point of automatic control. Adr[bit] Register 169h[7:0] REF_GA_R1M 16Ah[7:0] REF_GA_B1M 16Bh[7:0] REF_GA_R1P 16Ch[7:0] REF_GA_B1P 16Dh[7:0] REF_GA_R2M 16Eh[7:0] REF_GA_B2M 16Fh[7:0] REF_GA_R2P 170h[7:0] REF_GA_B2P 171h[7:0] REF_GA_R3M 172h[7:0] REF_GA_B3M 173h[7:0] REF_GA_R3P 174h[7:0] REF_GA_B3P 1E0[7] MODE_MAT 14Bh[7:0] FIX_GA_R1M : : 156h[7:0] FIX_GA_B3P 133h[6] 019h[3:2] SELFIXWB REG_WB_SEL Explanation Color difference gain R-Y (-) (low color temperature) Automatic control reference point Color difference gain B-Y(-) (low color temperature) Automatic control reference point Color difference gain R-Y (+) (low color temperature) Automatic control reference point Color difference gain B-Y (+) (low color temperature) Automatic control reference point Color difference gain R-Y (-) (middle color temperature) Automatic control reference point Color difference gain B-Y (-) (middle color temperature) Automatic control reference point Color difference gain R-Y (+) (middle color temperature) Automatic control reference point Color difference gain B-Y (+) (middle color temperature) Automatic control reference point Color difference gain R-Y (-) (high color temperature) Automatic control reference point Color difference gain B-Y (-) (high color temperature) Automatic control reference point Color difference gain R-Y (+) (high color temperature) Automatic control reference point Color difference gain B-Y (+) (high color temperature) Automatic control reference point Selection of the setteings used in (-) area of each axis. 0: xxxP (same as the (+) area) 1: xxxM (different at the (+) area) Color difference gain at SEL_FIX_WB=1 and fixed white balance 0: A fixed white balance is set with REF_xxx. 1: A fixed white balance is set with FIX_xxx. 00: Fixed white balance mode 1 (FIX1 or REF1) 01: Fixed white balance mode 2 (FIX2 or REF2) 10: Fixed white balance mode 3 (FIX3 or REF3) 11: Automatic control (REF1, 2, 3 is used ) R-Y GA_RxP GA_BxM GA_BxP B-Y GA_RxM 4-22 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.6.6 LR38653 Preliminary Technical Manual Ver0.31 Phase adjustment of color difference The phase of the color-difference signal of each area on R-Y and B-Y axis is adjusted by the following settings. Three points referred to by automatic control are set to REF_MAT_xxx. It is possible to fix to either of the reference points of automatic control with WB_SEL at SEL_FIX_WB=0. It sets to SEL_FIX_WB=1 and the FIX_xxx group is used to set a fixed white balance to the point besides the reference point of automatic control. Adr[bit] Register 175h[7:0] REF_MAT_R1M 176h[7:0] REF_MAT_B1M 177h[7:0] REF_MAT_R1P 178h[7:0] REF_MAT_B1P 179h[7:0] REF_MAT_R2M 17Ah[7:0] REF_MAT_B2M 17Bh[7:0] REF_MAT_R2P 17Ch[7:0] REF_MAT_B2P 17Dh[7:0] REF_MAT_R3M 17Eh[7:0] REF_MAT_B3M 17Fh[7:0] REF_MAT_R3P 180h[7:0] REF_MAT_B3P 157h[7:0] FIX_MAT_R1M : : 162h[7:0] FIX_MAT_B3P 1E0h[7] MODE_MAT 133h[6] SELFIXWB 019h[3:2] REG_WB_SEL R-Y MAT_RxP (-) Explanation Amount of B-Y correction of color difference matrix R-Y (-) (low color temperature) Amount of R-Y correction of color difference matrix B-Y (-) (low color temperature) Amount of B-Y correction of color difference matrix R-Y (+) (low color temperature) Amount of R-Y correction of color difference matrix B-Y (+) (low color temperature) Amount of B-Y correction of color difference matrix R-Y (-) (medium color temperature) Amount of R-Y correction of color difference matrix B-Y (-) (medium color temperature) Amount of B-Y correction of color difference matrix R-Y (+) (medium color temperature) Amount of R-Y correction of color difference matrix B-Y (+) (medium color temperature) Amount of B-Y correction of color difference matrix R-Y (-) (high color temperature) Amount of R-Y correction of color difference matrix B-Y (-) (high color temperature) Amount of B-Y correction of color difference matrix R-Y (+) (high color temperature) Amount of R-Y correction of color difference matrix B-Y (+) (high color temperature) Color difference matrix at SEL_FIX_WB=1 and fixed white balance Selection of the setteings used in (-) area of each axis. 0: xxxP (same as the (+) area) 1: xxxM (different at the (+) area) 0: A fixed white balance is set with REF_xxx. 1: A fixed white balance is set with FIX_xxx. 00: Fixed white balance mode 1(FIX1 or REF1) 01: Fixed white balance mode 2(FIX2 or REF2) 10: Fixed white balance mode 3(FIX3 or REF3) 11: Automatic control (REF1, 2, 3 is used. ) MAT_RxP (+) MAT_BxM (-) MAT_BxP (+) MAT_BxM (+) MAT_BxP (-) B-Y MAT_RxM (+) MAT_RxM (-) 4-23 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 4.6.7 Color suppression There are four kinds of color suppression processing of this LSI: high luminance and partial color suppression, low brightness partial color suppression, color suppression at low illuminance and edge part color suppression. ・ Edge color suppression It is a function to suppress the false color generated in the edge part of the horizontal and vertical direction. The color is suppressed by suppressing the color difference gain (The gain of one or less is multiplied) by the signal generated putting the gain after a low-level part of the edge signal of brightness is done in the clip. ・ Adr[bit] Register 1E1h[6] CKIL_OFF 200h[7:0] 201h[7:0] CKIHELE CKIVELE 202h[7:4] CKIHEGA 202h[3:0] CKIVEGA 204h[5] CKISFT 204h[6] CKISEL0 204h[7] CKISEL1 Explanation 0: Usually 1: The color is not suppressed. The horizontal edge signal of CKI_HELE or less is clipped. The vertical edge signal of CKI_VELE or less is clipped. Gain put on the horizontal edge signal after low-level clip for the edge color suppression gain signal generation Gain put on the vertical edge signal after low-level clip for the edge color suppression gain signal generation Circuit gain adjustment of edge color suppression signal (bit shift) 0: It averages by the horizontal two pixels. 1: It doesn't average by the horizontal two pixels. Operation setting of edge color suppression 0: Usually 1: Only a minus part(dark side) of the edge signal is suppressed. ・ High luminance and low brightness partial color suppression It is a function to suppress the color signal of the high luminance part and the low brightness part in the image. The color suppression level is decided by the signal calculated by the following expressions. The color is suppressed by multiplying the color difference gain by this color suppression level. (Brightness signal (Before the gamma) - CKI_HCL) × CKI_HGA (CKI_LCL - Brightness signal (Before the gamma)) × CKI_LGA Adr[bit] Register 1E3h[7:0] CKI_LCL 1E2h[7:0] CKI_HCL 1E4h[3:0] CKI_LGA Explanation The color suppression is done to the pixel of the brightness as CKI_LCL or less The color suppression is done to the pixel of the brightness as CKI_HCL or more Gain of low brightness color suppression 1E4h[7:4] CKI_HGA Gain of high luminance color suppression ・ Color difference noise suppression It is possible to make it to colorlessness by doing the clip because there is a possibility of the noise in the part of low-level about the color-difference signal. Adr[bit] Register Explanation 1E6h[7:4] NSUP_R The R-Y signal of NSUP_R or less is adjusted to 0. 1E6h[3:0] NSUP_B The B-Y signal of NSUP_B or less is adjusted to 0. 4-24 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.6.8 LR38653 Preliminary Technical Manual Ver0.31 Adjustment of white balance to white sample The white balance gain in the three reference point is decided. However, white balance blue gain REF_WBB1, 2, 3 are used when adjusting it for the reference, there are not used in automatic control. Adr[bit] Register Explanation 163h[7:0] REF_WBR1 White balance red gain (low color temperature) 164h[7:0] REF_WBB1 White balance blue gain (low color temperature) 165h[7:0] REF_WBR2 White balance red gain (middle color temperature) 166h[7:0] REF_WBB2 White balance blue gain (middle color temperature) 167h[7:0] REF_WBR3 White balance red gain (high color temperature) 168h[7:0] REF_WBB3 White balance blue gain (high color temperature) Please, set each values to meet the below conditions. REF_WBR1 ≤ REF_WBR2 ≤ REF_WBR3 REF_WBB1 ≤ REF_WBB2 ≤ REF_WBB3 R-Y WBR (+) WBB(-) White WBB(+) WBR (-) B-Y 4-25 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.7. LR38653 Preliminary Technical Manual Ver0.31 White balance control 4.7.1 Fixation of AWB When the adjustment of the circuit gains of the brightness gamma, the color separation matrix, the color difference gain, and etc. and automatic control are unnecessary, the white balance control can be fixed by the following settings. Adr[bit] Register 019h[3:2] REG_WB_SEL 4.7.2 Explanation 00: Fixed white balance mode 1 01: Fixed white balance mode 2 10: Fixed white balance mode 3 11: Automatic white balance mode Adjustment of AWB multiplication frame Color difference information on the pixel that enters in the set frame is averaged on the IQ axis, and the error margin of the white balance in the no coloring part is calculated. The multiplication frame is set by four parameters of AWB_IP, AWB_IM, AWB_QP, and AWB_QM as shown in figure below (a). Moreover, the extraction condition in the no coloring part can be adjusted in proportion to the color temperature as shown in figure below (b). I I WBR Smallness Q AWB_I Q AWB_Q WBR Largeness AWB_QM AWB_I (a) (b) When the extraction frame is adjusted in proportion to the color temperature, the frame at the lowest color temperature (WBR value considerably) set with MIN_WBR is set to the AWB_xx_S register by the absolute value, and the inclination of the change is set there to the AWB_K_xx register by the two's complement. Multiplication frame AWB_QP, AWB_QM, AWB_IP, and AWB_IM are calculated according to present white balance red gain WBR. AWB_IP_S AWB_Q AWB_QP_S AWB_IP Present WBR MAX_WBR MIN_WB AWB_IM_S AWB_Q AWB_QM_S AWB_IM Inclination =AWB_K_QP AWB_K_QM Inclination =AWB_K_IP AWB_K_IM 4-26 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 Adr[bit] Register 13Fh[7:0] AWB_IP_S 140h[7:0] AWB_IM_S 141h[7:0] AWB_QP_S 142h[7:0] AWB_QM_S 12Ch[7:0] AWB_K_IP 12Dh[7:0] AWB_K_IM 12Eh[7:0] AWB_K_QP 12Fh[7:0] AWB_K_QM 132h[7:0] MIN_WBR Explanation Integrating range on side I(+) axis in lowest color temperature (absolute value) Integrating range on side I(-) axis in lowest color temperature (absolute value) Integrating range on side Q(+) axis in lowest color temperature (absolute value) Integrating range on side Q(-) axis in lowest color temperature (absolute value) It is a change coefficient of the synchronizing multiplication of I(+) axis frame in WBR (two's complement) It is a change coefficient of the synchronizing multiplication of I(-) axis frame in WBR (two's complement) It is a change coefficient of the synchronizing multiplication of Q(+) axis frame in WBR (two's complement) It is a change coefficient of the synchronizing multiplication of Q(-) axis frame in WBR (two's complement) Minimum value restriction of WBR 131h[7:0] MAX_WBR Maximum value restriction of WBR The range of brightness of the multiplication object for the white balance control can be restricted. The part in the IQ multiplication frame is multiplied with AWB_HCL or less from AWB_LCL or more as shown in the following figures. AWB_HCL AWB_LCL 4-27 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 The range of the multiplication brightness for the white balance can adjust a low range to multiply the high luminance part comparatively when it is bright when it is dark according to the exposure level of data. High luminance side restriction value = AWB_HCL + [((K_CL)×(H peak) + (256-K_CL)×(L peak))/256-REF_WBPK] × K_WBCL/128 Low luminance side restriction value = AWB_LCL + [((K_CL)×(H peak) + (256-K_CL)×(L peak))/256-REF_WBPK] ×K_WBCL/128 [Brightness] HPEAK 256-K_CL .. K_CL Exposure level ×K_WBCL/128 LPEAK REF_WBPK [Brightness] AWB_HCL AWB_LCL Proper under REF_WBPK Adr[bit] Register 13Ah[7:0] 13Bh[7:0] 13Dh[7:0] AWBHCL AWBLCL K_CL 13Eh[7:0] 13Ch[7:0] K_WBCL REF_WBPK Range of multiplication =[((K_CL)×(H peak)+(256-K_CL)×(L peak))/256 - REF_WBPK]×K_WBCL/128 Exposing exaggerated Explanation Multiplication brightness range upper bound for AWB Multiplication brightness range lower bound for AWB Ratio of HPEAK:LPEAK ratio Exposure level calculation adjustment when LCL, AWB_HCL is adjusted. AWB_HCL Adjustment sensitivity from register value AWB_HCL/LCL Adjustment beginning level 4-28 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 4.7.3 range of AWB multiplication The part that multiplies the IQ data for the white balance can be limited. Moreover, a central emphasis can be multiplied by calculating the multiplication of the multiplication of a limited part and the entire screen in the ratio though it is all screen multiplication. Adr[bit] Register Explanation 121h[7:0] CWPA_IQ The central emphasis part is set. (The breakdown of each bit is as follows.) [7:6] CWP_IQ_H On the left position of central emphasis multiplication (horizontal) [5:4] CWP_IQ_V [3:2] CWA_IQ_H [1:0] CWA_IQ_V 120h[6:0] CW_IQ On the left position of central emphasis multiplication (vertical) Central emphasis multiplication size (set the number of horizontal multiplication blocks -1) Central emphasis multiplication size (set the number of vertical multiplication blocks -1) Ratio of central emphasis multiplication data The white block in the figure below is a central emphasis part. CWP_IQ_V CWP_IQ_H 00 01 10 11 CWA_IQ_H=01 00 01 Multiplication 10 11 CWA_IQ_V=0 (example) The example when CWPA_IQ is set respectively is shown. Multiplication Multiplication object:4×3 Multiplication object:2×4 Multiplication object:1×2 CWPA_IQ =1Eh (00,01,11,10) CWPA_IQ=87h(10,00,01,11) CWPA_IQ=41h(01,00,00,01) The one that the mean value of the central emphasis multiplication and all screen multiplication was calculated as follows in the ratio of CW_IQ:64-CW_IQ is evaluated as an amount of the white balance error margin. + Multiplication ((Central emphasis)×CW_IQ + (All screen multiplication) × (64-CW_IQ) )/64 4-29 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 4.7.4 Adjustment of AWB fixation frame This LSI adjusts the gain of R and B based on the error margin from the starting point of the IQ integrated value (color no) and adjusts the white balance. As a result, when the IQ integrated value enters in a final frame to which I and Q are set with both AWB_IW_S and AWB_QW_S, the AWB operation is stopped. The AWB operation is restarted when going out outside the restart judgment frame to which either of I or Q of the IQ integrated value is set with AWB_IW_L and AWB_QW_L by subject's changing after fixing AWB. Hysteresis can be given by setting the restart judgment frame of AWB_IW_L and AWB_QW_L more greatly than a final frame of AWB_IW_S and AWB_QW_S. Moreover, when the exposure is steady, the operation of AWB is oppressed. AWB operation is delayed the predetermined number for WAIT_NUM if the error margin of exposure level and exposure target value REF_IRIS is CTLD_AW or less after fixing AWB. I Restart frame Q fixation frame AWB_QW_L AWB_IW_S Restart Operation Stop AWB_IW_L AWB_QW_ Adr[bit] Register Explanation 12Bh[7:4] AWB_IW_S AWB fixation frame (I axis) 12Bh[3:0] AWB_QW_S AWB fixation frame (Q axis) 143h[6:0] AWB_IW_L AWB restart judgment frame (I axis for hysteresis) 144h[6:0] AWB_QW_L 130h[7:0] CTLD_AW0 134h[2:0] WAIT_NUM AWB restart judgment frame (Q axis for hysteresis) If the error margin to REF_IRIS at the exposure level is this register or less, the restart judgment of AWB is delayed. When the exposure is fixed, only a set number delays the restart judgment. (Note) A fixation frame and the restart frame become the same by the positive and negative direction for the IQ axis. 4-30 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 4.7.5 Restriction of AWB range of motion This LSI automatically increases and decreases the gain of R and B element (internal signal WBR and WBB) based on the IQ integrated value for the white balance adjustment. The adjustable range of WBR and WBB can be restricted, and the color drawing in by the follow of an extreme color temperature to the source of light and the mis-detection of white be prevented. White balance red gain (WBR) can set minimum value and the maximum value. White balance blue gain (WBB) can set minimum value and the maximum value by the characteristic set to WBR by the straight line. Adr[bit] 131h[7:0] 132h[7:0] 188h[7:0] 189h[7:0] 18Ah[7:0] 18Bh[7:0] 18Ch[7:0] 18Dh[7:0] 18Eh[7:0] 18Fh[7:0] 190h[7:0] 191h[7:0] 192h[7:0] : 19Bh[7:0] Register MAX_WBR MIN_WBR MAX_WBB_OFST0 MAX_WBB_OFST1 MAX_WBB_OFST2 MAX_WBB_OFST3 MAX_WBB_OFST4 MAX_WBB_OFST5 MAX_WBB_OFST6 MAX_WBB_OFST7 MAX_WBB_OFST8 MAX_WBB_OFST9 MIN_WBB_OFST0 : MAX_WBB_OFST9 Explanation Upper bound value of white balance red gain (WBR) Lower bound value of white balance red gain (WBR) WBB upper bound value at WBR=0 WBB upper bound value at WBR=64 WBB upper bound value at WBR=96 WBB upper bound value at WBR=112 WBB upper bound value at WBR=128 WBB upper bound value at WBR=144 WBB upper bound value at WBR=160 WBB upper bound value at WBR=192 WBB upper bound value at WBR=256 WBB upper bound value at WBR=511 WBB lower bound value at WBR=0 : WBB lower bound value at WBR=511 WBB MAX_WBB_OFST3 MIN_WBB_OFST2 WBR 0 128 256 511 (Note) Internal signal WBR and WBB take the value of 0-511. MIN_WBR, MAX_WBR, MIN_WBB_OFS0-9, and MAX_WBB_OFS0-9 set high rank 8bit. On the other hand, REF_WBR (B) 1, 2, 3, and FIX_WBR (B) 1, 2, 3 set subordinate position 8bit. Moreover, please decrease in all sections or set to become the same MAX_WBB_OFS0-9 and MIN_WBB_OFS0-9. 4-31 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 4.7.6 AWB operation speed The AWB operation speed can be adjusted by setting the following settings. It is possible one time to thin out as the operation of AWB is several-time by setting it to the CMP_CT register by the number of the AWB operation interval of fields. The IQ integrated value is decreased in the setting of the IQ_LPF register and the change according to peculiar data can be decreased to past data by smoothing it. IQ_LPF 00 01 1x LPF operation of IQ Mean value at 4 vertical period Mean value at 2 vertical period LPF none The amount of the change that increases and decreases by the AWB adjustment once can be adjusted by adjusting proportion coefficient K_WBR_H and K_WBB_H in that case though white balance gain WBR and WBB are increased and decreased in proportion to the amount of the error margin from the starting point of the IQ integrated value. 4.7.7 Adr[bit] Register Explanation 139h[7:0] CMP_CT 133h[1:0] IQ_LPF 137h[7:0] K_WBR_H 138h[7:0] K_WBB_H AWB operation interval(number of fields) After the IQ integrated value is smoothed between frames, the error margin is judged. The amount of the change increased and decreased by the AWB adjustment once is adjusted. (red gain) The amount of the change increased and decreased by the AWB adjustment once is adjusted. (blue gain) Other AWB parameter Adr[bit] Register Explanation It is judged that there is not the non coloring pixel if the 123h[7:0] AWB_ZERO_CO number of data in the IQ multiplication frame is below this set value. 4-32 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.7.8 LR38653 Preliminary Technical Manual Ver0.31 Self adjustment of parameter that synchronizes with automatic control This LSI synchronizes with the automatic control of building into, and adjusts the following signal processing parameter automatically. Color suppression level IQ integrating range for AWB Range of brightness multiplication for AWB Quantities of light in surrounding (AGC value, Exposure multiplication value at MAX.) It synchronizes with white balance red gain WBR (There are a color temperature and a correlation) It synchronizes with level HPEAK LPEAK in brightness. Please refer to the chapter of the explanation of the white balance for the adjustment of the AWB integrating range. ・ Color suppression level Color suppression level can be automatically made strong by judging the decrease in quantities of light of subject from the AGC value and the exposure multiplication value when it is dark. To invalidate this automatic adjustment, it is set as COL_H=COL_Y=0. Exposing under Proper exposure Inclination : COL_H Inclination: COL_Y COL_S AGC value MAX_AGC MAX_AGC Exposure multiplication Light intensity of subject: Less Adr[bit] Register Explanation 211h[7:0] COL_S The color suppression level increase beginning point (AGC value). 212h[5:0] COL_H 210h[5:0] COL_Y AGC synchronization coefficient at color suppression level. Exposure integration value synchronization coefficient at color suppression level 4-33 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL 4.8. LR38653 Preliminary Technical Manual Ver0.31 Output adjustment 4.8.1 Adjustment of encoders The operation mode of the encoder and the level is set by the following settings. Adr[bit] 001h[5] 001h[3] 002h[6] 002h[7] 01Fh[7] 01Fh[6:0] Register Explanation 0: NTSC TVMD 1: PAL 0: Usually NI 1: Non-interlace display 0: Usually STANDBY_DAC 1: DAC standby (There is no analog output. ) SEL_FSC fixed to 0 0: The black level setup is added. ZERO_CTRL 1: It doesn't add. SETUP The setup level is adjusted. 020h[7:0] SYNCLEV 021h[5] ENC_MUTE 021h[4:0] OUTGA The height of CSYNC of the video wave form is adjusted. 0: Usually 1: The color-difference signal is not superimposed. The output gain is adjusted. 023h[7:0] BAS_B The amplitude of color burst signal (B-Y) is adjusted. 022h[7:0} BAS_R The amplitude of color burst signal (R-Y) is adjusted. (Note) Please use OUTGA basically like 1.0 times (10h). 4-34 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 4.8.2 Adjustment of digital output There is no regulating function with the reference color bar at a digital output because there are neither a gain with the video filter nor a possibility of attenuation by the transmission route etc. When the gain adjustment in the signal processing further output steps is necessary in using the analog output with a digital output together, and the design of the entire system including the display system, it adjusts it by the following registers. Adr[bit] Register Explanation 01Eh[7:0] DIG_Y_GAIN Brightness gain for digital output 1DEh[7:0] DIG_U_GAIN Color difference gain for digital output (B-Y) 1DFh[7:0] DIG_V_GAIN 01Bh[1:0] HD_SEL 01Ch[1:0] VD_SEL 01Ah[2:0] CSYNC_SEL 002h[0] OUT_MODE[0] 002h[1] OUT_MODE[1] 002h[2] OUT_MODE[2] Color difference gain for digital output (R-Y) Output selection of terminal HD 00: HD (horizontal synchronizing signal of timing generator) 10: 'L' output fixation 11: HREF (horizontal effective signal of digital output) Additionally: The prohibition. Output selection of terminal VS 00: VD (vertical synchronizing signal of timing generator) 10: 'L' output fixation 11: VS (vertical effective signal of digital output) Additionally: The prohibition. Output selection of terminal CSYNC 000: 'L' output fixation 010: Sampling clock RCLK is output. 100: CSYNC Additionally: The prohibition. 0: Y[7:0] and UV[7:0] are fixed in L. 1: Y[7:0] and UV[7:0] are usually used. 0: YUV output 1: UYVY output (Prohibit it at SCCD=0. ) fixed to 1 ・ digital output image size TVMD SCCD CCD 0 0 1 1 0 1 0 1 270,000 pixels 410,000 pixels 320,000 pixels 470,000 pixels X 502 754 492 736 Output size Y 484 (242*2) 484 (242*2) 574 (287*2) 574 (287*2) Frame rate 60field/sec 60field/sec 50field/sec 50field/sec 4-35 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL ・ ・ ・ VD (VS) HD (HREF) CSYNC (RCLK) Technical Manual Ver0.31 Y7-Y0 Y[0] Y[1] Y[2] Y[3] Y[4] … Y[498]Y[499]Y[500]Y[501] Y[0] Y[1] Y[2] UV7-UV0 U[0] V[0] … U[498]V[498]U[500]V[500] U[0] V[0] U[2] V[2] U[4] horizontal timing of digital YUV output (last of the field) VD (VS) HD (HREF) CSYNC (RCLK) Y7-Y0 Y[0] Y[1] Y[2] Y[3] Y[4] … Y[498]Y[499]Y[500]Y[501] UV7-UV0 U[0] V[0] … U[498]V[498]U[500]V[500] U[2] V[2] U[4] horizontal timing of digital UYUV output HD (HREF) CSYNC (RCLK) U[0] Y[0] V[0] Y[1] U[2] Y[2] V[2] Y[3] U[4] Y[4] V[4] Y[5] … U[752]Y[752]V[753]Y[753] vertical timing of digital output When VS=0, HREF is not outputted. VD (VS) HD (HREF) CSYNC (RCLK) Y7-Y0 (ODD field) UV7-UV0 (EVEN field) ・ Preliminary horizontal timing of digital YUV output (top of the field) Please set the terminal of VD, HD and CSYNC to output the VS, HREF and RCLK by settings of VD_SEL, HD_SEL and CSYNC_SEL respectively. Please latch the valid data when VS=HREF=1 with the falling edge of RCLK. RCLK is outputted during VS=HREF=0.When SCCD=0, RCLK is stopped temporarily during horizontal branking period. Y7-Y0 ・ LR38653 0 2 4 478 480 482 1 3 5 479 481 483 field judging For a field judging signal is not outputted, please check it by the followed method. (1) By the phase relation between HD and VD. (2) After reset released, care about the outer field judging signal by the 1st VS output. field judging (NTSC) VD (VD) HD (HD) EVEN ODD EVEN EVEN ODD EVEN field judging (PAL) VD (VD) HD (HD) 4-36 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. U[2] CONFIDENTIAL 4.9. LR38653 Preliminary Technical Manual Ver0.31 Additions 4.9.1 Table of exposure control The address on the teble is exposure control by increased or decreased. REF_AGC: The lowest AGCgain (set values) × 0.34dB add But these are calculating values not dispersion of characteristic. NTSC (270thousand pixels, 410thousand pixels CCD) exposure tables NTSC (27万 画 素 、41万 画 素 CCD)露 出 テー ブル REF_AGC= for 20h REF_A GC=20hの 場 合 SHT:露 光 時 間time (ms)(ms) SHT : Exposure A G C:ゲ イ ン (dB ) AGC : gain (db) No. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 SHT 0.0125 0.0125 0.0125 0.0136 0.0136 0.0136 0.0150 0.0150 0.0150 0.0164 0.0164 0.0164 0.0181 0.0181 0.0181 0.0201 0.0201 0.0201 0.0223 0.0223 0.0223 0.0248 0.0248 0.0248 0.0275 0.0275 0.0275 0.0307 0.0307 0.0307 0.0345 0.0345 0.0345 0.0390 0.0390 0.0390 0.0443 0.0443 0.0443 0.0503 0.0503 0.0503 0.0571 0.0571 0.0571 0.0648 0.0648 0.0648 0.0738 0.0738 0.0738 0.0843 0.0843 0.0843 0.0950 0.0950 0.0950 0.106 0.106 0.106 A GC 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 No. 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 SHT 0.118 0.118 0.118 0.132 0.132 0.132 0.148 0.148 0.148 0.166 0.166 0.166 0.188 0.188 0.188 0.211 0.211 0.230 0.230 0.251 0.251 0.275 0.275 0.275 0.305 0.305 0.305 0.338 0.338 0.369 0.369 0.402 0.402 0.433 0.433 0.466 0.466 0.466 0.529 0.529 0.529 0.593 0.593 0.593 0.656 0.656 0.720 0.720 0.783 0.783 0.847 0.847 0.910 0.910 0.974 0.974 1.038 1.038 1.101 1.101 A GC 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 No. 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 SHT 1.165 1.165 1.228 1.292 1.355 1.419 1.483 1.546 1.610 1.673 1.737 1.800 1.864 1.927 1.991 2.055 2.118 2.182 2.245 2.309 2.372 2.436 2.499 2.563 2.690 2.817 2.944 3.071 3.199 3.326 3.453 3.580 3.707 3.834 4.025 4.215 4.406 4.597 4.787 4.978 5.232 5.487 5.741 5.995 6.249 6.503 6.821 7.139 7.457 7.775 8.156 8.537 8.919 9.363 9.808 10.253 10.762 11.270 11.842 12.414 A GC 2.9 3.3 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 No. 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 SHT 13.050 13.685 14.384 15.084 15.846 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 AGC 2.9 2.9 2.9 2.9 2.9 2.9 3.3 3.6 4.0 4.3 4.7 5.0 5.3 5.7 6.0 6.4 6.7 7.1 7.4 7.8 8.1 8.4 8.8 9.1 9.5 9.8 10.2 10.5 10.9 11.2 11.5 11.9 12.2 12.6 12.9 13.3 13.6 14.0 14.3 14.6 15.0 15.3 15.7 16.0 16.4 16.7 17.1 17.4 17.7 18.1 18.4 18.8 19.1 19.5 19.8 20.2 20.5 20.8 21.2 21.5 No. 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 SHT 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 16.609 AG C 21.9 22.2 22.6 22.9 23.3 23.6 23.9 24.3 24.6 25.0 25.3 25.7 26.0 26.4 26.7 27.0 27.4 27.7 28.1 28.4 28.8 29.1 29.5 29.8 30.1 30.5 30.8 31.2 31.5 31.9 32.2 32.6 32.9 33.2 33.6 33.9 34.3 34.6 35.0 35.3 35.7 4-37 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 PAL (320thousand pixels, 470thousand pixels CCD) exposure tables PAL (32万画素、47万画素CCD)露出テーブル REF_AGC= for 20h REF_AGC=20hの場合 SHTSHT:露光時間(ms) : Exposure time (ms) AGCAGC:ゲイン(dB) : gain (db) No. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 SHT AGC 0.0125 2.9 0.0125 3.3 0.0125 3.6 0.0136 2.9 0.0136 3.3 0.0136 3.6 0.0150 2.9 0.0150 3.3 0.0150 3.6 0.0164 2.9 0.0164 3.3 0.0164 3.6 0.0181 2.9 0.0181 3.3 0.0181 3.6 0.0199 2.9 0.0199 3.3 0.0199 3.6 0.0221 2.9 0.0221 3.3 0.0221 3.6 0.0247 2.9 0.0247 3.3 0.0247 3.6 0.0274 2.9 0.0274 3.3 0.0274 3.6 0.0305 2.9 0.0305 3.3 0.0305 3.6 0.0344 2.9 0.0344 3.3 0.0344 3.6 0.0389 2.9 0.0389 3.3 0.0389 3.6 0.0441 2.9 0.0441 3.3 0.0441 3.6 0.0501 2.9 0.0501 3.3 0.0501 3.6 0.0569 2.9 0.0569 3.3 0.0569 3.6 0.0647 2.9 0.0647 3.3 0.0647 3.6 0.0737 2.9 0.0737 3.3 0.0737 3.6 0.0840 2.9 0.0840 3.3 0.0840 3.6 0.0947 2.9 0.0947 3.3 0.0947 3.6 0.1058 2.9 0.1058 3.3 0.1058 3.6 No. 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 SHT 0.1181 0.1181 0.1181 0.1319 0.1319 0.1319 0.1474 0.1474 0.1474 0.1660 0.1660 0.1660 0.1874 0.1874 0.1874 0.2108 0.2108 0.2295 0.2295 0.2508 0.2508 0.2742 0.2742 0.2742 0.3047 0.3047 0.3047 0.3377 0.3377 0.3681 0.3681 0.4011 0.4011 0.4316 0.4316 0.4645 0.4645 0.4645 0.5279 0.5279 0.5279 0.5913 0.5913 0.5913 0.6547 0.6547 0.7182 0.7182 0.7816 0.7816 0.8450 0.8450 0.9084 0.9084 0.9718 0.9718 1.04 1.04 1.10 1.10 AGC 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 3.6 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 2.9 3.3 No. 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 SHT 1.162 1.162 1.225 1.289 1.352 1.416 1.479 1.543 1.606 1.669 1.733 1.796 1.860 1.923 1.986 2.050 2.113 2.177 2.240 2.304 2.367 2.430 2.557 2.684 2.811 2.938 3.065 3.191 3.318 3.445 3.572 3.699 3.826 4.016 4.206 4.396 4.587 4.777 4.967 5.157 5.411 5.665 5.918 6.172 6.426 6.743 7.060 7.377 7.694 8.074 8.455 8.835 9.279 9.723 10.17 10.67 11.18 11.69 12.26 12.83 AGC 2.9 3.3 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 No. 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 SHT 13.465 14.099 14.797 15.494 16.255 17.080 17.904 18.792 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 AGC 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 2.9 3.3 3.6 4.0 4.3 4.7 5.0 5.3 5.7 6.0 6.4 6.7 7.1 7.4 7.8 8.1 8.4 8.8 9.1 9.5 9.8 10.2 10.5 10.9 11.2 11.5 11.9 12.2 12.6 12.9 13.3 13.6 14.0 14.3 14.6 15.0 15.3 15.7 16.0 16.4 16.7 17.1 17.4 17.7 18.1 18.4 18.8 19.1 19.5 19.8 20.2 20.5 No. 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 SHT 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 19.743 AGC 20.8 21.2 21.5 21.9 22.2 22.6 22.9 23.3 23.6 23.9 24.3 24.6 25.0 25.3 25.7 26.0 26.4 26.7 27.0 27.4 27.7 28.1 28.4 28.8 29.1 29.5 29.8 30.1 30.5 30.8 31.2 31.5 31.9 32.2 32.6 32.9 33.2 33.6 33.9 34.3 34.6 35.0 35.3 35.7 4-38 © 2006 SHARP Corporation All rights reserved. SHARP Corporation reserves the right to change products or specifications without notice. CONFIDENTIAL LR38653 Preliminary Technical Manual Ver0.31 5. Register List The set register is descrived from the external EEPROM and external host as follows. A set value of a part of register is changed Whe user code written in EEPROM and user code set to DSP are different. Please be sure to contact SHARP About the allocation of each user code Please set a specified value to the register for the following tests Address 041h - 044h, 204h[7] Moreover, please the register written Reserved use an initial value Adr Bit RegisterName 7 6 Reserved 001 5 5 TVMD 4 4 SCCD 3 3 NI 2 2 Reserved 7 7 SEL_FSC 6 6 STANDBY_DAC 002 4 2 Reserved 1 1 0 0 003 4 004 3 005 3 7 0 Reserved 0 Reserved 0 Reserved 7 MUTE_ON 00A 00F 6 0 MUTE_TI 7 4 Reserved 3 2 SEL_FH1 1 0 SEL_FH2 6 4 SEL_FS 010 2 0 SEL_FCDS 6 4 SEL_ADCK2 3 7 0 Reserved 6 Reserved 5 4 SEL_FR1 3 3 SEL_FR 2 0 SEL_FR2 013 7 014 7 015 7 0 Reserved 0 Reserved 0 Reserved 011 012 Description CCD, Video method 0: NTSC 1: PAL Selection of number of pixels 0: 270/320 thousands of pixels 1: 410/470 thousand of pixels Non-interlaced mode 0: Normal(interlaced) 1: Non-interlaced The modelation color signal clock 0: 8fsc (NTSC), 5/32fsc (PAL) 1: 4fsc Set 0 when PAL mode(TVMD=1). Standby of D/A converter 0: Normal 1: Standby Selecting of the digital output mode 0: YUV 16bit the output Parallel. 1: UYVY 8bit the output Parallel. Set 0 when select of 270/320 thousands pixels(SCCD=0) Presence or absence of the digital output 0: Not the digital output 1: The digital outputt Output mute setting at the time of the power turned on ON/OFF 0: The mute is not used. 1: The mute outputs it only at set time Output mute setting at the time of the power turned on ON/OFF Set by the vertical period number phase adjustment for FH1 00: standard - 11: delay 3ns phase adjustment for FH2 00: standard - 11: delay 3ns phase adjustment for FS 000: standard - 111: delay 14ns phase adjustment for FCDS 000: standard - 111: delay 14ns phase adjustment for ADCK 000: standard - 111: delay 14ns phase adjustment for FR 00: standard - 11: delay 3ns FR polarity inverse 0: normal 1: inverse phase adjustment for the falling edge of FR 000: standard - 111: delay 7ns - 5-1 init R/W R/W R/W 00h R/W R/W R/W R/W R/W 04h R/W R/W R/W 00h 00h 08h R/W R/W R/W R/W 86h R/W R/W 00h R/W R/W R/W 11h R/W 00h R/W R/W R/W R/W 00h R/W R/W 00h 00h 00h R/W R/W R/W (c)2006 SHARP Corporation All rights reserved. CONFIDENTIAL Adr Bit 016 1 7 RegisterName 0 OBINVMD 7 REG_AGCSW 018 019 0 0 SW_SEL 7 4 REG_EEMD 3 2 REG_WB_SEL 1 1 REG_BLC 0 0 REG_MIR 7 7 INV_CSYNC 6 3 Reserved 01A 2 0 CSYNC_SEL 7 7 INV_HD 6 2 Reserved 01B 1 0 HD_SEL 7 7 INV_VD 6 2 Reserved 01C 01D 1 0 VD_SEL 7 5 MONI_SEL 4 01E 7 01F 0 Reserved 0 DIG_Y_GAIN 7 7 ZERO_CTRL 6 0 SETUP LR38653 Description Operation at the time of the Black Out is detected 00: Nothing is done. 01: FR is reversed. 10: FH1,2 are inversed. 11: Forbidden AGC autmatic control is stopped 0: Autmaticy control 1: The fixed AGC(REF_AGC) When SW SEL='0', terminal Y7 is valid instead of this Selection of settings when TEST2,3="11" 0: Terminal UV[7:0] and Y[7] is valid 1: Register (adrs 018h,019h) is valid When TEST2,3 ≠"11", please set to '1' Adjustment of shutter speed 0000: 1/60 : 1010: 1/100000 1110: Autmatic (control with MAX_SH) 1111: Autmatic When SW SEL='0', terminal UV7-4 is valid instead of thi Selecting of white balance mode 00: WB1fixed mode 01: WB2fixed mode 10: WB3fixed mode 11: Autmatic control When SW SEL='0', terminal UV3-2 is valid instead of thi Switching of backlight mode 0: Normal 1: Backlight When SW SEL='0', terminal UV1 is valid instead of this Switching of image mode 0: Normal 1: Mirror When SW SEL='0', terminal UV0 is valid instead of this CSYNC polarity inverse 0: inverse 1: normal Output signal from CSYNC termina 000: L fixed 010: RCLK 100: CSYNC others: Forbidden HD polarity inverse 0: normal 1: inverse Output signal from HD 00: HREF (horizontal valid signal of digital output) 01: HD (CCD horizontal driving pulse) 11: L fixed others: Forbidden VD polarity inverse 0: normal 1: inverse Output signal from VD 00: VS (vertical valid signal of digital output) 01: VD (CCD vertical driving pulse) 11: L fixed others: Forbidden Switching ofoutput for testing 000: Normal 001: Color bar others: Forbidden Gain for luminance signal of digital outpu Addition adjustment by setup level 0: Not addition of setup level 1: Addition of setup leve Setup level (two's complement number 5-2 Preliminary Technical Manual Ver0.31 init R/W 00h R/W R/W 01h R/W R/W FDh R/W R/W R/W R/W R/W 86h R/W R/W R/W 03h R/W R/W R/W 03h R/W 00h 78h A4h R/W R/W R/W R/W R/W (c)2006 SHARP Corporation All rights reserved. CONFIDENTIAL Adr Bit RegisterName 020 7 0 SYNCLEV 6 6 SYNC_OFF 5 5 ENC_MUTE 4 0 OUTGA 7 7 BAS_R 6 0 BAS_R 7 7 BAS_B 6 7 0 BAS_B 7 Reserved 040 6 6 CB_FIX 021 022 023 041 042 043 044 5 7 7 7 7 0 0 0 0 0 Reserved FIX_CB1 FIX_CB2 FIX CB3 FIX CB4 045 7 0 MRR 046 047 048 049 04A 04B 04C 04D 04E 7 7 7 7 7 7 7 7 7 5 3 7 7 7 7 0 0 0 0 0 0 0 0 0 4 0 0 0 0 2 1 1 EE_LPF_H 053 054 055 056 MRG MRB MGR MGG MGB MBR MBG MBB Reserved FIX AGC1[9:8] Reserved FIX AGC1[7:0] Reserved Reserved Reserved 060 0 070 7 071 0 7 072 0 0 EE_LPF_L 0 MAX_SH[7:0] 0 MAX_SH[8] 1 Reserved 0 MIN_SH_SEL 073 7 0 MAX_AGC[7:0] 074 0 0 MAX_AGC[8] 080 0 0 AGC_FIX 081 7 0 REF_AGC 083 084 085 100 0 0 0 0 7 7 7 7 Reserved Reserved AFE_OFFSET REF IRIS1 LR38653 Preliminary Technical Manual Ver0.31 Description SYNC level adjustment SYNC addition control to the analog signal outpu 0: With the SYNC signal addition 1: Without the SYNC signal Color-difference mute 0: Normal (Color output) 1: Color-difference overlay(Black and white output Gain of black and white outpu (10h = Multiplied once) Burst level R-Y setting sign 0: + 1: Burst level R-Y setting (Positive number Burst level B-Y setting sign 0: + 1: Burst level B-Y setting (Positive number Fixation of career balance 0: The autmatic carrier balance control. 1: The fixed carrier balance control Career balance C1 fixed value Set 80h Career balance C2 fixed value Set 80h Career balance C3 fixed value Set 80h Career balance C4 fixed value Set 80h Adjustment factor of RGB matrix. R element contribution to R two's complement numbe G element contribution to R two's complement numbe B element contribution to R two's complement numbe R element contribution to G two's complement numbe G element contribution to G two's complement numbe B element contribution to G two's complement numbe R element contribution to B two's complement numbe G element contribution to B two's complement numbe B element contribution to B two's complement numbe The fixed AGC The set value(the upper bit) The fixed AGC The set value Selecting of IRIS date of outside hysteresis range 0: thining out 1: Average Selecting of IRIS date of inside hysteresis range 0: thining out 1: Average Limitation of the maximum shutter speed Address setting of the exposure table lower limit. minimum shutter speed 0: 1/60 (NTSC) or 1/50(PAL) 1: 1/100(NTSC) or 1/120(PAL) Limitation of the maximum AGC gain. Address setting of the exposure table lower limit Limitation of the maximum AGC gain. Address setting of the exposure table lower limit Fixed specification of AGC 0: The automatic AGC control 1: AGC is fixed(Date is FIX_AGC1) There is an influence by AGCSW The AGC control lower limit value The AGC set values given by the exposure table. It starts the AGC from this value when the power switch is turned on Black label setting of AFE The exposure control target value Normally 5-3 init 68h R/W R/W R/W 10h R/W R/W 00h R/W R/W B4h R/W R/W R/W 11h R/W 00h 00h 00h 00h R/W R/W R/W R/W R/W 48h R/W 00h 00h F3h 3Ah F3h 00h 00h 7Fh 00h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 00h 0Dh 0Dh 0Dh R/W 08h R/W 00h 00h 00h R/W R/W R/W R/W 38h R/W 01h R/W 00h R/W 20h R/W 00h 00h 80h 40h R/W R/W R/W R/W (c)2006 SHARP Corporation All rights reserved. CONFIDENTIAL Adr 101 102 103 Bit RegisterName 7 0 REF IRIS2 7 0 CTLD H 7 0 CTLD L 104 0 0 EE_ADR_HOLD 105 7 0 P_HEE 106 7 0 P_LEE 107 7 0 Reserved 3 2 IRIS_DLY_H 108 1 0 IRIS_DLY_H LR38653 Preliminary Technical Manual Ver0.31 Description The exposure control target value At the backlight Exposure restart standard.(Hysteresis range) Exposure fixation standard The fixed of the automatic exposure control is specified 0: automatic 1: fixed by FIX IRIS ADR1 IRIS data luminance H peak ratio Set as 256d or lower by adding the adress P LEE+P HEE IRIS data luminance L peak ratio Set as 256d or lower by adding the adress P LEE+P HEE Exposure control operation thinning out 00: Every operation 01: Once per 2VD 10: Once per 4VD 11: Once per 8VD Exposure control operation thinning out 00: Every operation 01: Once per 2VD 10: Once per 4VD 11: Once per 8VD 0 EE_STEP_M 110 4 0 EE_STEP_H 111 6 6 MOD8 4 2 3 NWE_TYPE2 0 NWE_TYPE1 7 4 regB 112 3 0 regA 7 4 regD 113 3 0 regC 7 4 regF 114 3 0 regE 7 4 regH 115 3 0 regG 7 4 regJ 116 3 0 regI 7 4 regL 117 3 119 7 11A 7 11B 7 0 regK 0 MON EDATA 0 MON_HPEAK 0 MON_LPEAK Control amount setting of Automatic exposure control When the difference between the exposure reference value and the exposure integration value is inside levels Control amount setting of Automatic exposure control When the difference between the exposure reference value and the exposure integration value is great Switching of the AWB white detection flame 0: Normal 1: Fixing the maximum flam Switching of Peak detection 0: The peak is detected from the 8 pixels average. 1: The peak is detected from the 4 pixels average Selection of integration off the subject area Selection of weighted at the time of calculating the exposure data Weighted coefficient 2 at the time of calculating the exposure data. (Upper part of the image) Weighted coefficient 1 at the time of calculating the exposure data. (Upper part of the image) Weighted coefficient 4 at the time of calculating the exposure data. (Lower part of the image) Weighted coefficient 3 at the time of calculating the exposure data. (Lower part of the image) Weighted coefficient 6 at the time of calculating the exposure data. (Lower part of the image) Weighted coefficient 5 at the time of calculating the exposure data. (Lower part of the image) Weighted coefficient 8 at the time of calculating the exposure data. (The middle part of the image) Weighted coefficient 7 at the time of calculating the exposure data. (The middle part of the image) Weighted coefficient 10 at the time of calculating the exposure data. (The middle part of the image) Weighted coefficient 9 at the time of calculating the exposure data. (The middle part of the image) Weighted coefficient 12 at the time of calculating the exposure data. (The right or left part of the image) Weighted coefficient 11 at the time of calculating the exposure data. (The right or left part of the image) The exposure integration value. Read ou For the exposure integration. High luminance peak data. Read ou For the exposure integration. Low luminance peak data. Read ou 5-4 R/W 00h R/W 00h R/W 00h R/W R/W 10F 3 7 MAX_IQAREA 00h 05h 10A 0 7 R/W R/W R/W R/W R/W 0 FIX_IRIS_ADR1[7:0] The following two functions are used combinedly. The address at the time of the fixed exposure control by EE_ADR_HOLD. 0 FIX_IRIS_ADR1[8] Exposure control start address at the time of the the power switch is turned on. 109 7 init 60h 06h 02h F2h R/W 00h R/W 08h R/W 0Fh R/W R/W 05h R/W R/W R/W R/W 76h R/W R/W 67h R/W R/W 68h R/W R/W EBh R/W R/W BBh R/W R/W 77h R/W - R R R (c)2006 SHARP Corporation All rights reserved. CONFIDENTIAL Adr Bit RegisterName 11C 7 0 MON_IDATA 11D 7 0 MON_QDATA 11E 7 0 MON_IDATA2 11F 7 0 MON_QDATA2 7 7 Reserved 120 6 0 CW_IQ 7 6 CWP_IQ_H 5 4 CWP_IQ_V 3 1 122 7 2 CWA_IQ_H 0 CWA_IQ_V 0 Reserved 123 7 0 AWB_ZERO_CO 124 7 0 CLIP_IRIS 125 7 7 12B 3 0 Reserved 4 AWB_IW_S 0 AWB_QW_S 12C 7 0 AWB_K_IP 12D 7 0 AWB_K_IM 12E 7 0 AWB_K_QP 12F 7 0 AWB_K_QM 130 7 131 7 132 7 0 CTLD_AW0 0 MAX_WBR 0 MIN_WBR 6 6 SELFIXWB 5 5 Reserved 1 0 IQ_LPF 7 2 7 7 7 7 7 4 0 0 0 0 0 0 121 133 134 135 136 137 138 139 Reserved WAIT NUM Reserved Reserved K WBR H K WBB H CMP CT LR38653 Preliminary Technical Manual Ver0.31 Description For AWB. The I exposure data Read out(Within the integration two's complement number For AWB. The Q exposure data Read out(Within the integration two's complement number For AWB. The I exposure data Read out(All colors) two's complement number For AWB. The Q exposure data Read out(All colors) two's complement number AWB Weighted ratio of all screen average VS center weighted. 0: All screen average - 64: Center weighted AWB center weighted region the upper left position of the area and the horizontal position AWB center weighted region the upper left position of the area and the vertical position AWB center weighted region the area size and the horizontal size AWB center weighted region the area size and the vertical size Minimum value of the appropriate count within the area for judging achromatic colo portion. Setting of the luminance level upper limit at the time of integrating the exposure dat The luminance signal bigger than this coefficient is clipped by this coefficient and integrated. AWB settle frame. Error margin of the axis I AWB settle frame. Error margin of the axis Q Inclination of AWB integration frame adjustment by WBR. axis I(+) two's complement number Inclination of AWB integration frame adjustment by WBR. axis I(-) two's complement numbe Inclination of AWB integration frame adjustment by WBR. axis Q(+) two's complement numbe Inclination of AWB integration frame adjustment by WBR. axis Q(-) two's complement numbe Setting of the exposure error range for the white detection frame reset AWB gain variation range R side upper limit It corresponds to WBR[8:1 AWB gain variation range R side lower limit It corresponds to WBB[8:1 Selecting the coefficient of the fixed white balance mode WB1, WB2 and WB3 0: The same REF_xx as automatic white balance is used. 1: FIX xxx different from automatic white balance is used AWB selecting I and Q data LPF 00: Average of the 4 vertical periods 01: Average of the 2 vertical periods 1-: Without LPF When the exposure is settled, thinning out of AWB operation AWD Change speed R side multiplier (Positive number AWD Change speed B side multiplier (Positive number Operation thinning out of white balance AWB integration luminance range. Upper limit valu For the exposure integration. Value in starting point of high luminance peak synchronization adjustment AWB integration luminance range. Lower limit valu For the exposure integration. Value in starting point of high luminance peak synchronization adjustment AWB integration luminance range. The exposure synchronization starting point. Start point of mixture value of HPEAK and EDATA for adjus AWB integration luminance range. The exposure data calculation adjustment. HPEAK and E DATA mixture ratio (Weighted HPEAK) init R/W - R - R - R - R R/W 00h R/W R/W 55h R/W 00h R/W R/W R/W 08h R/W C0h R/W 00h R/W R/W R/W 11h 00h R/W 00h R/W 00h R/W 00h R/W FEh 58h 2Bh R/W R/W R/W R/W 22h R/W R/W 08h 08h 04h 08h 00h R/W R/W R/W R/W R/W R/W R/W 8Ch R/W 00h R/W 00h R/W 00h R/W B7h 13A 7 0 AWBHCL 13B 7 0 AWBLCL 13C 7 0 REF_WBPK 13D 7 0 K_CL 13E 7 0 K_WBCL AWB integration luminance range. The exposure synchronization coefficient. 00h R/W 13F 140 141 0 AWB_IP_S 0 AWB_IM_S 0 AWB_QP_S AWB detection area Inside of the axis I positive direction (at the normal operation AWB detection area Inside of the axis I negative direction (at the normal operation AWB detection area Inside of the axis Q positive direction (at the norma FFh FFh FFh R/W R/W R/W 7 7 7 5-5 (c)2006 SHARP Corporation All rights reserved. CONFIDENTIAL Adr Bit RegisterName 142 7 0 AWB_QM_S 143 6 0 AWB IW L 144 6 0 AWB QW L FIX_xxx 145 146 147 148 149 14A 14B 14C 14D 14E 14F 150 151 152 153 154 155 156 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FIX_WBR1 FIX WBB1 FIX WBR2 FIX WBB2 FIX WBR3 FIX WBB3 FIX_GA_R1M FIX_GA_B1M FIX_GA_R1P FIX_GA_B1P FIX_GA_R2M FIX_GA_B2M FIX_GA_R2P FIX_GA_B2P FIX_GA_R3M FIX_GA_B3M FIX_GA_R3P FIX_GA_B3P 157 7 0 FIX_MAT_R1M 158 159 15A 15B 15C 15D 15E 15F 160 161 162 0 0 0 0 0 0 0 0 0 0 0 7 7 7 7 7 7 7 7 7 7 7 FIX_MAT_B1M FIX_MAT_R1P FIX_MAT_B1P FIX_MAT_R2M FIX_MAT_B2M FIX_MAT_R2P FIX_MAT_B2P FIX_MAT_R3M FIX_MAT_B3M FIX_MAT_R3P FIX_MAT_B3P REF_xxx 163 164 165 166 167 168 169 16A 16B 16C 16D 16E 16F 170 171 172 173 174 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 REF_WBR1 REF_WBB1 REF WBR2 REF WBB2 REF WBR3 REF WBB3 REF_GA_R1M REF_GA_B1M REF_GA_R1P REF_GA_B1P REF_GA_R2M REF_GA_B2M REF_GA_R2P REF_GA_B2P REF_GA_R3M REF_GA_B3M REF_GA_R3P REF_GA_B3P 175 7 0 REF_MAT_R1M 176 7 0 REF_MAT_B1M 177 7 0 REF_MAT_R1P 178 7 0 REF_MAT_B1P LR38653 Preliminary Technical Manual Ver0.31 Description AWB detection area Inside of the axis Q negative direction (at the norma White settled area Outside of the axis I (for the hysteresis) White settled area Outside of the axis Q (for the hysteresis) Setting of the fixed white balance. (SELFIXWB=1is valid R gain,B gain and color-difference gain sets Positive number. The matrix coefficient sets Two's complement number R gain when the WB1 is fixed. (It is the 9 bit data added 0 to the upper bit B gain when the WB1 is fixed R gain when the WB2 is fixed B gain when the WB2 is fixed R gain when the WB3 is fixed B gain when the WB3 is fixed R-Y negative direction color-difference gain when the WB1 is fixed. (Positiv B-Y negative direction color-difference gain when the WB1 is fixed. (Positiv R-Y positive direction color-difference gain when the WB1 is fixed. (Positiv B-Y positive direction color-difference gain when the WB1 is fixed. (Positiv R-Y negative direction color-difference gain when the WB2 is fixed. (Positiv B-Y negative direction color-difference gain when the WB2 is fixed. (Positiv R-Y positive direction color-difference gain when the WB2 is fixed. (Positiv B-Y positive direction color-difference gain when the WB2 is fixed. (Positiv R-Y negative direction color-difference gain when the WB3 is fixed. (Positiv B-Y negative direction color-difference gain when the WB3 is fixed. (Positiv R-Y positive direction color-difference gain when the WB3 is fixed. (Positiv B-Y positive direction color-difference gain when the WB3 is fixed. (Positiv Coefficient of the matrix correction R-Y negative direction when the WB1 is fixed. (two's complement number Coefficient of the matrix correction B-Y negative direction when the WB1 is fixed Coefficient of the matrix correction R-Y positive direction when the WB1 is fixed Coefficient of the matrix correction B-Y positive direction when the WB1 is fixed Coefficient of the matrix correction R-Y negative direction when the WB2 is fixed Coefficient of the matrix correction B-Y negative direction when the WB2 is fixed Coefficient of the matrix correction R-Y positive direction when the WB2 is fixed Coefficient of the matrix correction B-Y positive direction when the WB2 is fixed Coefficient of the matrix correction R-Y negative direction when the WB3 is fixed Coefficient of the matrix correction B-Y negative direction when the WB3 is fixed Coefficient of the matrix correction R-Y positive direction when the WB3 is fixed Coefficient of the matrix correction B-Y positive direction when the WB3 is fixed Setting of automatic white balance reference point Setting of the fixed white balance. (SELFIXWB=0 is valid) R gain, B gain and color-difference gain sets Positive number. The matrix coefficient sets Two's complement number Reference1, R gain when the WB1 is fixed Reference1, B gain when the WB1 is fixed Reference2, R gain when the WB2 is fixed Reference2, B gain when the WB2 is fixed Reference3, R gain when the WB3 is fixed Reference3, B gain when the WB3 is fixed Reference1, R-Y negative direction color-difference gain when the WB1 is fixed Reference1, B-Y negative direction color-difference gain when the WB1 is fixed Reference1, R-Y positive direction color-difference gain when the WB1 is fixed Reference1, B-Y positive direction color-difference gain when the WB1 is fixed Reference2, R-Y negative direction color-difference gain when the WB2 is fixed Reference2, B-Y negative direction color-difference gain when the WB2 is fixed Reference2, R-Y positive direction color-difference gain when the WB2 is fixed Reference2, B-Y positive direction color-difference gain when the WB2 is fixed Reference3, R-Y negative direction color-difference gain when the WB3 is fixed Reference3, B-Y negative direction color-difference gain when the WB3 is fixed Reference3, R-Y positive direction color-difference gain when the WB3 is fixed Reference3, B-Y positive direction color-difference gain when the WB3 is fixed Reference1, Coefficient of the matrix correction R-Y negative direction when the WB1 is fixed. Reference1, Coefficient of the matrix correction B-Y negative direction when the WB1 is fixed. Reference1, Coefficient of the matrix correction R-Y positive direction when the WB1 is fixed. Reference1, Coefficient of the matrix correction B-Y positive direction when the WB1 is fixed. 5-6 init FFh 04h 02h R/W R/W R/W R/W R/W 69h B6h 95h 4Eh A1h 3Bh A0h 34h A0h 44h B4h 44h B4h 54h A8h 4Ch D0h 54h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 7Fh R/W F0h FCh Ech 7Fh 00h E0h F8h 7Fh ECh B0h F0h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 69h B6h 95h 4Eh A1h 3Bh A0h 34h A0h 44h B4h 44h B4h 54h A8h 4Ch D0h 54h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 7Fh R/W F0h R/W FCh R/W ECh R/W (c)2006 SHARP Corporation All rights reserved. CONFIDENTIAL Adr Bit 179 RegisterName 7 0 17A 7 0 17B 7 0 17C 7 0 17D 7 0 17E 7 0 17F 7 0 180 7 0 188 189 18A 18B 18C 18D 18E 18F 190 191 192 193 194 195 196 197 198 199 19A 19B 1A0 1A1 1A2 1A3 1A4 1A5 1A6 1A7 1A8 1A9 1AA 1AB 1AC 1AD 1AE 1AF 1B0 1B1 1B2 1B3 1B4 1B5 1B6 1B7 1B8 1B9 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 LR38653 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Preliminary Technical Manual Ver0.31 Description Reference2, Coefficient of the matrix correction R-Y negative direction when the REF_MAT_R2M WB2 is fixed. Reference2, Coefficient of the matrix correction B-Y negative direction when the REF_MAT_B2M WB2 is fixed. Reference2, Coefficient of the matrix correction R-Y positive direction when the REF_MAT_R2P WB2 is fixed. Reference2, Coefficient of the matrix correction B-Y positive direction when the REF_MAT_B2P WB2 is fixed. Reference3, Coefficient of the matrix correction R-Y negative direction when the REF_MAT_R3M WB3 is fixed. Reference3, Coefficient of the matrix correction B-Y negative direction when the REF_MAT_B3M WB3 is fixed. Reference3, Coefficient of the matrix correction R-Y positive direction when the REF_MAT_R3P WB3 is fixed. Reference3, Coefficient of the matrix correction B-Y positive direction when the REF_MAT_B3P WB3 is fixed. Adjustment range limit of automatic white balance B gain(WBB). MAX/MIN _WBB_xxx Setting of the value that corresponds to WBB[8:1] MAX WBB OFST0 WBB upper bound value at WBR=0 MAX WBB OFST1 WBB upper bound value at WBR= 64 MAX WBB OFST2 WBB upper bound value at WBR= 96 MAX WBB OFST3 WBB upper bound value at WBR=112 MAX WBB OFST4 WBB upper bound value at WBR=128 MAX WBB OFST5 WBB upper bound value at WBR=144 MAX WBB OFST6 WBB upper bound value at WBR=160 MAX WBB OFST7 WBB upper bound value at WBR=192 MAX WBB OFST8 WBB upper bound value at WBR=256 MAX WBB OFST9 WBB upper bound value at WBR=511 MIN WBB OFST0 WBB lower bound value at WBR= 0 MIN WBB OFST1 WBB lower bound value at WBR= 64 MIN WBB OFST2 WBB lower bound value at WBR= 96 MIN WBB OFST3 WBB lower bound value at WBR=112 MIN WBB OFST4 WBB lower bound value at WBR=128 MIN WBB OFST5 WBB lower bound value at WBR=144 MIN WBB OFST6 WBB lower bound value at WBR=160 MIN WBB OFST7 WBB lower bound value at WBR=192 MIN WBB OFST8 WBB lower bound value at WBR=256 MIN WBB OFST9 WBB lower bound value at WBR=511 Setting on the luminance gamma YGAM_xxx The value that corresponds to ADIN [11:4] is set YGAM OFST0 Luminance gamma Output at Input=0 YGAM OFST1 Luminance gamma Output at Input=YGAM RNG1 YGAM OFST2 Luminance gamma Output at Input=YGAM RNG2 YGAM OFST3 Luminance gamma Output at Input=YGAM RNG3 YGAM OFST4 Luminance gamma Output at Input=YGAM RNG4 YGAM OFST5 Luminance gamma Output at Input=YGAM RNG5 YGAM OFST6 Luminance gamma Output at Input=YGAM RNG6 YGAM OFST7 Luminance gamma Output at Input=YGAM RNG7 YGAM OFST8 Luminance gamma Output at Input=YGAM RNG8 YGAM OFST9 Luminance gamma Output at Input=YGAM RNG9 YGAM OFST10 Luminance gamma Output at Input=YGAM RNG1 YGAM OFST11 Luminance gamma Output at Input=YGAM RNG1 YGAM OFST12 Luminance gamma Output at Input=YGAM RNG1 YGAM OFST13 Luminance gamma Output at Input=YGAM RNG1 YGAM RNG1 Luminance gamma 1 starting point in straight line section YGAM RNG2 Luminance gamma 2 starting point in straight line section YGAM RNG3 Luminance gamma 3 starting point in straight line section YGAM RNG4 Luminance gamma 4 starting point in straight line section YGAM RNG5 Luminance gamma 5 starting point in straight line section YGAM RNG6 Luminance gamma 6 starting point in straight line section YGAM RNG7 Luminance gamma 7 starting point in straight line section YGAM RNG8 Luminance gamma 8 starting point in straight line section YGAM RNG9 Luminance gamma 9 starting point in straight line section YGAM RNG10 Luminance gamma 10 starting point in straight line section 1 YGAM RNG11 Luminance gamma 11 starting point in straight line section 1 YGAM RNG12 Luminance gamma 12 starting point in straight line section 1 5-7 init R/W 7Fh R/W 00h R/W E0h R/W F8h R/W 7Fh R/W ECh R/W B0h R/W F0h R/W R/W 7Fh 7Fh 78h 5Bh 3Ah 33h 2Eh 28h 28h 28h 78h 78h 5Ah 45h 28h 20h 18h 17h 17h 17h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 00h 0Fh 17h 23h 2Ch 35h 43h 5Bh 66h 70h 79h 88h 94h A6h 04h 08h 10h 18h 20h 30h 50h 60h 70h 80h A0h C0h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W (c)2006 SHARP Corporation All rights reserved. CONFIDENTIAL Adr Bit 1C0 1C1 1C2 1C3 1C4 1C5 1C6 1C7 1C8 1C9 1CA 1CB 1CC 1CD 1CE 1CF 1D0 1D1 1D2 1D3 1D4 1D5 1D6 1D7 1D8 1D9 1DA 1DB 1DC 1DD 1DE 1DF 1E0 RegisterName CGAM xxx CGAM OFST0 CGAM OFST1 CGAM OFST2 CGAM OFST3 CGAM OFST4 CGAM OFST5 CGAM OFST6 CGAM OFST7 CGAM OFST8 CGAM OFST9 CGAM OFST10 CGAM OFST11 CGAM OFST12 CGAM OFST13 CGAM RNG1 CGAM RNG2 CGAM RNG3 CGAM RNG4 CGAM RNG5 CGAM RNG6 CGAM RNG7 CGAM RNG8 CGAM RNG9 CGAM RNG10 CGAM RNG11 CGAM RNG12 K UVG1 K UVG2 K UVG3 K UVG4 DIG_U_GAIN DIG_V_GAIN 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 7 MODE_MAT 6 0 Reserved 1E1 6 6 CKIL_OFF 1E2 7 0 CKI_HCL 1E3 7 0 CKI_LCL 7 3 1E5 7 7 1E6 3 1F0 7 4 0 0 4 0 0 1F1 7 0 OB_IRIS 1F2 1F3 200 201 0 0 0 0 4 0 1E4 7 7 7 7 7 202 3 CKI_HGA CKI_LGA Reserved NSUP_R NSUP_B OBDUM_LEV Reserved Reserved CKIHELE CKIVELE CKIHEGA CKIVEGA LR38653 Preliminary Technical Manual Ver0.31 Description Setting og the color gamma RGB commonness Color gamma Output at Input=0 Color gamma Output at Input=CGAM RNG1 Color gamma Output at Input=CGAM RNG2 Color gamma Output at Input=CGAM RNG3 Color gamma Output at Input=CGAM RNG4 Color gamma Output at Input=CGAM RNG5 Color gamma Output at Input=CGAM RNG6 Color gamma Output at Input=CGAM RNG7 Color gamma Output at Input=CGAM RNG8 Color gamma Output at Input=CGAM RNG9 Color gamma Output at Input=CGAM RNG10 Color gamma Output at Input=CGAM RNG11 Color gamma Output at Input=CGAM RNG12 Color gamma Output at Input=CGAM RNG13 Color gamma 1 starting point in straight line section Color gamma 2 starting point in straight line section Color gamma 3 starting point in straight line section Color gamma 4 starting point in straight line section Color gamma 5 starting point in straight line section Color gamma 6 starting point in straight line section Color gamma 7 starting point in straight line section Color gamma 8 starting point in straight line section Color gamma 9 starting point in straight line section Color gamma 10 starting point in straight line section 1 Color gamma 11 starting point in straight line section 1 Color gamma 12 starting point in straight line section 1 Color difference generation matrix coefficient (two's complement) R-Y = (R-G) * K_UVG1 + (B-G) * K_UVG3 B-Y = (R-G) * K_UVG2 + (B-G) * K_UVG4 Gain of digital output U(B-Y) elemen Gain of digital output V(R-Y) elemen Selection of parameter of color difference matrix and color difference gain (addres 14Bh-180h) 0: Same coefficient (xxxP) is used 1: Another coefficient (xxxP/xxxM) is Setting of color killer contro 0: Color killer 1: Color killer none High luminance color suppression beginning brightness level The pixel of brightness more than this value is gradually suppressed in the colo Low brightness color suppression beginning brightness level The pixel of brightness below this value is gradually suppressed in the colo High luminance color suppression gain (Positive number) Low brightness color suppression gain (Positive number) Noise suppression of low-level color difference signal (R-Y Noise suppression of low-level color difference signal(B-Y Strong light (BlackOut) is detected with OB-DUM >OBDUM_LEV Exposure level by Storong light (BlackOut) measures released It usually returns to operation when the address of the exposure table becomes this o Horizontal edge color suppression starting poin Vertical edge color suppression starting poin Horizontal edge color suppression gain (Positive number) Vertical edge color suppression gain (Positive number) 5-8 init 00h 05h 0Ah 13h 1Bh 23h 32h 4Fh 5Eh 6Ch 79h 8Dh 9Ah A6h 04h 08h 10h 18h 20h 30h 50h 60h 70h 80h A0h C0h 2Dh Edh 02h 39h 6Ch 6Ch 82h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 00h R/W 80h R/W 08h R/W 80h R/W R/W R/W R/W R/W R/W 70h R/W 00h 80h D0h D0h R/W R/W R/W R/W R/W R/W 12h 00h 11h 11h (c)2006 SHARP Corporation All rights reserved. CONFIDENTIAL Adr Bit RegisterName 7 7 CKISEL1 6 6 CKISEL0 5 5 CKISFT 4 4 SEL_BPF 204 206 207 3 2 HAPT_SEL 1 1 VAPT_OFF 0 0 HAPT_OFF 6 6 HAPTCLSEL 5 0 HAPTCL 6 6 VAPTCLSEL 5 208 7 209 7 6 20A 2 20B 7 20C 7 0 0 0 4 0 0 0 210 5 0 COL_Y 211 212 213 214 215 216 0 0 0 0 0 0 7 5 4 4 7 5 VAPTCL APT_LIM APT_O_LIM CKIHEVAR CKIVEVAR WHCLP WHCLP_OUT COL_S COL_H APT HGA APT_VGA APT S APT_H 217 5 0 APT_Y 218 219 21A 21B 22D 22E 0 0 0 0 0 0 5 7 5 4 7 5 22F 5 APT L APT W APT K BPFGA SHD_S SHD_H 0 SHD_Y SHD_OFSTxx 230 231 232 233 234 235 236 237 238 239 7 7 7 7 7 7 7 7 7 7 0 0 0 0 0 0 0 0 0 0 SHD_OFST0 SHD_OFST1 SHD_OFST2 SHD_OFST3 SHD_OFST4 SHD_OFST5 SHD_OFST6 SHD_OFST7 SHD_OFST8 SHD_OFST9 LR38653 Preliminary Technical Manual Ver0.31 Description Edge signal generation switch for edge color suppression Please set to 1 Edge signal generation switch for edge color suppression 0: The horizontal two pixel average 1: It doesn't average by two pixels Circuit gain adjustment of edge color suppression signa 0: Nomal 1: 1/2 Band-path filter selection 0: filter 1 1: filter 2 Horizontal aperture control selection 00: filter 1 ( 0 -1 2 -1 0 ) 01: filter 2 (-1 0 2 0 -1) 1-: Forbidden Vertical aperture control setting 0: With the control 1: Without the control Horizontal aperture control setting 0: With the control 1: Without the control Rounding process of the horizontal edge signa 0: Without the rounding process 1: With the rounding process Suppression level setting of the horizontal edge signa Rounding process of the vertical edge signa 0: Without the rounding process 1: With the rounding process Suppression level setting of the vertical edge signa High luminance limit value after edge signal gain is correcte High luminance limit value to edge extraction circuit input lev The horizontal edge signal timing adjustment of color suppression gain generatio The vertical edge signal timing adjustment of color suppression gain generatio Level of white clip judgment Output level at white clip Color suppression level calculation coefficient from underexposure value when AGC is the maximum Low illuminance color suppression beginning point (AGC gai Color suppression level calculation coefficient from excessive amount of AG The horizontal Aparcha signal gain The vertical Aparcha signal gain Beginning point of low illuminance Aparcha suppressio Gain setting of edge signal suppression to AGC valu (Positive number) Aparcha suppression level calculation coefficient of AGC from underexposure value when AGC is the maximum Lower bound value of APT gain suppression by WBR gai APT gain synchronization beginning point to WBR ga Coefficient of APT gain suppression by WBR gai Setting of the BPF gain Low illuminance shading suppression beginning point (AGC valu Low illuminance shading suppression coefficient (AGC value When AGC is the maximum, it is shading suppression coefficient. (under exposure amount) Increase of shading gain 00: Without gain (Multiplied once) FF: 1.99 times Curve of shading correction (gain increment at center of screen Curve of shading correction (gain increment of beginning point in section Curve of shading correction (gain increment of beginning point in section Curve of shading correction (gain increment of beginning point in section Curve of shading correction (gain increment of beginning point in section Curve of shading correction (gain increment of beginning point in section Curve of shading correction (gain increment of beginning point in section Curve of shading correction (gain increment of beginning point in section Curve of shading correction (gain increment of beginning point in section Curve of shading correction (gain increment of beginning point in section 5-9 init R/W R/W R/W R/W R/W 00h R/W R/W R/W 00h R/W R/W 00h R/W FFh FFh R/W R/W R/W R/W R/W R/W R/W 20h R/W 50h 10h 06h 06h 50h 08h R/W R/W R/W R/W R/W R/W 10h R/W 00h 59h 00h 02h FCh 3Fh R/W R/W R/W R/W R/W R/W 10h R/W 80h FFh 00h R/W 00h 0Fh 1Eh 2Dh 3Ch 4Bh 5Ah 69h 78h 87h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W (c)2006 SHARP Corporation All rights reserved. CONFIDENTIAL Adr 23A 23B 23C 23D Bit 7 7 7 7 0 0 0 0 LR38653 RegisterName SHD_OFST10 SHD_OFST11 SHD_OFST12 SHD_OFST13 SHD_RNGxx 23E 23F 240 241 242 243 244 245 246 247 248 249 7 7 7 7 7 7 7 7 7 7 7 7 0 0 0 0 0 0 0 0 0 0 0 0 SHD_RNG1 SHD_RNG2 SHD_RNG3 SHD_RNG4 SHD_RNG5 SHD_RNG6 SHD_RNG7 SHD_RNG8 SHD_RNG9 SHD_RNG10 SHD_RNG11 SHD_RNG12 1 1 SHD_TH 24A 24B 24C 24D 24E 24F 250 260 261 262 263 264 265 266 267 268 269 26A 26B 270 271 272 273 274 275 276 277 278 279 27A 27B 27C 27D 27E 27F 0 0 SHD_GAIN_ACT 5 5 5 5 7 7 7 7 7 7 7 0 0 0 0 0 0 0 0 0 0 0 4 4 LC_ON 3 7 7 7 7 7 7 7 7 3 1 7 7 3 1 7 7 3 1 7 7 3 1 7 7 3 1 7 0 0 0 0 0 0 0 0 0 2 0 0 0 2 0 0 0 2 0 0 0 2 0 0 0 2 0 0 SHD GAIN SHD GAIN SHD GAIN SHD GAIN Reserved Reserved Reserved Reserved Reserved Reserved LINE_U Reserved Reserved Reserved Reserved Reserved Reserved Reserved WN00H[7:0] WN00V[7:0] WN00H[9:8] WN00V[9:8] WN00H[7:0] WN00V[7:0] WN00H[9:8] WN00V[9:8] WN00H[7:0] WN00V[7:0] WN00H[9:8] WN00V[9:8] WN00H[7:0] WN00V[7:0] WN00H[9:8] WN00V[9:8] WN00H[7:0] WN00V[7:0] WN00H[9:8] WN00V[9:8] WN00H[7:0] C1 C2 C3 C4 Preliminary Technical Manual Ver0.31 Description Curve of shading correction (gain increment of beginning point in section 1 Curve of shading correction (gain increment of beginning point in section 1 Curve of shading correction (gain increment of beginning point in section 1 Curve of shading correction (gain increment of ending point in section 1 Shading correction Definition of straight line section in distance from center of scree Curve of shading correction (beginning point in input section Curve of shading correction (beginning point in input section Curve of shading correction (beginning point in input section Curve of shading correction (beginning point in input section Curve of shading correction (beginning point in input section Curve of shading correction (beginning point in input section Curve of shading correction (beginning point in input section Curve of shading correction (beginning point in input section Curve of shading correction (beginning point in input section Curve of shading correction (beginning point in input section 1 Curve of shading correction (beginning point in input section 1 Curve of shading correction (beginning point in input section 1 ON/OFF of the Shading correction 0: With shading 1: Without shading Switching of the operation of Shading correction 0: The same gain is put on four elements of the CCD output. 1: The different gain is put on four elements of the CCD outpu Each element Adjustment of shading gain (C1 Each element Adjustment of shading gain (C2 Each element Adjustment of shading gain (C3 Each element Adjustment of shading gain (C4 Signal level for the line crawl judgement(Positive numbe Line crawl correction contro 0: Without correction 1: With correction White blemish horizontal direction coordinates 1 Lower 8 bi White blemish vertical direction coordinates 1 Lower 8 bi White blemish vertical direction coordinates 1 Upper 2 bi White blemish horizontal direction coordinates 1 Upper 2 b White blemish horizontal direction coordinates 2 Lower 8 bi White blemish vertical direction coordinates 2 Lower 8 bi White blemish vertical direction coordinates 2 Upper 2 bi White blemish horizontal direction coordinates 2 Upper 2 b White blemish horizontal direction coordinates 3 Lower 8 bi White blemish vertical direction coordinates 3 Lower 8 bi White blemish vertical direction coordinates 3 Upper 2 bi White blemish horizontal direction coordinates 3 Upper 2 b White blemish horizontal direction coordinates 4 Lower 8 bi White blemish vertical direction coordinates 4 Lower 8 bi White blemish vertical direction coordinates 4 Upper 2 bi White blemish horizontal direction coordinates 4 Upper 2 b White blemish horizontal direction coordinates 5 Lower 8 bi White blemish vertical direction coordinates 5 Lower 8 bi White blemish vertical direction coordinates 5 Upper 2 bi White blemish horizontal direction coordinates 5 Upper 2 b White blemish horizontal direction coordinates 6 Lower 8 bi 5-10 init A7h C7h E7h F6h R/W R/W R/W R/W R/W R/W 10h 20h 30h 40h 50h 60h 70h 80h 90h B0h D0h F0h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 02h R/W 20h 20h 20h 20h 00h 00h 00h 00h 10h 10h C8h 00h 14h 30h 30h 30h 30h 10h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W (c)2006 SHARP Corporation All rights reserved. CONFIDENTIAL Adr Bit 280 7 0 3 2 281 1 0 282 7 0 283 7 0 3 2 284 1 0 285 7 0 286 7 0 3 2 287 1 0 2BF 7 0 2C0 7 0 2C1 7 0 RegisterName WN00V[7:0] WN00H[9:8] WN00V[9:8] WN00H[7:0] WN00V[7:0] WN00H[9:8] WN00V[9:8] WN00H[7:0] WN00V[7:0] WN00H[9:8] WN00V[9:8] Reserved Reserved Reserved 2C2 7 0 SCLS_TH 2C3 7 0 SCLS_TL 2C4 2C5 2C6 2C8 2C9 2D0 2D1 2D3 2E0 2E1 2ED … 2F6 0 0 0 0 0 0 0 0 0 0 0 7 7 7 7 7 7 7 7 7 7 7 Reserved Reserved Reserved Reserved Reserved Reserved Reserved SL RWA Reserved Reserved 7 7 UC 0 7 Reserved 6 4 CMD_STAT LR38653 Preliminary Technical Manual Ver0.31 Description White blemish vertical direction coordinates 6 Lower 8 bi White blemish vertical direction coordinates 6 Upper 2 bi White blemish horizontal direction coordinates 6 Upper 2 b White blemish horizontal direction coordinates 7 Lower 8 bi White blemish vertical direction coordinates 7 Lower 8 bi White blemish vertical direction coordinates 7 Upper 2 bi White blemish horizontal direction coordinates 7 Upper 2 b White blemish horizontal direction coordinates 8 Lower 8 bi White blemish vertical direction coordinates 8 Lower 8 bi White blemish vertical direction coordinates 8 Upper 2 bi White blemish horizontal direction coordinates 8 Upper 2 b EEPROM access Setting of the clock (Shutoff level 397.7Kbps corresponding (when amplitude is 28.636MHz) EEPROM access Setting of the clock (Shutoff level 397.7Kbps corresponding (when amplitude is 28.636MHz EEPROM Setting of slave adress User Code 2FA 0 0 YGAM_SEL 2FC 3 0FF 1FF 7 2FF 0 Reserved EEPROM State of access --1: The operation of the initialization 01-: On writting 10-: On reading EEPROM Access TRIG 00: EEPROM Access preparation 03: EEPROM Writing beginning 0C: EEPROM Reading beginning others: Forbitten selection of OB calculation at gamma circui 0: normally 1: no OB calculation. Gamma is affected from zero-code of ADIN - 0 MSADR Register Bank is set for useing next accesses. 2F9 3 0 EEP_RW 5-11 init 00h 6Fh 0Fh 40h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 24h R/W 26h R/W 01h 03h 00h 2Ah 00h 0Ch 00h A0h 0Ch 00h 00h 00h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W W W W 00h 00h 00h 00h 00h 00h 00h R 00h R/W 00 R/W 00 R/W 00 R/W (c)2006 SHARP Corporation All rights reserved.