F81232 F81232 USB to UART Chip Release Date: August, 2008 Version: V0.10P F81232 . Aug., 2008 V0.10P F81232 F81232 Datasheet Revision History Version Date V0.10P 2008/8/25 Page - Revision History Preliminary Version Please note that all data and specifications are subject to change without notice. All the trade marks of products and companies mentioned in this data sheet belong to their respective owners. LIFE SUPPORT APPLICATIONS These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Fintek for any damages resulting from such improper use or sales. F81232 . Aug., 2008 V0.10P F81232 Table of Content 1. General Description.................................................................................................................................1 2. Feature List..............................................................................................................................................1 3. Pin Configuration ....................................................................................................................................2 4. Pin Description........................................................................................................................................2 6. Electrical Characteristics Request ...........................................................................................................8 7. Ordering Information ............................................................................................................................10 8. Package Dimensions .............................................................................................................................11 9. Application Circuit. ...............................................................................................................................12 F81232 . Aug., 2008 V0.10P F81232 1. General Description The F81232 is a highly-integrated USB to UART bridge controller providing a simple solution for updating RS-232 design to USB using a minimum of components. A programmable generator is provided to select baud rate from 1200 to 115.2kbps. In USB interface function, The F81232 communications with host by full-speed USB interface (12Mb/s). It supports 4 suits endpoint, one control endpoint( endpoint zero) is for bus enumeration, one output endpoint is for UART transmit data and two input endpoint is transmit UART data and status to host. In I2C interface function, The F81232 builds 256 bytes SRAM to save from I2C flash/ROM information for USB bus enumeration. The I2C flash/ROM contains IdVendor/ IdProduct/ BcdDevice/ Manufacturer string / IProduct string / iSerialNumber string information. In power function, The F81232 supports remote-wakeup function for USB interface, when PC system into S3 state. The F81232 receive UART data to asserted USB interface to wakeup PC system. 2. Feature List Full compliance with the USB specification Rev 1.1. Support RS-232 serial interface. Install as a standard COM port. Support baud rate from 1200 to 115.2kbps. Support remote-wakeup and power management Single chip USB to serial communication. Power by 3.3V and package in 16SSOP. F81232. Aug., 2008 V0.10P F81232 3. Pin Configuration 4. Pin Description OD12_5v - Open-drain output pin with 12 mA sink 5v tolerance capability. IOD12st_5v - TTL level bi-directional pin with schmitt trigger and with 12 mA sink 5v tolerance capability. O12 - output pin with 12 mA driving/sink capability. INst_5v - TTL level input pin with schmitt trigger 5v tolerance. INt - TTL level input pin. AIO - USB PAD compatible USB 1.1 spec( internal resistor 28ohm~44ohm) AIO1.5k - USB PAD compatible USB 1.1 spec( internal resistor 28ohm~44ohm),and internal pull high 1.5kohm P - Power. F81232. Aug., 2008 V0.10P F81232 Pin No 1 Pin Name D+ Type PWR Description AIO1.5k VDD D+, different data bus conforming to USB standard. internal pull high 1.5k 2 D- AIO VDD D-, different data bus conforming to USB standard. 3 XTALIN/48M INt VDD 12MHz/48Mhz clock input. 4 XTALOUT O12 VDD 12 MHz clock output. 5 SCL OD12_4.7k VDD I2C serial clock internal pull high 4.7k 6 SDA OD12_4.7k VDD I2C serial data internal pull high 4.7k 7 RTS# O12 VDD Serial port (request to send) 8 GND P GND GND 9 DTR# I/O12st_5v VDD Serial port(data terminal ready) 10 TXD O12 VDD Serial port(transmitted data ) 11 RXD INts_5V VDD Serial port(received data) 12 CTS# INts_5V VDD Serial port(clear to send) 13 DSR# INts_5V VDD Serial port(data set ready) 14 DCD# INts_5V VDD Serial port(data carrier detect) 15 RI# INts_5V VDD Serial port(ring indicator) 16 VDD P VDD Power supply input 3.3v 5. Functional Description 5.1 USB function The F81232 communications with host by full-speed USB interface (12Mb/s). It supports 4 suits endpoint, one control endpoint( endpoint zero) is for bus enumeration, one output endpoint is for UART transmit data and two input endpoint is transmit UART data and status to host. Endpoint zero is special significance in USB system. It is a control endpoint, and is required by every device. Only control endpoint accept special setup token that the host transfer command to device. During enumeration, host requests GET_DESCRIPTOR to device and device return information (over in endpoint zero) as what device driver top load. The F81232 get descriptor information from I2C flash/ROM, the F81232 returns default description to Host. If I2C flash/ROM does not connect with F81232, the below table is about F81232 default descriptor. offset 0 F81232. Field BLength size 1 Value 0x12 Aug., 2008 V0.10P F81232 1 2 4 5 6 7 8 10 12 14 15 16 17 bDescriptor Type BcdUSB bDeviceClass bDeviceSubClass bDeviceProtocol bMaxPacketSize IdVendor IdProduct BcdDevice Manufacturer IProduct iSerialNumber bNumConfiguration 1 2 1 1 1 1 2 2 2 1 1 1 1 0x01 0x0101 0x00 0x00 0x00 0x10 0x1934 0x0706 0x0001 0x01 0x02 0x03 0x01 Table 5-1 Device Descriptor offset 0 1 2 4 5 6 7 8 Field BLength bDescriptor Type wTotalLength bNumInterface bConfigurationValue iConfiguration BmAttributes MaxPower size 1 1 2 1 1 1 1 1 Value 0x09 0x02 0x0027 0x01 0x01 0x00 0xa0 0x32 Table 5-2 Configuration Descriptor offset 0 1 2 3 4 5 6 7 8 Field BLength bDescriptor Type wInterfaceNumber bAlternateSetting bNumEndpoints bInterfaceClass bInterfaceSubClass bInterfaceProtocol IInterface size 1 1 1 1 1 1 1 1 1 Value 0x09 0x04 0x00 0x00 0x03 0x00 0x00 0x00 0x00 Table 5-3 Interface Descriptor offset 0 1 2 3 4 6 Field BLength bDescriptor Type bEndpointAddress BmAttributes wMaxPacketSize BInterval size 1 1 1 1 2 1 Value 0x07 0x05 0x81 0x03 0x0010 0x0a Table 5-4 In Endpoint Descriptor offset 0 1 F81232. Field BLength bDescriptor Type size 1 1 Value 0x07 0x05 Aug., 2008 V0.10P F81232 2 3 4 6 bEndpointAddress BmAttributes wMaxPacketSize BInterval 1 1 2 1 0x82 0x02 0x0010 0x00 Table 5-5 In Endpoint Descriptor offset 0 1 2 3 4 6 Field BLength bDescriptor Type bEndpointAddress BmAttributes wMaxPacketSize BInterval size 1 1 1 1 2 1 Value 0x07 0x05 0x01 0x02 0x0010 0x00 Table 5-6 Out Endpoint Descriptor The string table 1 is about manufacturer information, its contents are “FINTEK”, the string table 2 is about Product information, its contents is “USB to UART Bridge. The string table 3 is about serial number information, its contents is “88635600168801”. In power function, The F81232 supports remote-wakeup function for USB interface, when PC system into S3 state. The F81232 receive any UART data and ring. The F81232 is asserted USB interface to wakeup PC system. 5.2 UART function The F81232 provides 1 suit UART through USB interface. UART includes 16-bytes send/ 64 bytes receive FIFO, a programmable baud rate generator, complete modem control capability and an interrupt system. . 5.3 Wakeup function The F81232 Supports wakeup system function, The F81232 detect idle state on USB bus for more than 3.0ms, it is into suspend state. In Suspend state, the F81232 receive any UART data and ring. It asserted USB interface. F81232. Aug., 2008 V0.10P F81232 D+ D3ms 15ms Suspend state Uart data wakeup Figure 5-1 USB remote wakeup D+ D3ms 15ms Suspend state Uart data wakeup Figure 5-2 USB remote wakeup F81232. Aug., 2008 V0.10P F81232 5.4 I2C interface function The F81232 Supports 1 suit I2C interface to get USB description information and builds 256 bytes RAM to save vendor USB description information. When power is ready, I2C function start to load USB description into 256 bytes RAM, and expect host requests GET_DESCRIPTOR to F81232 which returns vendor USB description, if i2c flash/ROM connect with F81232. The contents of I2C flash /ROM format is below table. 0x0 Security code 0x55 0x1 Security code 0xaa 0x2 IdVendor length 0x02 0x3 IdVendor low byte IdVendor low byte 0x4 IdVendor low byte IdVendor high byte 0x5 IdProduct length 0x02 0x6 IdProduct low byte IdProduct low byte 0x7 IdProduct low byte IdProduct high byte 0x8 Endpoint 1 polling time Define by vendor content 0x9 BcdDevice length 0x02 0xa BcdDevice low byte BcdDevice low byte 0xb BcdDevice high byte BcdDevice high byte 0xc Manufacturer string length Define by vendor content 0xd+ Manufacturer string length Manufacturer string content Define by vendor content 0xd+ Manufacturer string length + 1 IProduct string length Define by vendor content 0xd+ Manufacturer string length + IProduct string content Define by vendor content IProduct string length +1 0xd+ Manufacturer string length + ISerialNumber string length Define by vendor content IProduct string length +2 0xd+ Manufacturer string length + IProduct string length Define by vendor content IProduct string length +2 Table 5-7 I2C flash/ROM USB description format F81232. Aug., 2008 V0.10P F81232 6. Electrical Characteristics Request Absolute Maximum Ratings PARAMETER RATING UNIT Power Supply Voltage -0.3 to 3 V -0.3 to VDD+0.3 V 0 to 70 °C -55 to 150 °C Input Voltage Operating Temperature Storage Temperature Table 6-1: Electrical characteristics table Note: Exposure to conditions beyond those listed under Absolute Maximum Ratings may adversely affect the life and reliability of the device. DC Characteristics (TA = 0° C to 70° C, VDD = 3.3V ± 10%, VSS = 0V ) Parameter Supply Voltage range Conditions VDD MIN TYP MAX Unit 3.0 3.3 3.6 V Table 6-2: Operating Voltage table PARAMETER SYM. MIN TYP MAX. UNIT CONDITIONS I/O12st_5v - TTL level and schmitt trigger bi-directional pin with 12 mA source-sink 5v tolerance capability(3.3V) Input Low Voltage VIL Input High Voltage VIH 0.8 2.0 Hysteresis V V 0.5 V Output Low Current IOL 12 mA 0.4V Output high Current IOL 12 mA 2.4V Input High Leakage ILIH -1 1 µA Input Low Leakage ILIL -1 1 µA OD12_4.7k – Open-drain output pin with12mA source-sink capability(3.3V), pull high 4.7k Output Low Current IOL 12 mA 0.4V O12 – Output pin with12mA source-sink capability(3.3V) Output Low Current IOL 12 mA 0.4V Output HIGH Current IOH 12 mA 2.4V INt – TTL level input pin F81232. Input Low Threshold Voltage VIL Input Hign Threshold Voltage VIH 0.8 2.0 V V Aug., 2008 V0.10P F81232 Input High Leakage ILIH Input Low Leakage ILIL +1 µA µA -1 INts_5v – TTL level input pin and schmitt trigger, 5 tolerance Input Low Threshold Voltage VIL Input Hign Threshold Voltage VIH 0.8 2.0 V Hysteresis 0.5 Input High Leakage ILIH Input Low Leakage ILIL V V +1 µA µA -1 Table 6-3: PAD DC table USB Interface Parameter Symbol Min. Max. Units Rise Time TFR 4 20 Ns Fall Time TFF 4 20 Ns Differential Rise and Fall Time TFRFM 90 111.11 % ZDRV 28 44 Ω Matching Driver Output Resistance USB AC table USB timing F81232. Aug., 2008 V0.10P F81232 USB Jitter 7. Ordering Information F81232. Part Number Package Type Production Flow F81232R 16 pin SSOP (Green Package) Commercial, 0°C to +70°C Aug., 2008 V0.10P F81232 8. Package Dimensions 16pin-SSOP (150mil) Feature Integration Technology Inc. Headquarters 3F-7, No 36, Tai Yuan St., Chupei City, Hsinchu, Taiwan 302, R.O.C. Taipei Office Bldg. K4, 7F, No.700, Chung Cheng Rd., Chungho City, Taipei, Taiwan 235, R.O.C. TEL : 886-3-5600168 TEL : 866-2-8227-8027 FAX : 886-3-5600166 FAX : 866-2-8227-8037 www: http://www.fintek.com.tw Please note that all datasheet and specifications are subject to change without notice. All the trade F81232. marks of products and companies mentioned in this datasheet belong to their respective owner Aug., 2008 V0.10P