Data Sheet - Version 1.0 Page 1 of 10 http://www.topro.com.tw Apr. 2007 Gener al Desc r i pt i on The TP6813 is designed as cost-effective single-chip solution with the higher performance to the back-end processor of PC Camera. It supports the USB 1.1 communication interface with PC host. The input interface of raw data CMOS sensors are supported in the chip and provided higher image performance. Besides, the bit rate control is also implemented in the TP6813 for the internet/intranet application environment. The TP6813 is designed to be a single-chip device packaged in the LQFP-48 package, and no external DRAM requirement, no external EEPROM supported , and only support I2C 8 bit/16bit for sensor programming.
Appl i c at i on = PC Camera = Video Conference = Video mail = Internet video phone
Feat ur es = Supports progressive CMOS Image Sensor up to VGA(640x480 pixels) resolution = Supports input raw data from CMOS sensor = USB interface is compliant to USB 1.1 full speed = Supports USB self-descriptors with internal ROM. = Advanced Image Signal Processing = Programmable color processing performance = Built-in standard JPEG encoder with adjustable compression ratio = Supports frame rate 30fps at VGA without external memory = Programmable serial port interface that can be programmed to be 8/16-bit I2C mode = Supports I2C master/slave mode = Supports Snap Shot function = Build-in Phase Lock Loop
Or der i ng I nf or mat i on TP 6813
Pb-free PKG Package Type Package Type F: LQFP
TP6813 Video Controller Built-in J PEG Encoder with USB 1.1 Interface for CMOS Sensor
Data Sheet - Version 1.0 Page 2 of 10 http://www.topro.com.tw Apr. 2007 Bl oc k Di agr am
TP6813 Video Controller Built-in J PEG Encoder with USB 1.1 Interface for CMOS Sensor
Data Sheet - Version 1.0 Page 3 of 10 http://www.topro.com.tw Apr. 2007 Pi n Conf i gur at i on V D D ( P L L , 2 . 5 V ) V D D L ( 3 . 3 V ) G N D V D D A ( 2 . 5 V ) ) GND P C L K M C L K DP DN GND(PLL)(DOUBLE BONDING) OSC_IN OSC_OUT G N D I O V D D I O ( 3 . 3 V ) V S Y N C H S Y N C S C K S D A D0 D1 D2 D3 D4 D5 D6 D7 D8 VDDCORE(2.5V) GNDCORE G P I O 6 G P I O 7 G P I O 4 G P I O 5 G P I O 0 TMS1 VDDCORE(2.5V) GNDCORE V D D I O ( 3 . 3 V ) G N D I O Package LQFP48 1 12 13 36 37 R E S E T 11 10 9 8 7 6 5 4 3 2 14 15 16 17 18 19 20 23 26 27 29 30 33 34 35 38 39 40 41 42 43 44 45 46 47
TP6813 Video Controller Built-in J PEG Encoder with USB 1.1 Interface for CMOS Sensor
Data Sheet - Version 1.0 Page 4 of 10 http://www.topro.com.tw Apr. 2007 Pi n Desc r i pt i on
Pin No. Name I/O Description 1 SDA I/O Data signal of serial interface connected to CMOS image sensor 2 SCK O Clock signal of serial interface connected to CMOS image sensor 3 VSYNC I Vertical synchronous signal of sensor 4 HSYNC I Horizontal synchronous signal of sensor 5 PCLK I/O Pixel clock of sensor 6 MCLK O Master clock of sensor 7 GNDIO PWR Ground of I/O cells 8 VDDIO PWR Power of I/O cells, 3.3 Volt 9 GND PWR Analog ground 10 VDDA PWR Analog power 11 VDD PWR Analog power for PLL 12 VDDL PWR Analog power for USB transceiver 13 GND PWR Analog ground 14 DP I Differential signal of USB interface 15 DN I Differential signal of USB interface 16 GND PWR Analog ground 17 OSC_IN I Input of crystal 18 OSC_OUT O Crystal output 19 GNDCORE PWR CORE ground 20 VDDCORE PWR CORE power, 2.5 Volt 21 Reserved 22 Reserved 23 TMS1 I Test mode select pin. 24 Reserved 25 Reserved 26 RESETn* I Global chip reset signal.(With internal power-on-reset circuit) 27 GPIO0 I/O Programmable I/O pins 28 Reserved 29 GNDIO PWR Ground of I/O cells 30 VDDIO PWR Power of I/O cells, 3.3 Volt 31 Reserved 32 Reserved 33 GPIO4 I/O Programmable I/O pins 34 GPIO5 I/O Programmable I/O pins 35 GPIO6 I/O Programmable I/O pins 36 GPIO7 I/O Programmable I/O pins 37 D8 I Digital data from CMOS image sensor 38 D7 I Digital data from CMOS image sensor 39 D6 I Digital data from CMOS image sensor 40 D5 I Digital data from CMOS image sensor 41 D4 I Digital data from CMOS image sensor 42 GND CORE PWR CORE ground 43 VDD CORE PWR CORE power, 2.5 Volt 44 D3 I Digital data from CMOS image sensor 45 D2 I Digital data from CMOS image sensor 46 D1 I Digital data from CMOS image sensor 47 D0 I Digital data from CMOS image sensor 48 Reserved
TP6813 Video Controller Built-in J PEG Encoder with USB 1.1 Interface for CMOS Sensor
Data Sheet - Version 1.0 Page 5 of 10 http://www.topro.com.tw Apr. 2007 USB Commands
endp# : b7 -> direction bit(0:OUT1:IN) b6b5b4 : 000 b3b2b1b0 : endpoint number Enable remote-wakeup Set endp# Stall(Halt) Get configuration (80) (08) (00,00) (00,00) (01,00) Get Config. value Set configuration (00) (09) (Config. Value) (00,00) (00,00) Set Config. value Get descriptor (80) (06) (index, type) (zero) (descriptor length) Get all descriptors Set descriptor Not supported. (Device will response "STALL" while Host issue this command)
Get interface (81) (0A) (00,00) (interface #) (01,00) Device will response this request by sending the alternative setting value of interface Set interface (01) (0B) (Alternative setting) (Interface #) (00,00) Alternative value : 00, 01, 02, 03, 04, 05, 06 Interface # : 00(high byte)00(low byte) Host will set the alternative setting value of this interface Get status (80) (00) (00,00) (00,00) (02,00) (81) (00) (00,00) (interface #,00) (02,00) (82) (00) (00,00) (endp #,00) (02,00) Status of Device Status of interface Status of endpoint Set address (00) (05) (Device address value) (00,00) (00,00) Host will set the device address Read register (C1) (0D) (00,00) (Address, 00) (01,00) Write register (41) (0E) (value,00) (Address, 00) (00,00)
TP6813 Video Controller Built-in J PEG Encoder with USB 1.1 Interface for CMOS Sensor
Data Sheet - Version 1.0 Page 6 of 10 http://www.topro.com.tw Apr. 2007 ROM addr ess mappi ng f or Desc r i pt or & st r i ng :(512 Byt es)
000 001 002 003 004
0FA Address of Endpoint #3 descriptors 0FB Address of Endpoint #2 descriptors 0FC Address of Endpoint #1 descriptors 0FD Address of interface descriptors 0FE Address of Configuration descriptors 0FF Address of Device descriptor 100 101 102 103 104 1F0 1F1 1F2 1F3 1F4 1F5 Address of strings describing interface #1(index=5) 1F6 Address of strings describing configuration(index=4) 1F7 Address of strings describing serial number(index=3) 1F8 Address of strings describing product(index=2) 1F9 Address of strings describing manufacturer(index=1) 1FA Address of Endpoint #3 descriptors 1FB Address of Endpoint #2 descriptors 1FC Address of Endpoint #1 descriptors 1FD Address of interface descriptors 1FE Address of Configuration descriptors 1FF Address of Device descriptor
Bank 0 Bank 1
TP6813 Video Controller Built-in J PEG Encoder with USB 1.1 Interface for CMOS Sensor
Data Sheet - Version 1.0 Page 7 of 10 http://www.topro.com.tw Apr. 2007 USB Devi c e Desc r i pt or s:
NOTE 1! The bConfiguration has to be value of "1" in order to match TP6813 , because it is default in chip. Please refer to USB specification v1.1(9.4.7)
NOTE 2 : The bmAttributes 80! means device doesn#t support remote wake-up.
TP6813 Video Controller Built-in J PEG Encoder with USB 1.1 Interface for CMOS Sensor
Data Sheet - Version 1.0 Page 8 of 10 http://www.topro.com.tw Apr. 2007 I nt er f ac e 0 desc r i pt or s :(Al t er nat e set t i ng 0, 1, 2, 3, 4, 5, 6)
TP6813 Video Controller Built-in J PEG Encoder with USB 1.1 Interface for CMOS Sensor
Data Sheet - Version 1.0 Page 9 of 10 http://www.topro.com.tw Apr. 2007 I 2C I nt erf ac e: I2C READ : I2C WRITE : R7 R6 R5 R4 R3 R2 R1 R0 D7 D6 D5 D4 D3 D2 D1 D0 R7 R6 R5 R4 R3 R2 R1 R0 D7 D6 D5 D4 D3 D2 D1 D0 R7 R6 R5 R4 R3 R2 R1 R0 D7 D6 D5 D4 D3 D2 D1 D0 When write REG.11H with value 01H, the timing diagram is look like the following When write REG.11H with value 81H, the timing diagram is look like the following When write REG.11H with value 02H, the timing diagram is look like the following When write REG.11H with value 42H, the timing diagram is look like the following
Absol ut e Max i mum Rat i ngs
Rec ommended Oper at i ng Condi t i ons Limit Parameter Symbol Min Typ Max Unit Test Condition Operating voltage V3.3 3.0 3.3 3.6 V - Operating voltage V2.5 2.4 2.5 2.7 V - Operating current (with load)@48MHz Iop - - 80 mA - NOTE: ALL voltages in above table are compared with Vss
AC/DC El ect r i cal Char act eri st i c s Limit Parameter Symbol Min Typ Max Unit Test Condition System clock - - 48 - MHz - XIN Crystal input clock - - 12 - MHz - SCK I2C clock frequency - 125 - 1000 KHz - Note: The AC timing are measured with 12MHz system clock signal
TP6813 Video Controller Built-in J PEG Encoder with USB 1.1 Interface for CMOS Sensor
Data Sheet - Version 1.0 Page 10 of 10 http://www.topro.com.tw Apr. 2007 Pac k age : 48 LQFP
Headquarters 3F-C3, No.1, Li-Hsin Road I, Hsinchu Science Park, Hsinshu, Taiwan 30078,R.O.C. Tel.: +886-3-5632585 Fax: +886-3-5632588