ETC KL5KUSB108

KL5KUSB108
USB to 2 Serial / 1 Parallel
Description
The Kawasaki USB to 2 Serial / 1 Parallel enables your system to have the capability to communicate
between the USB (Universal Serial Bus) port and 2 serial ports and 1 parallel port. This device meets the
USB 1.0/1.1 and IEEE1284 specifications. All the advantages of USB are available to peripherals with
parallel and serial port interface. With Kawasaki’s USB to 2 Serial / 1 Parallel device and software, it is
transparent to the peripheral and no firmware changes are required which makes it possible to convert
peripherals with serial and parallel interfaces to USB interface with minimum modifications. This device is
ideal for legacy compatibility solutions.
Features
•
•
•
•
•
•
•
Advanced 16 Bit processor for USB transaction
processing and control data processing
Compliant with the USB 1.0/1.1 (Universal
Serial Bus)
Plug and Play compatible
Compliant with USB printer device class
specification
IEEE1284 compliant including EPP and ECP
modes
PC parallel port register-based standard
operation
5V tolerate Centronics inputs pins.
•
•
•
•
•
•
2 serial ports
230kbps baud rate
128 byte FIFO
Serial EEPROM interface
Utilizes low cost external crystal circuitry
8K 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 100 pin LQFP
Multiple logical channels support
•
•
•
•
Block Diagram
USB
Interface
Channel 2
Watchdog
Timer
Channel 1
Timer 1
16 Bit
Processor
VP
VM
Serial
Interface
Engine
Serial
Interface
Serial
ports
DTR
RTS
DCD
DSR
CTS
RI
Timer 0
Txd
Rxd
16 Bit Address / Data Bus
X2
Txd
CLK
Rxd
PLL & Clock
Generator
Debug
UART
RAM
(16KB)
Mask
ROM
IEEE1284
port
EEPROM
Serial
Interface
SCL
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. 1.2
1
KL5KUSB108
USB to 2 Serial / 1 Parallel
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
VDD
XD_15
XD_14
GND
XD_13
XD_12
XD_11
XD_10
XD_9
XD_8
XD_7
XD_6
XD_5
XD_4
XD_3
XD_2
XD_1
XD_0
GND
XA_13
XA_12
XA_11
XA_10
XA_9
XA_8
Pin Diagram 100LQFP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
KL5KUSB108
100 LQFP
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
XA_7
XA_6
XA_5
XA_4
XA_3
XA_2
XA_1
GND
nNTST
nNRESET
nXROMSEL
nXWR
nXRD
PERROR
BUSY
nFAULT
nINIT
nSELECTIN
nAUTOFD
nXRAMSEL
GND
nXBHE
XA_0
XA_14
VDD
VDD 26
SELECT 27
SCL 28
GND 29
VCO_IN 30
CP_OUT 31
VDD 32
PLLEN33
nRXD 34
nACK 35
nPWR_DWN 36
UART2_Txd 37
UART2_Rxd 38
UART2_RTS 39
UART2_DTR40
UART2_CTS 41
UART2_DSR42
UART2_DCD 43
UART2_RI 44
nSTROBE 45
GND 46
CLK 47
X2 48
XA_15 49
VDD 50
VDD
SDA
PU#1
DATA8
DATA7
DDTA6
DATA5
DATA4
DATA3
DATA2
DATA1
PLH
GND
UART1_Txd
UART1_Rxd
UART1_RTS
UART1_DTR
UART1_CTS
UART1_DSR
UART1_DCD
UART1_RI
nTXD
GND
VP
VM
Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com
Ver. 1.2
2
KL5KUSB108
USB to 2 Serial / 1 Parallel
Pin Description
Pin #
LQFP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
I/O
Pin Name
Description
IN/OUT
VDD
SDA*
VDD
Serial EEPROM serial data. Connect to EEPROM/SDA for
<=16kb EEPROM, and EEPROM/SCL for >16kb EEPROM.
Pull up termination for USB DATA+ for High Speed
Parallel port: Data8
Parallel port: Data7
Parallel port: Data6
Parallel port: Data5
Parallel port: Data4
Parallel port: Data3
Parallel port: Data2
Parallel port: Data1
Parallel port: Peripheral Logic High
GND
UART1: Transmit Data
UART1: Receive Data
UART1: Request To Send
UART1: Data Terminal Ready
UART1: Clear To Send
UART1: Data Set Ready
UART1: Data Carrier Detect
UART1: Ring Indicate
Debug UART Txd
USB GND
USB DATA+ Pin
USB DATA- Pin
USB VDD
Parallel port: Printer is selected and online
Serial EEPROM clock. Connect to EEPROM/SCL for
<=16kb EEPROM and EEPROM/SDA for >16kb EEPROM
GND
PLL VCO In
PLL VCO Out
VDD
PLL Enable
Debug UART Rxd
Parallel port: Acknowledge
Power down
UART2: Transmit Data
UART2: Receive Data
UART2: Request To Send
UART2: Data Terminal Ready
UART2: Clear To Send
UART2: Data Set Ready
UART2: Data Carrier Detect
IN
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN
OUT
IN
OUT
OUT
IN
IN
IN
IN
OUT
IN/OUT
IN/OUT
IN
OUT
IN
OUT
IN
IN
IN
OUT
OUT
IN
OUT
OUT
IN
IN
IN
PU#1*
DATA8*
DATA7*
DATA6*
DATA5*
DATA4*
DATA3*
DATA2*
DATA1*
PLH*
GND
UART1_Txd*
UART1_Rxd*
UART1_RTS*
UART1_DTR*
UART1_CTS*
UART1_DSR*
UART1_DCD*
UART1_RI*
nTXD
GND
VP
VM
VDD
SELECT*
SCL*
GND
VCO_IN
CP_OUT
VDD
PLLEN*
NRXD*
nACK*
nPWR_DWN
UART2_Txd*
UART2_Rxd*
UART2_RTS*
UART2_DTR*
UART2_CTS*
UART2_DSR*
UART2_DCD*
Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com
Ver. 1.2
3
KL5KUSB108
USB to 2 Serial / 1 Parallel
Pin #
LQFP
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
I/O
Pin Name
IN
IN/OUT
UART2_RI*
nSTROBE
GND
CLK
X2
XA_15
VDD
VDD
XA_14
XA_0
nXBHE
GND
nXRAMSEL
nAUTOFD*
nSELECTIN*
nINIT*
nFAULT*
BUSY*
PERROR*
nXRD
nXWR
nXROMSEL
nNRESET
nNTST*
GND
XA_1
XA_2
XA_3
XA_4
XA_5
XA_6
XA_7
XA_8
XA_9
XA_10
XA_11
XA_12
XA_13
GND
XD_0*
XD_1*
XD_2*
XD_3*
XD_4*
XD_5*
XD_6*
XD_7*
XD_8*
XD_9*
IN
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
IN
IN
IN
OUT
OUT
OUT
IN
IN
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
Description
UART2: Ring Indicate
Parallel port: Strobe
GND
12MHz Clock/Crystal Input
12MHz Crystal Output
External Memory Address Pin
VDD
VDD
External Memory Address Pin
External Memory Address Pin
External Memory byte High Enable (Active low)
GND
External RAM CS (Active low)
Parallel port: Auto feed
Parallel port: Select
Parallel port: Initialize
Parallel port: Error
Parallel port: Busy
Parallel port: Paper path error
External Memory Read (Active low)
External Memory Write (Active low)
External ROM CS (Active low)
Reset Pin
Test Pin, Disconnect for Normal Operation
GND
External Memory Address Pin
External Memory Address Pin
External Memory Address Pin
External Memory Address Pin
External Memory Address Pin
External Memory Address Pin
External Memory Address Pin
External Memory Address Pin
External Memory Address Pin
External Memory Address Pin
External Memory Address Pin
External Memory Address Pin
External Memory Address Pin
GND
External Memory Data Pin
External Memory Data Pin
External Memory Data Pin
External Memory Data Pin
External Memory Data Pin
External Memory Data Pin
External Memory Data Pin
External Memory Data Pin
External Memory Data Pin
External Memory Data Pin
Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com
Ver. 1.2
4
KL5KUSB108
USB to 2 Serial / 1 Parallel
Pin #
I/O
Pin Name
Description
LQFP
93
IN/OUT
XD_10*
External Memory Data Pin
94
IN/OUT
XD_11*
External Memory Data Pin
95
IN/OUT
XD_12*
External Memory Data Pin
96
IN/OUT
XD_13*
External Memory Data Pin
97
GND
GND
98
IN/OUT
XD_14*
External Memory Data Pin
99
IN/OUT
XD_15*
External Memory Data Pin
100
VDD
VDD
Note 1: Pins with * are 5V tolerant.
Note 2: If application does not require some pins, then tie all unused imput pins to GND and make all
unused output and bi-directional pins open.
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 instruction takes
Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com
Ver. 1.2
5
KL5KUSB108
USB to 2 Serial / 1 Parallel
two 16-bit operands and returns a 32-bit result.
operand by a 16-bit operand.
A signed divide instruction divides a 32-bit
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.
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.
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.
The
Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com
Ver. 1.2
6
KL5KUSB108
USB to 2 Serial / 1 Parallel
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
Hysterisis 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
*For reset pin (nNRESET, pin 66)
Kawasaki LSI • 2570 North First Street • Suite 301 • San Jose, CA 95131 • Tel: (408) 570-0555 • Fax: (408) 570-0567 • www.klsi.com
Ver. 1.2
7
KL5KUSB108
USB to 2 Serial / 1 Parallel
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
October 31 • Copyright 2001 • 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. 1.2
8