K
KAWASAKI
LSI
KCUSB3
USB Controller – Quick Interface
General Description
The Kawasaki KCUSB3 Controller is a quick single chip solution to interface peripheral devices to the
Universal Serial Bus (USB). The KCUSB3 has been specifically designed to provide a simple and fast
method of designing interfaces for peripheral devices to the USB port. This has been accomplished by its
highly integrated functionality and flexible General Purpose I/O (GPIO) that can be configured to your
system requirements. This device has been configured with a wide range of capabilities for your
immediate use or evaluation. The device can then be reconfigured for your specific application. You can
directly access the embedded processor’s address and data lines to use external programmable logic for
evaluation before configuring the GPIO for your final device. The SIE (Serial Interface Engine) is fully
compatible with the USB specification.
Features
•
•
•
•
•
•
•
•
Advanced 16 Bit processor for USB transaction
processing and control data processing
USB interface ver 1.0/1.1 compliant
Transceivers and SIE (Serial Interface Engine)
Internal Clock Generation
Utilizes low cost external crystal circuitry
1.5K x 16 Internal RAM buffer
2 IRQ
8 Channel, 10 Bit A/D
•
External Memory Interface for direct
access to the 16-bit processor for using
external logic or memory.
General purpose I/O
Watchdog timer
PWM Output Support
8K user programmable gates
8K bytes ROM
I
2
C Interface
100 pin QFP package
•
•
•
•
•
•
•
Block Diagram (Application Example)
8
AIN
8 Channel
10 Bit A/D
4 PWM Out
(GPIO)
Timer 0
Timer 1
16 Bit
Processor
Watchdog
Timer
External Memory
Interface
A15-0
D15-0
Cntrl.
PWM
4
16 Bit Address / Data Bus
Txd
Rxd
UART
RAM
(3KB)
Serial
Interface
Engine
PLL & Clock
Generator
X1
X2
CK
DIO
I
2
C
2
INT1-0
2 IRQ
Mask ROM
(8KB)
USB Interface
Data -
Data +
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.3
1
K
KAWASAKI
LSI
KCUSB3
USB Controller – Quick Interface
KCUSB3 Basic Blocks
Programmable
Logic for
GPIO
Configured
GPIO
Custom Logic
Interface
Mask ROM
for External
E
2
Device
USB Engine
and
Interface
16 Bit Micro
A/D
Converter
Timer 0
Timer 1
RAM
Watchdog
Timer
PLL Clock
Generator
Pin Diagram
XD_14
OGND
XD_13
XD_12
IGND
XD_11
XD_10
XD_9
XD_8
XD_7
XD_6
XD_5
XD_4
XD_3
XD_2
XD_1
XD_0
XA_13
XA_12
XA_11
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
28
30
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
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
GNDP
VCO_IN
CP_OUT
VDDP
PLLEN
RXD
IRQ1
IRQ2
PWM 3
PWM 2
PWM 1
PWM 0
GPIO15
GPIO16
GJIO17
GPIO18
nCU_CS
OGND
CLK
X2
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
XD_15
VDD
OVDD
AGND/VREFL
VREFM
AD_CH7
AD_CH6
AD_CH5
AD_CH4
AD_CH3
AD_CH2
AD_CH1
AD_CH0
AVDD
GND
GPIO1
GJPIO2
GPIO3
GPIO4
GPIO5
GPIO6
GPIO7
GPIO8
TXD
UGND
VP
VM
UVDD
N/C
N/C
KCUSB3
XA_10
XA_9
XA_8
XA_7
XA_6
XA_5
XA_4
XA_3
XA_2
XA_1
nTST
nRESET
nXROMSEL
nXWR
nXRD
GND
CU_INTR2
CU_INTR1
nCU_DACK2
nCU_DACK1
CU_DRQ2
CU_DRQ1
nXRAMSEL
IGND
nXBHE
XA0
XA14
OVDD
VDD
XA15
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.3
2
K
KAWASAKI
LSI
KCUSB3
USB Controller – Quick Interface
Pin Description
Pin
Number
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
44
45
I/O
IN/OUT
IN
IN
IN
OUT
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
OUT
IN
IN/OUT
IN/OUT
IN
NC
NC
IN
IN
OUT
IN
IN
IN
IN
IN
OUT
OUT
OUT
OUT
IN/OUT
IN/OUT
IN/OUT
Pin Name
XD_15
VDD
OVDD
AGND/VREFL
VREFM
AD_CH7
AD_CH6
AD_CH5
AD_CH4
AD_CH3
AD_CH2
AD_CH1
AD_CH0
AVDD
GND
GPIO1
GPIO2
GPIO3
GPIO4
GPIO5
GPIO6
GPIO7
GPIO8
TXD
UGND
VP
VM
UVDD
NC
NC
GNDP
VCO_IN
CP_OUT
VDDP
PLLEN
RXD
IRQ1
IRQ2
PWM3
PWM2
PWM1
PWM0
GPIO15
GPIO16
GPIO17
Description
External Data Pins
VDD
VDD
Analog GND
AD converter reference
A/D Converter Input
A/D Converter Input
A/D Converter Input
A/D Converter Input
A/D Converter Input
A/D Converter Input
A/D Converter Input
A/D Converter Input
Analog VDD
GND
General GPIO
General GPIO
General GPIO
General GPIO
General GPIO
General GPIO
General GPIO
General GPIO
UART TXD
USB GND
USB + Pin
USB – Pin
USB VDD
NC
NC
GND
PLL VCO_IN
PLL VCO Out
VDD
PLL Enable
UART RXD
Edge sens. Interrupt
Edge sens. Interrupt
Pulse Width Modulator 3
Pulse Width Modulator 2
Pulse Width Modulator 1
Pulse Width Modulator 0
Programmable
I/O Mode *
GPIO1
GPIO2
GPIO3
GPIO4
GPIO5
GPIO6
GPIO7
GPIO8
GPIO9
GPIO10
GPIO11
GPIO12
GPIO13
GPIO14
GPIO15
GPIO16
GPIO17
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.3
3
K
KAWASAKI
LSI
KCUSB3
USB Controller – Quick Interface
I/O
Pin Name
GPIO18
nCU_cs
OGND
CLK
X2
XA_15
VDD
OVDD
XA_14
XA0
nXBHE
IGND
nXRAMSEL
CU_DRQ1
CU_DRQ2
nCU_DACK1
nCU_DACK2
CU_INTR1
CU_INTR2
GND
nXRD
nXWR
nXROMSEL
nRESET
nTST
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
XD_0
XD_1
XD_2
XD_3
XD_4
XD_5
XD_6
XD_7
XD_8
XD_9
Description
Programmable
I/O Mode *
GPIO18
GPIO19
Pin
Number
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
93
IN/OUT
IN/OUT
IN
IN
OUT
OUT
IN
IN
OUT
OUT
OUT
IN
OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
IN/OUT
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
Custom Logic Chip_Select
GND
12MHz Clock/Crystal Input
12MHz Crystal Output
External Address Pins
VDD
VDD
External Address Pins
External Address Pin
External byte High Enable (Active low)
GND
External RAM CS (Active low)
Custom Logic DMA Rq#1
Custom Logic DMA Rq#2
Custom Logic DMA Ack#1
Custom Logic DMA Ack#2
Custom Logic Intreq #1
Custom Logic Intreq #2
GND
External Memory Read (Active low)
External Memory Write (Active low)
External ROM CS (Active low)
Reset Pin
Test Pin,
Disconnect for Normal
Operation
External Address Pin
External Address Pin
External Address Pin
External Address Pin
External Address Pin
External Address Pin
External Address Pin
External Address Pin
External Address Pin
External Address Pin
External Address Pin
External Address Pin
External Address Pin
External Data Pins
External Data Pins
External Data Pins
External Data Pins
External Data Pins
External Data Pins
External Data Pins
External Data Pins
External Data Pins
External Data Pins
GPIO20
GPIO21
GPIO22
GPIO23
GPIO24
GPIO25
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.3
4
K
KAWASAKI
LSI
KCUSB3
USB Controller – Quick Interface
Description
External Data Pins
External Data Pins
GND
External Data Pins
External Data Pins
GND
External Data Pins
Programmable
I/O Mode *
Pin
I/O
Pin Name
Number
94
IN/OUT
XD_10
95
IN/OUT
XD_11
96
IN
IGND
97
IN/OUT
XD_12
98
IN/OUT
XD_13
99
IN
OGND
100
IN/OUT
XD_14
* Dedicated GPIO’s are not selected.
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 (4K X 16) in the
KCUSB3 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
divide/multiply feature expands the capability of USB peripherals.
The processor contains sixteen general-purpose registers along with several special purpose
registers including a flag register and an interrupt enable register. Eight of these registers can be
used for indirect Addressing, with optional indexed and auto increment modes available. One of
these general-purpose registers is additionally used as a stack pointer. The register set is
mapped into RAM, and can be easily relocated for fast context switching.
The processor supports prioritized vectored hardware interrupts. In addition, as many as 240
software interrupt vectors are available.
The processor provides six addressing modes, supporting memory-to-memory, memory-to-
register, 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.
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.3
5