KL5KUSB116 USB to Serial Description The Kawasaki USB to Serial enables your system to have the capability to communicate between the USB (Universal Serial Bus) port and serial port peripherals. This device meets the USB 1.0/1.1 and standard serial port specifications. All the advantages of USB are available to peripherals with serial port interface such as plug and play capabilities. With the USB Standard of high-speed data transfers, this device is ideal for connections to high-speed modems or ISDN terminal adapters. Kawasaki’s device and software enable the USB interface to be transparent to the peripheral and requires no firmware changes. This makes it possible for peripherals with serial interfaces to easily interface with USB with minimum modifications. This feature is ideal for Legacy applications. Features • • • • • • Advanced 16 Bit processor for USB transaction processing and control data processing Compliant with the USB 1.0/1.1 (Universal Serial Bus) Serial Port 230kbps 128 byte FIFO Plug and Play compatible 2 • • • I C interface Utilizes low cost external crystal circuitry 1.5K x 16 internal RAM buffer for fast communications Debug UART for debug and code development USB host device drivers available Single-chip solution in a 44 pin LQFP • • • Block Diagram VP VM USB Interface Watchdog Timer Timer 1 Serial Interface Engine CLK X2 PLL & Clock Generator 16 Bit Processor Channel 1 Timer 0 Serial Interface (4) 16 Bit Address / Data Bus DCD DSR CTS RI Txd Rxd RAM (3KB) Mask ROM DTR RTS EEPROM Serial Interface SCL Debug UART UART_Txd UART_Rxd SDA Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com Ver. 2.2 1 KL5KUSB116 USB to Serial KL5KUSB116 Application Block Diagram USB KL5KUSB116 USB Serial Optional External Memory Serial Device Serial Port Serial EEPROM 33 32 31 30 29 28 27 26 25 24 23 nTEST nRESET GND DCD DSR CTS DTR RTS RXD GND VDD Pin Diagram 44LQFP 34 35 36 37 38 39 40 41 42 43 44 KL5KUSB116 22 21 20 19 18 17 16 15 14 13 12 X2 CLK TXD UART_TXD PLLEN VDD CP_OUT V CO_IN GND SCL VDD VDD SDA PU_1 GPIO_31 GPIO_29 RI nPWR_PWN UART_TXD GND VP VM 1 2 3 4 5 6 7 8 9 10 11 XD_0 XD_1 XD_2 XD_3 GND XD_4 XD_5 XD_6 GND XD_7 VDD Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com Ver. 2.2 2 KL5KUSB116 USB to Serial Pin Description Pin # I/O LQFP 1 2 IN/OUT 3 IN 4 IN/OUT 5 IN/OUT 6 IN 7 OUT 8 IN 9 10 IN/OUT 11 IN/OUT 12 13 IN/OUT 14 15 IN 16 OUT 17 18 IN 19 IN 20 OUT 21 IN 22 OUT 23 24 25 IN 26 OUT 27 OUT 28 IN 29 IN 30 IN 31 32 IN 33 IN 34 IN/OUT 35 IN/OUT 36 IN/OUT 37 IN/OUT 38 39 IN/OUT 40 IN/OUT 41 IN/OUT 42 43 IN/OUT 44 *Pins are 5V tolerant Pin Name VDD SDA PU_1 GPIO_31 GPIO_29 RI nPWR_DWN UART_TXD GND VP VM VDD SCL GND VCO_IN CP_OUT VDD PLLEN UART_RXD TXD CLK X2 VDD GND RXD RTS DTR CTS DSR DCD GND nRESET nTEST XD_0* XD_1* XD_2* XD_3* GND XD_4* XD_5* XD_6* GND XD_7* VDD Description VDD Serial EEPROM serial data. Connect to EEPROM/SDA Pull-up to USB +Pin for High Speed GPIO_31 GPIO_29 Ring Indicate Active low Powerdown mode signal Debug UART Txd Ground USB +Pin USB -Pin VDD Serial EEPROM clock. Connect to EEPROM/SCL Ground PLL VCO In PLL VDO Out VDD PLL Enable Debug UART Rxd Transmit Data 12MHz Clock/Crystal Input 12MHz Crystal Output VDD Ground Receive Data Request To Send Data Terminal Ready Clear To Send Data Set Ready Data Carrier Detect Ground Reset Pin Test Pin. Disconnect for normal operation. External Data Pins External Data Pins External Data Pins External Data Pins Ground External Data Pins External Data Pins External Data Pins Ground External Data Pins VDD Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com Ver. 2.2 3 KL5KUSB116 USB to Serial Function Description 16 Bit Processor The integrated 16 bit processor serves as a micro controller for USB peripherals. The processor can execute approximately five million instructions per second. With this processing power it allows the design of intelligent peripherals that can process data prior to passing it on to the host PC, thus improving overall performance of the system. The masked ROM in the this device or external memory contains a specialized instruction set that has been designed for highly efficient coding of processing algorithms and USB transaction processing. The 16-bit processor is designed for efficient data execution by having direct access to the RAM Buffer, external memory, I/O interfaces, and all the control and status registers The processor supports prioritized vectored hardware interrupts and has as many as 240 software interrupt vectors. The processor provides six addressing modes, supporting memory-to-memory, memory-toregister, register-to-register, immediate-to-register or immediate-to-memory operations. Register, direct, immediate, indirect, and indirect indexed addressing modes are supported. In addition, there is an auto-increment mode in which a register, used as an address pointer is automatically incremented after each use, making repetitive operations more efficient both from a programming and a performance standpoint. The processor features a full set of program control, logical, and integer arithmetic instructions. All instructions are sixteen bits wide, although some instructions require operands, which may occupy another one or two words. Several special “ short immediate” instructions are available, so that certain frequently used operations with small constant operand will fit into a 16-bit instruction. The Processor – Divide/Multiply function The processor’s divide/multiply function contains all the instructions of the base processor that additionally includes integer divide and multiply instructions. A signed multiply instructions takes two 16-bit operands and returns a 32-bit result. A signed divide instruction divides a 32-bit operand by a 16-bit operand. RAM Buffer The USB controller contains internal buffer memory. The memory is used to buffer data and USB packets and accessed by the 16 Bit processor and the SIE. USB transactions are automatically routed to the memory buffer. The 16-bit processor has the ability to set up pointers and block sizes in buffer memory for USB transactions. Data is read from the interface and is processed and packetized by the 16-bit I/O processor. Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com Ver. 2.2 4 KL5KUSB116 USB to Serial PLL Clock Generator The PLL circuitry is provided to generate the internal 48MHz clock. This circuitry is designed to allow use of a low cost 12 MHz external crystal which is connected to CLK and X2. If an external 12 MHz clock is available in the application, it may be used in lieu of the crystal circuit and connected directly to the CLK input pin. USB Interface The USB controller meets the Universal Serial Bus (USB) specification ver 1.0/1.1. The transceiver is capable of transmitting and receiving serial data at the USB’s full speed, 12 Mbits/sec data rate. The driver portion of the transceiver is differential, while the receive section is comprised of a differential receiver and two single ended receivers. Internally, the transceiver interfaces to the SIE logic. Externally, the transceiver connects to the physical layer of the USB. UART Serial Interface One UART serial port is provided. The port can be configured for a wide selection of baud rates, 300 to 230.4 K baud, and support a set of control signals. The UART provides a means for external serial devices to access the USB. Debug UART An independent UART serial port is provided for debug and code development. The port can be configured for a wide selection of baud rates, 7200 to 115.2K baud. The port provides transmit and receive data support only. Serial EEPROM Support The USB Controller serial interface is used to provide access to external EEPROM’s. interface can support a variety of serial EEPROM formats. Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com The Ver. 2.2 5 KL5KUSB116 USB to Serial Electrical Characteristics ABSOLUTE MAXIMUM RATINGS Parameter Supply Voltage Input Voltage Storage Temperature Symbol VDD VIN (Normal) VIN (5V Tolerant) TSTG Ratings -0.3 to 4.0 -0.3 to VDD+0.3 -0.3 to 6.0 -55 to 125 DC Characteristics and conditions (VDD @ 3.3V±.3V) Symbol Parameter Condition VDD VIH VIL V+ * V- * VH * IIH IIL VOH VOL IOZ Supply Voltage Input high voltage Input low voltage Input high voltage Input low voltage Hysteresis voltage Input high current Input low current Output high voltage Output low voltage 3-state leakage current Schmitt Schmitt Schmitt VIN = VDD VIN = Vss VOH=VSS VOL=VDD Min 3.0 2.0 0.5 0.4 -10 -10 2.4 -10 -10 Value Typ 3.3 1.8 0.9 - Unit V V V °C Unit Max 3.6 0.8 2.3 10 10 0.4 10 -10 V V V V V V µA µA V V µA µA Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com Ver. 2.2 6 KL5KUSB116 USB to Serial Kawasaki LSI assumes no responsibility or liability for (1) any errors or inaccuracies contained in the information herein and (2) the use of the information or a portion thereof in any application, including any claim for (a) copyright or patent infringement or (b) direct, indirect, special or consequential damages. There are no warranties extended or granted by this document. The information herein is subject to change without notice form Kawasaki LSI Feb2002 • Copyright 2002 • Kawasaki LSI • Printed in U.S.A Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com Ver. 2.2 7