STV0676 CMOS digital camera co-processor Features STV0676 chipsets are supported by a fullyfeatured USB driver. This provides a wide range of user definable settings for optimum camera setup and operation. Isochronous data transfer over USB guarantees video quality at all times, irrespective of the number of other peripherals. Real-time video - up to 30fps VGA USB 1.1 compliant Motion-JPEG compression Isochronous USB data transfer Direct Show driver support Programmable vendor ID RGB-preview, YCrCb or M-JPEG video output Automatic exposure, gain and white balance Description The STV0676 co-processor combined with ST CMOS image sensors offers highly integrated imaging products which deliver USB 1.1, RGBpreview, YCrCb or M-JPEG digital video data at up to 30 frames per second. The STV0676 interfaces to CIF (352 x 288) or VGA (640 x 480) image sensor and performs: ) s ( ct - pixel defect correction, - auto exposure, auto gain, - auto white balance, anti-aliasing, antiflicker, - colour interpolation, colour balance, - gamma correction, - M-JPEG compression. Low power consumption, highly integrated designs and simple support circuitry enable OEMs to design low cost, low power, camera products for high volume consumer market places. c u d ) s t( STMicroelectronics offers camera manufacturers rapid-to-market camera products supported by comprehensive reference designs, software drivers and technical backup. e t le Applications o r P o s b O USB camera - Biometric identification, toys and games Embedded applications support - PDA, notebook PC, mobile phone - Set top box, and security applications u d o t e l o r P e Typical application s b O lens + IR filter CMOS Sensor CIF or VGA image array STV0676 Video Video USB Processor Compression Interface USB Cable to host PC MIcro Processor April 2006 Rev 2 EEPROM 1/22 www.st.com 1 Contents STV0676 Contents 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 1.1 STV0676 co-processor general description . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2 Video processor (VP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Sensor interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2.2 Video processor functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.3 Auto exposure and gain control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4 Defect correction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.5 Video compression (VC) engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.6 Control processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.7 Power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 c u d ) s t( External interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3 o r P 2.1 USB interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2 Mode selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3 Selecting VID and PID via the digiport . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.4 Serial EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.5 EEPROM format and contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.6 Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.7 CheckSum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.8 I2C slave mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.9 Digiport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.10 General purpose input and output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 e t le ) s ( ct o s b O - u d o r P e STV0676 application example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 t e l o 3.1 bs O 4 1.2.1 3.2 STV0676 pin details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Detailed specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.1 2/22 Embedded camera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Pinout and pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.1 5 USB webcam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 STV0676 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 STV0676 Contents 5.2 STV0676 AC/DC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 6 Package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 7 Reference design and evaluation kits . . . . . . . . . . . . . . . . . . . . . . . . . . 20 8 Design issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 9 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 c u d e t le ) s ( ct ) s t( o r P o s b O - u d o r P e t e l o s b O 3/22 Overview STV0676 1 Overview 1.1 STV0676 co-processor general description The STV0676 is a digital video processor requiring no external RAM and a minimum of passive support components to provide a complete USB camera. STV0676 accepts raw digital video data from a ST VGA or CIF format CMOS sensor and is capable of transferring the resulting JPEG data to a host PC over USB at rates up to 30 frames per second VGA. The internal STV0676 architecture consists of a number of separate functional blocks: Video processor (VP) Video compressor (VC) USB control block General purpose controller The VP controls the sensor and processes the raw RGB pixel data into YCbCr images. This YCbCr data is compressed by the VC. The USB control block transfers the compressed data to the host PC. 1.2 Video processor (VP) 1.2.1 Sensor interface e t le c u d ) s t( o r P The VP interfaces directly to the image sensor. The sensor interface comprises: 5-wire data bus SDATA[4:0] for receiving both video data and embedded timing references, 2-wire serial control interface (SSDA, SSCL), sensor clock SCLK reset circuitry sensor suspend control t e l o 4/22 ) s ( ct u d o r P e s b O o s b O - STV0676 Figure 1. Overview Block diagram of STV0676 video processor module Video processor Video compression (VC) engine SDATA[4:0] SSCL Compressed Data SSDA CIF/VGA RESET_N sensor SCLK USB port Stream control + SUSPEND FIFOs General purpose housekeeper functions including AEC, AGC and AWB USB core /glue logic and command FIFO's 10 ROM c u d SCL 8052 Core Clocks + PLL e t le 10 STV0676 GPIO/mode select ) s ( ct 1.2.2 Video processor functions ) s t( Digiport RAM SDA RESET D+ D- o r P 12MHz XTAL o s b O - Ext. 2 Interrupts I C Interface STV0676 provides a master clock SCLK to the camera module. Each 10-bit pixel value generated by the sensor is transmitted across the 5 wire databus SDATA[4:0] as a pair of sequential 5-bit nibbles, most significant nibble first. Codes representing the start and end frames and the start and end of lines are embedded within the video data stream to allow the video processor to synchronise with the video data stream. u d o r P e The video processing engine performs the following functions on incoming data: t e l o s b O full colour restoration at each pixel site from Bayer-patterned input data, matrixing/gain on each colour channel for colour purity, peaking for image clarity, gamma correction, colour space conversion from raw RGB to YCbCr[4:2:2]. The 2-wire sensor serial interface (SSDA and SSCL) provides control of sensor configuration. Note: The MSBit SDATA5 of the databus is unused in the current application but it will support future sensors where a 12bit ADC architecture may be used. 5/22 Overview 1.3 STV0676 Auto exposure and gain control The STV0676 automatically controls the sensor exposure, which is evaluated (and, where necessary modified) once per frame, where a frame consists of 2 video fields. The video fields are identical in length, that is, they do not contain any of the half line detail of the analogue video standards like CCIR or NTSC. Two fields per frame are required by the internal sensor video timing model. Integration time, sensor analogue gain and STV0676 digital gain are all used to control the overall exposure. The STV0676 exposure algorithm uses an asymptotic approach in calculating the change required in the present exposure value to approach the requested exposure target. 1.4 Defect correction STV0676 automatically detects and corrects pixel defects without the need for any additional components or sensor calibration procedures. This greatly simplifies camera assembly and test when compared with previous EEPROM-based defect correction schemes. The pixel defect correction scheme ensures that the STV0676 + ST CMOS sensor appears as a `defect free' chipset. 1.5 c u d Video compression (VC) engine The video compression engine performs 3 main functions: ) s t( o r P up scaling of input YCbCr 4:2:2 video stream from the VP (typically to scale from QVGA to CIF image formats), compression and encoding of YCbCr stream into Motion-JPEG (M-JPEG) format, USB bandwidth monitoring. e t le o s b O - The data stream from the VP can be up to VGA size. The scaler in VC can downsize this image. Once scaled the video stream is then converted into M-JPEG format. M-JPEG simply treats video as a series of JPEG still images. The conversion is realised via a sequential DCT (discrete cosine transform) with Huffman encoding. After transfer over USB, the M-JPEG stream is decoded in the device driver running on the host. ) s ( ct u d o The VC module is capable of compression ratios of up to 100:1 although this is scenedependent. Image framerate produced by the STV0676 chipset is fixed and furthermore the available USB bandwidth is also fixed (within the software driver). The VC module varies the compression ratio to match the fluctuating input video data rates to the available USB bandwidth and required framerate. r P e t e l o s b O 6/22 The final stage of the VC block manages the data transfer from the local VC FIFO store to the USB core. STV0676 performs this management automatically by employing long-term (frame-level) and short-term (block-level) compression management. STV0676 1.6 Overview Control processor The embedded 8052 microprocessor core controls the data flow through the major sub blocks within STV0676 as well as the I2C communications to reconfigure the VP corresponding to requests from the device driver. 1.7 Power management The chipset conforms to all power requirements specified by USB Version 1.1. c u d e t le ) s ( ct ) s t( o r P o s b O - u d o r P e t e l o s b O 7/22 External interfaces STV0676 2 External interfaces 2.1 USB interface The USB interface is designed to be compliant with version 1.1 of the USB specification. The STV0676 is a low power device and is therefore suitable for connection to any USB port on a PC, self-powered hub or when connected to a bus-powered hub. The device complies with the device framework specified in Chapter 9 of the USB specification as follows: The device supports a single high power configuration (Configuration 1). Endpoint 0 is the default control endpoint and is always supported. Endpoint 0 supports all of the USB commands required by the device framework. Vendor specific commands on Endpoint 0 are used for all device control. Configuration 1 supports a single interface (interface 0). Interface 0 supports 8 alternate settings (alternates 0-7). The alternate settings support between 0 and 2 additional endpoints. Endpoint 1 is used for isochronous transfer of image data. Endpoint 3 is used for transferring status information, e.g. state of a hardware button. The endpoints are configured as follows (Table 1) in the alternate settings: Table 1. Endpoint alternate settings Alternate setting Not present 1 Not present 2 128 bytes / packet; 1 packet / frame 3 384 bytes / packet; 1 packet / frame 4 640 bytes / packet; 1 packet / frame u d o r P e 7 o r P Endpoint3 (interrupt) Not present 8 bytes / packet; 1 packet /8 frames 8 bytes / packet; 1 packet /8 frames 8 bytes / packet; 1 packet /8 frames 8 bytes / packet; 1 packet /8 frames 768 bytes / packet; 1 packet / frame 8 bytes / packet; 1 packet /8 frames 896 bytes / packet; 1 packet / frame 8 bytes / packet; 1 packet /8 frames 1023 bytes / packet; 1 packet / frame 8 bytes / packet; 1 packet /8 frames The best and most consistent performance in terms of image quality is always obtained in the highest bandwidth setting (alternate 7). Under some circumstances it may not be possible for the host to allocate this amount of USB bandwidth to the device. t e l o 8/22 (s) b O - ct 6 s b O so 0 5 e t le Endpoint1 (isochronous) c u d ) s t( The isochronous settings reserve varying quantities of bandwidth - from 10% to 85% of USB bandwidth. The lower settings result in poor image quality due to heavy compression applied to maintain a high framerate streaming of image data, but at the same time leaving more bandwidth free for other USB devices. This is desirable if more than one camera is to be used, or if there are other isochronous peripherals connected. The device driver allows the user to specify the maximum bandwidth they wish to allocate to transfer data from the device. If the maximum specified by the user is not available, perhaps because another isochronous device has already reserved that bandwidth, then lower alternates are tried until one succeeds. STV0676 External interfaces Benchmark testing of the STV0676 indicates that 30fps CIF video (compressed) can be accommodated in 50% of USB bandwidth. 2.2 Mode selection All USB devices report a VID, PID and power consumption as part of a standard device descriptor. The VID and PID for STV0676 can be configured by the state of the digiport bits or by using an external EEPROM. The mode selection is made using the two MODESEL pins as described in Table 2 below. Table 2. Mode selection MODESEL[1] MODESEL[0] Mode of operation 0 0 USB Mode. External EEPROM fitted, therefore PID, VID and power consumption read from this source. See Section 2.4 1 0 Slave I2C mode. 0 1 USB mode. Default. No external EEPROM fitted, the PID VID and power consumption data determined by digiport[7:0]. See Section 2.3 1 1 Reserved c u d e t le 2.3 Selecting VID and PID via the digiport ) s t( o r P o s b O - Tables 4~7 demonstrate how the VID/PID information is defined via the digiport. The current reference design for the STV0676-chipset has digiport[7:0] connected to VSS, thus the VID and PID are 16'h0553 and 16'h0140 respectively. The digiport also controls the device current consumption that is reported to the host at device enumeration. Table 3. ) s ( ct Basic digiport configuration u d o Digiport bit slice r P e t e l o O bs Table 4. Function [3:0] configures the LS nibble of the PID [5:4] master VID/PID select [7:6] power setting Digiport LS nibble configuration digiport[3:0] PID LS nibble 4'b0000 4'b0000 4'b0001 4'b0001 4'b0010 4'b0010 4'b0011 4'b0011 4'b0100 4'b0100 9/22 External interfaces Table 4. Table 5. STV0676 Digiport LS nibble configuration (continued) digiport[3:0] PID LS nibble 4'b0101 4'b0101 4'b0110 4'b0110 4'b0111 4'b0111 4'b1000 4'b1000 4'b1001 4'b1001 4'b1010 4'b1010 4'b1011 4'b1011 4'b1100 4'b1100 4'b1101 4'b1101 4'b1110 4'b1110 4'b1111 4'b1111 Master VID/PID selection digiport[5:4] VID/PID reported 2'b00 16'h0553/16'h014x(1) 2'b01 16'h0553/16'h015x(1) 2'b10 16'h0553/16'h026x(1) 2'b11 16'h0553/16'h017x(1) e t le o s b O - c u d ) s t( o r P 1. The `x' ls nibble of the PID is defined by the value from Table 4 above Table 6. Device power consumption indicator digiport[7:6] ) s ( ct 2'b00 2'b01 u d o 2'b10 2'b11 t EEPROM Serial e l o 2.4 s b O 10/22 r P e current consumption reported 98mA 250mA 350mA 500mA STV0676 is designed to be used with a 128 or 256 byte serial I2C EEPROM. The EEPROM can be programmed with data to allow a user to fully customise the USB identity of STV0676. The configuration of this data is as follows. STV0676 2.5 External interfaces EEPROM format and contents Table 7. EEPROM format and contents Location Contents 0 fixed number, must be 0x'ED 1 fixed number, must be 0x'15 2 reserved, must be 0x'00 3 max device power (=mA/2, e.g. 400mA enter 0x'C8) 4 VidLo, low byte of the vendor ID 5 VidHi, highbyte of the vendor ID 6 PidLo, low byte of the product ID 7 PidHi, highbyte of the product ID 8 manufacturer string offset, example below 9 product string offset, see below 10 interface 0 String offset 11 reserved, must be 0x'00 12 reserved, must be 0x'00 13 checksum c u d e t le ) s t( o r P The remaining space is available for the string blocks indexed at locations 8, 9 and 10. 2.6 Strings o s b O - The strings referred to above (locations 8-10), are the USB string descriptors referenced from the device, configuration and interface descriptors. The value should be set to '0' if the string is not implemented or to the offset in bytes of the start of the string block in the EEPROM. ) s ( ct u d o The first byte of each string block is the number of the characters in the string. Subsequent bytes are the actual string, which need not include a terminating null (Table 8:). r P e Table 8. t e l o O bs EEPROM device string example Location Contents 8 Manufacturer string offset = 16 16 String length = 5 17 String text = `H' (in ascii) 18 String text = `e' (in ascii) 19 String text = `l' (in ascii) 20 String text = `l' (in ascii) 21 String text = `o' (in ascii) 11/22 External interfaces 2.7 STV0676 CheckSum The checksum is calculated by adding the byte value of EEPROM locations 0 to 12 inclusive, the low order byte of the result is stored in location 13. I2C slave mode 2.8 STV0676 can be configured to behave as an I2C slave. This allows the device to be configured by host devices other than PCs. Details of the I2C messages supported and description of the I2C register bank are available from STMicroelectronics. 2.9 Digiport The Digiport is a 10-bit bi-directional data port which can be used to transfer video data in or out of the device. This port can also be used to configure USB descriptor information at power up see (Section 2.3). Full details on the digiport operation and control are available from STMicroelectronics. 2.10 c u d General purpose input and output o r P ) s t( STV0676 provides up to 8 pins which can be used as general purpose I/O. These pins can be used to interface to led's, buzzers, switches etc. e t le ) s ( ct u d o r P e t e l o s b O 12/22 o s b O - STV0676 STV0676 application example 3 STV0676 application example 3.1 USB webcam Figure 2 shows a block diagram of a basic webcam using the minimum of external components. The camera is controlled entirely through PC drivers over USB. Note: If required a custom USB PID/VID can be configured by the use of an EEPROM, as detailed in Section 2.3 Figure 2. Webcam block diagram Lens + IR filter CMOS sensor CIF or VGA STV0676 Image array Video Processor Video Compression USB Interface USB Cable MIcro Processor to host PC 3.2 Embedded camera c u d e t le ) s t( EEPROM o r P Figure 3 shows a block diagram of a camera intended for embedded applications, outputting JPEG, YCrCb or RGB preview over an 8bit bus, the third party electronics would control the STV0676 using I2C. Figure 3. Embedded camera block diagram lens + IR filter ) s ( ct CMOS Sensor CIF or VGA u d o Image array r P e t e l o s b O o s b O - Video processor MIcro processor STV0676 Video compression FIFO Digiport Third party electronics I2C 13/22 Pinout and pin descriptions STV0676 Pinout and pin descriptions 4.1 STV0676 pin details Figure 4. STV0676 pinout EEPROM_SCL EEPROM_SDA USB_DP USB_DN CORE_VSS CORE_VDD IO_VSS IO_VDD RESERVED[4] RESERVED[3] RESERVED[2] MODESEL[1] RESERVED[1] RESERVED[0] MODESEL[0] IO_VSS 4 64 49 1 48 TEST_CONF[2] TEST_CONF[1] TEST_CONF[0] PLL_VDD PLL_VSS XTAL_IN XTAL_OUT CORE_VDD CORE_VSS IO_VDD IO_VSS DIGIPORT[9] DIGIPORT[8] DIGIPORT[7] DIGIPORT[6] DIGIPORT[5] c u d e t le 16 17 uc s b O 14/22 (t s) o s b O - DIGIPORT[4] DIGIPORT[3] DIGIPORT[2] DIGIPORT[1] DIGIPORT[0] IO_VDD IO_VSS CORE_VDD CORE_VSS SENSOR_CLK SENSOR_DB[5] SENSOR_DB[4] SENSOR_DB[3] SENSOR_DB[2] SENSOR_DB[1] SENSOR_DB[0] d o r P e t e l o GPIO[7] GPIO[6] GPIO[5] GPIO[4] GPIO[3] GPIO[2] GPIO[1] GPIO[0] IO_VSS IO_VDD SW0_N SW1_N SPDN SSCL SSDA RESET_N o r P 33 32 ) s t( STV0676 Table 9. Pin Pinout and pin descriptions STV0676 pin description Signal Type Description Power supplies 4 PLL_VDD INPUT VDD for internal phase locked loop 5 PLL_VSS INPUT GND for internal phase locked loop 8 CORE_VDD INPUT VDD for core logic 9 CORE_VSS INPUT Ground for core logic 10 IO_VDD INPUT VDD for pad ring 11 IO_VSS INPUT Ground for pad ring 22 IO_VDD INPUT VDD for pad ring 23 IO_VSS INPUT Ground for pad ring 24 CORE_VDD INPUT VDD for core logic 25 CORE_VSS INPUT Ground for core logic 39 IO_VDD INPUT VDD for pad ring 40 IO_VSS INPUT Ground for pad ring 49 IO_VSS INPUT Ground for pad ring 57 IO_VDD INPUT VDD for pad ring 58 IO_VSS INPUT Ground for pad ring 59 CORE_VDD INPUT VDD for core logic 60 CORE_VSS INPUT Ground for core logic Device master clock and reset 6 XTAL_IN ANA 7 XTAL_OUT OSC 33 RESET_N SCHMITT r P e e t le o r P o s b O - System clock pad ) s ( ct u d o Digiport/usb configuration interface c u d ) s t( System clock pad System, power-on-reset supplied by companion sensor 12 DIGIPORT[9] BIDIR Digiport operation 13 DIGIPORT[8] BIDIR Digiport operation 14 DIGIPORT[7] BIDIR Digiport operation /programmable USB current consumption reported 15 DIGIPORT[6] BIDIR Digiport operation /programmable USB current consumption reported 16 t e l o DIGIPORT[5] BIDIR Digiport operation /programmable USB VID/PID 17 DIGIPORT[4] BIDIR Digiport operation /programmable USB VID/PID 18 DIGIPORT[3] BIDIR Digiport operation /programmable USB PID 19 DIGIPORT[2] BIDIR Digiport operation /programmable USB PID 20 DIGIPORT[1] BIDIR Digiport operation /programmable USB PID 21 DIGIPORT[0] BIDIR Digiport operation /programmable USB PID s b O 15/22 Pinout and pin descriptions Table 9. Pin STV0676 STV0676 pin description (continued) Signal Type Description Sensor interface 26 SENSOR_CLK BIDIR Sensor clock 27 SENSOR_DB[5] INPUT Sensor data bus [bit5] 28 SENSOR_DB[4] INPUT Sensor data bus [bit4] 29 SENSOR_DB[3] INPUT Sensor data bus [bit3] 30 SENSOR_DB[2] INPUT Sensor data bus [bit2] 31 SENSOR_DB[1] INPUT Sensor data bus [bit1] 32 SENSOR_DB[0] INPUT Sensor data bus [bit0] 34 SSDA 3 state Sensor serial interface data 35 SSCL 3 state Sensor serial interface clock 36 SPDN BIDIR Control line to sensor to select ultra low power SUSPEND mode Misc. control 37 SW1 _N INPUT Spare switch input 38 SW0 _N INPUT Remote wakeup c u d GPIO interface/ other e t le 41 GPIO[0] BIDIR General purpose input/output (GPIO) 42 GPIO[1] BIDIR General purpose input/output (GPIO) 43 GPIO[2] BIDIR General purpose input/output (GPIO) 44 GPIO[3] BIDIR General purpose input/output (GPIO) 45 GPIO[4] BIDIR General purpose input/output (GPIO) 46 GPIO[5] BIDIR 47 GPIO[6] BIDIR 48 GPIO[7] BIDIR 50 51 52 ) s ( ct ) s t( o r P o s b O - General purpose input/output (GPIO) General purpose input/output (GPIO) MODESEL[0] u d o BIDIR Along with ModeSel[1] used to configure I2C interface and PID/VID selection. Please see Table 2 for further details RESERVED[0] Not connect in reference design RESERVED[1] BIDIR Connect to VDD in reference design 53 t e l o BIDIR MODESEL[1] BIDIR Along with ModeSel[0] used to configure I2C interface and PID/VID selection. Please see Table 2 for further details 54 RESERVED[2] BIDIR Connect to VDD in reference design 55 RESERVED[3] BIDIR Not connect in reference design 56 RESERVED[4] BIDIR Not connect in reference design r P e s b O 16/22 General purpose input/output (GPIO) STV0676 Table 9. Pin Pinout and pin descriptions STV0676 pin description (continued) Signal Type Description USB interface 61 USB_DN BIDIR USB data line 62 USB_DP BIDIR USB data line Test mode selection 1 TEST_CONF[0] INPUT Test configuration bit - connect to VDD for normal operation 2 TEST_CONF[1] INPUT Test configuration bit - connect to VDD for normal operation 3 TEST_CONF[2] INPUT Test configuration bit - connect to VDD for normal operation EEPROM interface(1) 63 EEPROM_SDA BIDIR Serial data to/from the EEPROM or slave I2C clock 64 EEPROM_SCL BIDIR Serial clock to the EEPROM or slave I2C clock ) s t( 1. The I2C pins EEPROM_SCL and EEPROM_SDA can be reconfigured to act as a low speed I2C slave device that allows the user to directly control the internal register space of the VP and VC modules. c u d e t le ) s ( ct o r P o s b O - u d o r P e t e l o s b O 17/22 Detailed specifications STV0676 5 Detailed specifications 5.1 STV0676 absolute maximum ratings Table 10. Absolute maximum ratings Description Range Operating temperature Storage temperature 5.2 STV0676 AC/DC characteristics Table 11. AC/DC characteristics Parameter Description Unit 0 to 70 o -50 to 150 o C C Min Typ Max 1.95 VDD_CORE Primary STV0676 power supply 1.55 1.8 VDD_IO 3.3V power supply for on-chip USB transceiver and IO 3.0 3.3 VDD_PLL Analog supply to the PLL 1.60 1.8 I_coresuspend Current consumption in suspend mode I_corestandby Current consumption in standby mode I_coreactive Current consumption while active, VGA 30fps I_IOsuspend Current consumption in suspend mode I_IOstandby Current consumption in standby mode I_IOactive Current consumption while active, VGA 30fps I_PLLsuspend Current consumption in suspend mode I_PLLstandby Current consumption in standby mode I_PLLactive Current consumption while active, VGA 30fps VIl CMOS input low voltage (XTAL_IN) b O - u d o r P e CMOS input high voltage (XTAL_IN) VHYS t e l o VIl bs O so ct VIH VIH (s) e t le Pr 2.0 V V V 3 A 9.6 mA 52 mA 40 A 540 A 6.6 mA 0.4 A 476 A 476 A 0.687 1.19 Hysteresis (XTAL_IN) V V 0.51 V 0.35VD D CMOS input low voltage CMOS input high voltage 3.6 ) s t( uc od Units 0.65VD D V V VT+ CMOS schmitt input low to high threshold voltage 2.15 V VT- CMOS schmitt input high to low threshold voltage 1.05 V VT Threshold point 1.65 V VOH Output high voltage VOL Output low voltage 18/22 2.4 V 0.4 V STV0676 Package mechanical data 6 Package mechanical data mm inch Dim. Min Typ Max A Min Typ 1.60 0.05 0.15 0.002 A2 1.35 1.40 1.45 0.053 0.055 0.057 B 0.18 0.23 0.28 0.007 0.009 0.011 C 0.12 0.16 0.20 0.0047 0.0063 0.0079 0.006 D 12.00 0.472 D1 10.00 0.394 D3 7.50 0.295 e 0.50 0.0197 E 12.00 0.472 E3 7.50 0.295 L 0.40 0.60 L1 0.75 0.0157 1.00 K Weight: 0.30 gr 0.0236 0.0295 D1 D3 ) s ( ct 48 e t le o r P o s b O - A A2 A1 33 32 0.10mm u d o Seating Plane B E1 E3 B r P e t e l o 17 64 1 16 C e L L1 s b O ) s t( TQFP64 0C (min.), 7C (max.) D c u d Body: 10x10x1.40mm 0.0393 49 MECHANICAL DATA (R) 0.063 E A1 OUTLINE AND Max K TQFP64 19/22 Reference design and evaluation kits 7 STV0676 Reference design and evaluation kits STMicroelectronics supply a full range of supporting reference design kits for their range of sensors and coprocessors. Please refer to the STMicroelectronics website for the up-to-date list of available reference designs and evaluation kits. 8 Design issues There are no restrictions on the positioning of the STV0676 coprocessor with respect to the sensor. An EEPROM is required for full USB 1.1 compliance, see reference design manual for details. c u d e t le ) s ( ct u d o r P e t e l o s b O 20/22 o s b O - o r P ) s t( STV0676 9 Revision history Revision history Table 12. Document revision history Date Revision Changes 13-Aug-2002 1 Initial release. 10-Apr-2006 2 Format update c u d e t le ) s ( ct ) s t( o r P o s b O - u d o r P e t e l o s b O 21/22 STV0676 Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ("ST") reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. c u d All ST products are sold pursuant to ST's terms and conditions of sale. ) s t( Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. o r P No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. e t le o s b O - UNLESS OTHERWISE SET FORTH IN ST'S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. ) s ( ct UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZE REPRESENTATIVE OF ST, ST PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS, WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. u d o Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. r P e t e l o s b O ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. (c) 2006 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 22/22