LU850425 8-bit Microcomputer for DSP Camera Systems LU850425 DESCRIPTION The LU850425 is a CMOS 8-bit single-chip microcomputer for CCD digital camera systems which include a CDS/AGC IC (IR3Y38M), a DSP IC (LR38266), a timing generator IC (LR38578), and this microcomputer IC. FEATURES • Auto exposure control (electronic exposure and mechanical exposure) • Auto carrier balance tuning • Auto white balance control • In combination with an external controller (personal computer), functions below can be controlled (see "Serial Control Interface" in FUNCTIONAL DESCRIPTION) q Switchable : AGC/ON/OFF Auto white balance/AUTO/PRESET Aperture enhancement/ON/OFF Back light compensation/ON/OFF GAMMA correction/ON/OFF w Electronic shutter speed selection : Auto E/E [1/60 (1/50) to 1/70 000 s] or fixed E/E [1/60 (1/50), 1/100 (1/60), 1/250, 1/500, 1/1 000, 1/5 000 and 1/10 000 s] ( ) = PAL mode • Switchable between NTSC and PAL modes • Single +3.3 V power supply • Package : 100-pin LQFP (LQFP100-P-1414) 0.5 mm pin-pitch In the absence of confirmation by device specification sheets, SHARP takes no responsibility for any defects that may occur in equipment using any SHARP devices shown in catalogs, data books, etc. Contact SHARP in order to obtain the latest device specification sheets before using any SHARP device. 1 LU850425 PIN CONNECTIONS TOP VIEW 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 52 25 51 50 53 24 49 54 23 48 55 22 47 56 21 46 57 20 45 58 19 44 59 18 43 60 17 42 61 16 41 62 15 40 63 14 39 64 13 38 65 12 37 66 11 36 67 10 35 68 9 34 69 8 33 70 7 32 71 6 31 72 5 30 73 4 29 3 28 74 27 75 2 26 1 DATA7 ADD0 ADD1 ADD2 ADD3 ADD4 ADD5 ADD6 NC NC XCK2 XCK1 GND NC NC NC NC DACK DADT DASTB AGND SPD WB IWIND GND GND CDS SEL TV MODE MODEL LENS SEL ADJIN AGC SEL ABLC IRIS GAMMA UIN UOUT READY GND SOUT SCK SLDI TIM SEL DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 99 100 GND APT MIR SET WBSEL3 WBSEL2 WBSEL1 NC AEAWB LOCK ROMDATA ROMCLK TEST VDD GND OSCIN OSCOUT RESET GND GND GND GND GND GND SDATA SCK NC 100-PIN LQFP (LQFP100-P-1414) 2 GND EESRB EEDATA EECLK GND MCO GND GND GND GND VD GND DAVR1 DAVR0 VREF OUT IRIS OUT GND IRISSEL3 IRISSEL2 IRISSEL1 VR B-Y R-Y GND GND LU850425 PIN DESCRIPTION PIN NO. SYMBOL 1 GND I/O I POLARITY A grounding pin. – DESCRIPTION 2 CDS SEL I – CDS/AGC IC selection. When using IR3Y38M, set to H level. 3 TV MODE I – TV standard/CCD selection. 4 MODEL I – I – 5 6 LENS SEL ADJIN Pin 3 L H L H Pin 4 CCD L 270 k L 320 k H 410 k H 470 k Selection of output of pin 60 (pin 9 is input H level). H : Auto exposure lens L : Passive exposure lens Adjustment selection. I – H : Camera L : Adjustment Selection of AGC function. 7 AGC SEL I – 8 ABLC I – 9 IRIS I – H L : ON : OFF Selection of auto backlight compensation. L H Exposure mode selection. H : Mechanical exposure L 10 GAMMA I – : ABLC OFF : ABLC ON : Electronic exposure Selection of gamma correction. H : ‹ = 1.0 L : ‹ = 0.45 The serial data is fed from adjustment tool or PC. 11 UIN I – 12 UOUT O – 13 READY O 14 15 GND SOUT I O – – 16 SCK O – Outputs the clock signal to LR38266. Without input data, keep at H level. For details, see "Serial Control Interface" in FUNCTIONAL DESCRIPTION. Outputs the serial data to adjustment tool or PC. For details, see "Serial Control Interface" in FUNCTIONAL DESCRIPTION. Outputs high level at AE/AWB lock mode. A grounding pin. Outputs the serial data to LR38266. 17 SLDI O – Outputs the strobe signal to LR38266. LR38266 latches the serial data from pin 15 of LU850425 by both SCK and SLDI. 18 TIM SEL I – Timing IC selection. When using LR38578, set to H level. 3 LU850425 PIN NO. SYMBOL 19 DATA0 I/O I POLARITY – DESCRIPTION 20 DATA1 I 21 DATA2 I – – 22 DATA3 I – 23 DATA4 I 24 DATA5 I – – 25 26 DATA6 DATA7 I I – – 27 ADD0 O – 28 29 ADD1 ADD2 O O – – 30 31 ADD3 ADD4 O O – – 32 ADD5 O – 33 34 ADD6 NC O O – – No connection. 35 36 NC XCK2 O O – – No connection. Master clock output. 37 XCK1 I – Master clock input (5.5 MHz, TYP.). 38 39 GND NC – O – – A grounding pin. No connection. 40 41 NC NC O O – – No connection. No connection. 42 NC O No connection. 43 44 DACK DADT O O – – 45 46 DASTB AGND 47 Inputs image data from LR38266. DATA0 : LSB DATA7 : MSB Outputs address data to LR38266. ADD0 : LSB ADD6 : MSB Outputs the clock signal to MB88346BV. For details, see "TIMING CHART (D)". – Outputs the serial data to MB88346BV. For details, see "TIMING CHART (D)". O – – – Outputs the strobe signal to MB88346BV. For details, see "TIMING CHART (D)". A grounding pin for D/A output circuit. SPD I – Inputs DC level to select shutter speed. For details, see "ELECTRONIC SHUTTER SPEED CONTROL" in Preset Function Control. 48 WB I – Inputs DC level to select white balance mode. For details, see "WHITE BALANCE" in Preset Function Control. 49 IWIND I – 50 GND I – Selection of Emphasis Range at Auto Exposure" in ELECTRONIC SHUTTER SPEED CONTROL. Not used. A grounding pin. 51 52 GND GND I I – Not used. A grounding pin. Not used. A grounding pin. 53 R–Y I – Inputs DC level to select exposure window. For details, see "(3) Window Inputs DC level to vary R – Y gain by manual. The detail is shown at "WHITE BALANCE" in Preset Function Control. 4 LU850425 PIN NO. SYMBOL I/O POLARITY DESCRIPTION Inputs DC level to vary B – Y gain by manual. The detail is shown at "WHITE 54 B–Y I – 55 VR I – 56 IRISSEL1 I – 57 IRISSEL2 I – 58 IRISSEL3 I – 59 GND I 60 IRIS OUT O – – A grounding pin. Outputs the analog signal to control auto mechanical exposure lens. 61 62 VREF OUT DAVR0 O I – – Outputs the VREF DC to IR3Y38M. Inputs DC reference voltage for built-in D/A output of pin 60. BALANCE" in Preset Function Control. Inputs the reference DC voltage for built-in A/D. Inputs the preset shutter speed mode 1. (See "ELECTRONIC SHUTTER SPEED CONTROL" in Preset Function Control.) Inputs the preset shutter speed mode 2. (See "ELECTRONIC SHUTTER SPEED CONTROL" in Preset Function Control.) Inputs the preset shutter speed mode 3. (See "ELECTRONIC SHUTTER SPEED CONTROL" in Preset Function Control.) 63 DAVR1 I – Inputs DC reference voltage for built-in D/A output of pin 61. 64 GND I 65 VD I – – Inputs VD signal from LR38266. 66 67 GND GND I I – – A grounding pin. 68 GND I – A grounding pin. 69 70 GND MCO I I – A grounding pin. 71 72 GND EECLK I O – – Outputs the clock signal to LR38578. 73 EEDATA O – Outputs the data signal to LR38578. 74 EESRB O – Outputs the strobe signal to LR38578. This signal makes LR38578 latch the data of EEDATA (pin 73) by EECLK (pin 72). Not used. A grounding pin. A grounding pin. Inputs MCO signal from LR38266. A grounding pin. 75 GND – 76 NC O – – 77 78 SCK SDATA O O – – Outputs the serial data to CDS/AGC (IR3Y38M). 79 GND – – A grounding pin. 80 81 GND GND I I – – A grounding pin. 82 83 GND GND I I – – A grounding pin. 84 GND I – A grounding pin. 85 RESET 86 OSCOUT I O – – Inputs the reset signal of LU850425. No connection. 87 88 OSCIN GND I – – – A grounding pin. A grounding pin. A grounding pin. No connection. Outputs the clock signal to CDS/AGC (IR3Y38M). A grounding pin. A grounding pin. 5 LU850425 PIN NO. SYMBOL 89 VDD I/O I POLARITY – Supply of +3.3 V power. – Connected to GND. DESCRIPTION 90 TEST – 91 ROMCLK O – Outputs the clock to EEPROM. For details, see "TIMING CHART (A)". 92 ROMDATA I/O – Inputs the data from EEPROM/output the data to EEPROM. For details, see "TIMING CHART (A)". 93 AEAWB LOCK I – 94 NC O – 95 WBSEL1 I No connection. White balance mode selection. – 96 WBSEL2 I For details, see "WHITE BALANCE" in Preset Function Control. White balance mode selection. – For details, see "WHITE BALANCE" in Preset Function Control. 97 WBSEL3 I – White balance mode selection. For details, see "WHITE BALANCE" in Preset Function Control. 98 MIR SEL I – Mirror mode selection. L : Normal mode AE and AWB lock selection. H : Auto exposure, auto white balance lock ON L H : Auto exposure, auto white balance lock OFF : Mirror mode APT I – Selection of aperture enhancement. H : ON 100 GND I – L : OFF A grounding pin. 99 6 LU850425 FUNCTIONAL DESCRIPTION Serial Control Interface (For adjustment tool) FORMAT OF DATA TRANSFERS • Format of transfers : Asynchronous (Based on RS-232C standard) • Bit rate : 9 600 bps • Data length : 8 bits • Parity check : 1 even parity bit • Start bit : 1 bit • Stop bit : 1 bit • Signal voltage level (CMOS) 3.3 V UIN GND Start Bit D0 D1 D2 D3 D4 D5 LSB D6 D7 Even Parity Bit MSB Data Bit • Connection Microcomputer UIN UOUT UIN T XD UOUT RX D ADJUSTMENT MODE When the signal level of pin 6 (ADJIN) is low, the video quality adjustment by a PC or an adjustment tool is possible. When the signal level of pin 6 (ADJIN) is high, the microcomputer control is by a PC. 7 PC or Adjustment tool Stop Bit LU850425 Preset Function Control (by high/low condition at inputs and by DC level of A/D inputs) Below functions are available to be selected under the condition of a low level of pin 6 (ADJIN). WHITE BALANCE (1) White Balance Mode Selection by Pins 95, 96 and 97 (Digital Input) White balance mode is selected by the combination of high/low level at three pins below. WBSEL1 95 PIN WBSEL2 96 PIN WBSEL3 97 PIN L L L H L L H L L Balance Mode Selection by Pin 48 (Analog Input)". A/D input (pin 53 and 54) control is available. Set the condition just before selecting this mode. H L H L L H Auto white balance mode. Preset mode 1 1 H L L H H H Preset mode 2 Preset mode 3 1 1 H H H Preset mode 4 1 WHITE BALANCE MODE NOTE A/D input (pin 48) control is available. See "(2) White (2) White Balance Mode Selection by Pin 48 (Analog Input) White balance mode can be selected by DC input level at pin 48 if all the above 95, 96, and 97 pins are connected to low. VOLTAGE LEVEL (PIN 48) 0 to 0.47 V WHITE BALANCE MODE Auto white balance. NOTE 0.48 to 0.94 V Set the condition just before feed this DC level. 0.95 to 1.41 V 1.42 to 1.88 V Analog input (pins 53 and 54) control is available. Preset mode 1 1 1.89 to 2.35 V 2.36 to 2.82 V Preset mode 2 Preset mode 3 1 1 2.83 to 3.3 V Preset mode 4 1 NOTE : 1. All of above preset modes are optional and each mode should be adjusted by a PC or an adjustment tool. 8 LU850425 ELECTRONIC SHUTTER SPEED CONTROL (1) Electronic Shutter Speed Selection by Pins 56, 57 and 58 (Digital Input) An electronic shutter speed can be selected by the combination of high/low level at three pins below under the condition of a high level of pin 9 (IRIS). IRISSEL1 IRISSEL2 IRISSEL3 SHUTTER SPEED NOTE (PIN 56) (PIN 57) (PIN 58) L L L H L L H L L Shutter Speed Selection by Pin 47 (A/D Input)". 1/60 s (NTSC), 1/50 s (PAL) 1/100 s (NTSC), 1/60 s (PAL) (flicker-less mode) H H L Preset mode 1 1 L H L L H H Preset mode 2 Preset mode 3 1 1 L H H H H H Preset mode 4 Preset mode 5 1 1 A/D input (pin 47) control is available. See "(2) Electronic (2) Electronic Shutter Speed Selection by Pin 47 (A/D Input) An electronic shutter speed can be selected by DC input level of pin 47 if all the above 56, 57 and 58 pins are connected to low. VOLTAGE LEVEL (PIN 47) 0 to 0.41 V 0.42 to 0.82 V SHUTTER SPEED 1/60 s (NTSC), 1/50 s (PAL) 1/100 s (NTSC), 1/60 s (PAL) NOTE 0.83 to 1.23 V 1.24 to 1.64 V Preset mode 1 Preset mode 2 1 1 1.65 to 2.05 V Preset mode 3 1 2.06 to 2.45 V 2.46 to 2.87 V Preset mode 4 Preset mode 5 1 1 2.88 to 3.3 V Preset mode 6 1 NOTE : 1. All of above preset modes are optional and each mode should be adjusted by a PC or an adjustment tool. 9 LU850425 (3) Window Selection of Emphasis Range at Auto Exposure INPUT VOLTAGE (PIN 49) 0 to 0.8 V 0.81 to 1.6 V 1.61 to 2.4 V 2.41 to 3.3 V RANGE SELECTION Preset 1 Preset 2 See "Fig. 1". See "Fig. 1". Preset 3 Whole range See "Fig. 1". Preset 1 Preset 2 A Preset 3 A A A A A C C C A B B A = 25% B = C = 100% B Emphasis range Fig. 1 Emphasis Range Auto Exposure Control Auto White Balance Control • Auto exposure control has the following three functions : q E/E (Electronic Exposure) function w Mechanical exposure function e AGC (Automatic Gain Control) function • Control method : A white color temperature control is sampled by an I/Q conversion signal. • By the reasoning of the video condition from I/Q, brightness, and other signal levels, white balance is controlled to keep the best condition. Carrier Balance Control • Carrier balance control has the following two functions. q At power on, carrier balance is automatically tuned. w Carrier balance is automatically tuned against AGC operation. 10 LU850425 TIMING CHART (A) LU850425 (µCOM),/BF24C04F (EEPROM) 1. Write Mode (Writing data that is sent from the adjustment tool to the EEPROM.) Start 11 µs 12.5 µs 88 µs 5 µs Stop 5.5 µs RMCK RMDA 1 0 1 0 0 0 0 Chip Address WA7 WA6 0 ACK D 7 D6 WA0 Word Address D0 Write Address ACK ACK 2. Read Mode 11 µs 88 µs 11 µs 11 µs 11 µs 29 µs RMCK RMDA 1 0 1 0 0 0 0 0 Chip Address Start WA7 ACK 1 WA0 Word Address ACK 0 1 0 0 0 0 1 D0 D7 Read Data Chip Address ACK [Address 0 EPROM data] 11 µs Stop EEPROM MARK tHIGH RMCK RMDA D7 ACK D0 Read Data D7 ACK D0 Read Data ACK [Address 1 [Address 255 EPROM data] EPROM data] 11 MINIMUM (µs) 11 tLOW 88 tHD : STA tSU : STA 11 11 tSU : STO 11 LU850425 (B) LU850425 (µCOM),/LR38266 (DSP) 1.4 µs 11.6 µs 5.6 µs SCK SOUT SLDI A7 A6 A5 A4 A3 A2 DSP Address (18h) A1 A0 D7 D6 D5 D4 D3 D2 DSP Data (26h) D1 D0 (C) LU850425 (µCOM),/IR3Y38M (CDS/AGC) 1.5 µs 8.6 µs 3 µs 2.7 µs 4.3 µs SCK SDATA D9 D7 D8 D6 D5 D4 D3 D2 D1 D0 Latch (D) LU850425 (µCOM),/LR38578 (TIMING GENERATOR IC) 1.5 µs 6 µs 1.5 µs 1.5 µs EECLK EEDATA EESRB D0 D1 D2 D3 D4 D5 D6 D7 D8 SMD1 SMD2 MR1 MR2 MC1 MC2 MS1 MS2 MF1 MF2 Latch (E) LU850425 (µCOM),/MB88346BV (D/A) 15.5 µs 3.0 µs 9.5 µs 3.5 µs 10.5 µs 3.0 µs 3.5 µs DACK DATA (Ex.) DAST 1 0 1 0 Address (0Ah) 0 1 1 0 0 Data (64h) 1 0 0 Analog voltage is suited to data (64h) A05 (MB88346BV pin 4) 12 LU850425 ABSOLUTE MAXIMUM RATINGS PARAMETER Power supply voltage Input voltage SYMBOL VDD RATING –0.3 to +6.5 UNIT V VI V NOTE Output voltage VO –0.3 to VDD + 0.3 –0.3 to VDD + 0.3 Output "Low" current IOL1 IOL2 +30 +4 mA mA IOH –4 mA 3 ÇIOL1 +100 mA 1 Output "High" current Total output current LOW level V 1 2 ÇIOL2 +20 mA 2 Total output current HIGH level ÇIOH TOPR mA ˚C 3 Operating temperature –20 –10 to +50 Storage temperature TSTG –50 to +150 ˚C NOTES : 1. Applied to outputs. (Pins 27 to 34 and 39 to 45 without input pin.) 2. Applied to outputs. (Except pins 27 to 34 and 39 to 45 without input pin.) 3. Applied to all outputs. RECOMMENDED OPERATING CONDITIONS PARAMETER Power supply voltage System clock frequency SYMBOL VDD fCK MIN. 2.7 5.25 TYP. 3.3 5.5 MAX. 3.6 5.75 OSCILLATION CIRCUIT (EXAMPLE)* CK1 C1 CK2 GND Ceramic OSC C2 Oscillation frequency resistor is contained within the IC. (Recommendation) Ceramic oscillator = PBRC5.50B (KYOTO CERAMIC CO. LTD.) (PBRC5.50B is contained C1, C2.) * Don't put any signal line cross the oscillation circuit line. 13 UNIT V MHz LU850425 ELECTRICAL CHARACTERISTICS DC Characteristics PARAMETER Input voltage Input current Output voltage (VDD = 2.7 to 3.3 V, TOPR = –20 to +70 ˚C) SYMBOL VIL1 MIN. 0 TYP. VIL2 0 0.3 VIH2 VDD – 0.3 VDD V 0.8VDD VDD IIL1 VIH = 0 V, VDD = 3 V –10 µA IIH1 VIN = VDD, VDD = 3 V 10 µA IIL2 VOL1 VIN = 0 V, VDD = 3 V IOL = 6 mA, VDD = 3 V –50 1 µA V 0.5 V V VOH1 –10 VOL2 IOH = –0.6 mA, VDD = 3 V VDD – 0.5 IOL = 0.6 mA, VDD = 3 V VOH2 IOH = –0.6 mA, VDD = 3 V VDD – 0.5 VR = VDD = 3 V, fM = 5.5 MHz Differential linear tolerance A/D VR = VDD = 3 V, fM = 5.5 MHz VR = VDD = 3 V, Linear tolerance fM = 5.5 MHz VR = VDD = 3 V, Combined tolerance fM = 5.5 MHz VR = VDD = 3 V Resolution –25 V Combined tolerance IDD IDDH IDDS1 IDDS2 fSYS = 2.25 MHz fSYS = 2.25 MHz, HALT mode fSUB oscillation, STOP mode fSUB stop, STOP mode NOTE 1 2 3 4 5 6 bits 10 ±1 ±2.5 LSB ±3 ±5 LSB ±4 ±6 LSB 8 Output resistance Power consumption MAX. UNIT 0.2VDD V V V VIH1 Resolution D/A CONDITIONS bits 6 k$ ±0.03 ±0.06 4 8 V mA 1 2 mA 20 40 µA 9 1 6 µA 10 7 8 NOTES : 1. Applicable pins : 95 to 100, 1, 81 to 84, 91 to 94, 64 to 66, 47 to 54, 19 to 26, 12, 13, 15, 17, 18, 72 to 75, 77 to 80 without output pin. 2. Applicable pins : RESET, 3 to 10, 67 to 71, 11, 14, 16, XCK1 without output pin. 3. Applicable pins : 3 to 10, 95 to 100, 1, 81 to 84, 91 to 94, 64 to 71, 47 to 54, 19 to 26, 11 to 18, 72 to 75, 56 to 59 without output pin. 4. Applicable pin : RESET 5. Applicable pins : 27 to 34, 35, 39 to 45 without input pin. 6. Applicable pins : 95 to 100, 1, 81 to 84, 91 to 94, 64 to 71, 19 to 26, 11 to 15, 72 to 75, 77 to 80, 56 to 59 without input pin. 7. Applicable pins : 60, 61 8. No load condition, VDD = 3 V, main-clock frequency = 5.5 MHz 9. No load condition, VDD = 3 V, fSUB oscillation status (32.768 kHz), VR = GND, input signal fixed. 10. No load condition, VDD = 3 V, OSCIN = GND, VR = GND, input signal fixed. 14 PACKAGES FOR CCD AND CMOS DEVICES PACKAGE (Unit : mm) 100 LQFP (LQFP100-P-1414) 50 100 26 1 25 14.0±0.2 0.6375 (1.0 ) 16.0±0.3 1.70MAX. 1.4±0.2 0.1±0.1 Package base plane (1.0) (1.0) 14.0±0.2 76 0.125±0.05 0.1 51 15 15.0±0.2 75 M (1.0) 0.08 0.2±0.08 16.0±0.3 0.5TYP. Unit : mm