ETC UHC124

Product Brief
January 30, 2002
UHC124
High Performance Four-Port Embedded USB Host Controller
Description
TransDimension’s UHC124 is a four-port, single chip
USB Host controller that is the first of a family of
integrated low-cost, high-performance controllers
optimized and specifically designed for embedded
systems, mobile communication, and consumer
products. It is a non-PCI controller that supports USB
Specification Rev. 2.0 compliant full-speed (12Mb/s)
and low-speed (1.5Mb/s) USB devices. It is the only
non-PCI controller that has been proven to run at USB
full speed, even running under a full USB stack. The
UHC124 controller enables an embedded system to
function as a USB Host, dramatically expanding the
degree of interconnectivity and extending the
applicability of USB into many new areas. In addition
to silicon, development kits, USB Host Stack, device
drivers for most products, and interface code to the
UHC124 for numerous RTOS’ are available via our
wholly owned subsidiary, SoftConnex Technologies,
Inc.
The UHC124 has unique, patent-pending features that
are indispensable for achieving high data throughput
and low interrupt rates. It is the only one on the market
that is designed from the ground up for embedded
applications with features like batch processing,
multiple interrupt modes, separate data and descriptor
memory, and double buffering. It is optimized for cost,
performance and ease of development. The
software/hardware co-designed architecture enables
high performance while maintaining simplicity and
flexibility that are critical for embedded applications. It
can be interfaced to CISC or RISC microprocessors,
microcontrollers, or digital signal processors (DSPs)
and is ideal for providing USB host functions to a wide
range of applications including mobile devices, cell
phones, PDAs, point-of-sale systems, test equipment,
set-top boxes, Internet appliances, as well as serving
as an interface for USB to Bluetooth controllers.
The complete solutions offer the advantages of
shortened time-to-market, simplified procurement and
technical support from one source.
Features
High performance USB
embedded applications
host
controller
for
Supports USB Specification 2.0 compliant fullspeed (12Mb/s) and low-speed (1.5Mb/s) USB
devices
Patent pending design
Full USB bandwidth utilization with low load on
system microprocessor
Standard 8-bit microprocessor bus interface
2 Kbyte data memory
Supports all four types of USB transfers (control,
bulk, interrupt, and isochronous with maximum
packet size of 1,023 bytes)
Supports batch processing of up to 16 USB
transactions without interrupting the MCU
Supports scheduling of transaction batches that
may “spill” over the USB frame boundaries for
easy programming
Supports “in-place” processing in the data memory
– used for applications requiring peer-to-peer data
transfer between USB devices
Supports double buffering for all USB transfers
Hardware generated Start of Frame (SOF)
Fully qualified, market proven root hub with four
ports and integrated analog transceivers.
Individually controlled power-on and over-current
circuit for each of the four downstream ports
Power management with host suspend, remote
wakeup, and power saving modes
6 MHz crystal/oscillator to reduce cost and EMI
Evaulation/development kit available including C
source code of the programming interface library
and an interactive USB host controller Exerciser
Embedded RTOS software available for popular
microprocessors, RISC, CISC, and DSP’s using
WinCE, Linux, VxWorks, Nucleus, Lynx, QNX,
pSOS, PowerTV, SMX, ThreadX, VRTX, ITRON,
Symbian and MS-DOS operating systems with
more in development
Supports OHCI/UHCI compliant USB host stack
USB device driver software available including
printers, speakers, mass storage, hub, modems,
Ethernet, mouse, keyboard, digital camera, video
camera, cell phone, STB and PDA with more in
development
Industrial grade devices standard.
automotive grade devices available
Military and
Single 3.3V power supply
64 pin LQFP package
TransDimension Inc. — Proprietary
1
TransDimension
UHC124
Product Brief
Architecture
OSC1
OSC2
LPF
DP1, DM 1
/PO1, /OC1
48MHz
12MHz
6MHz
PLL
PwrSav
/RESET
USB Host
Control Logic
Host
SIE
Root Hub
With
Four
Downstream
Ports
/INT
A 11..A0
D7..D0
/CS
/WR
/RD
ADS
MODE
Registers
(16 Bytes)
12
8
Memory/
Register
Access
&
MCU
Interface
DP2, DM 2
/PO2, /OC2
DP3, DM 3
/PO3, /OC3
DP4, DM 4
/PO4, /OC4
PortChange[0:4]
5
Control
Memory
(256 Bytes)
Data
Memory
(2K Bytes)
Figure 1 UHC124 block diagram
Development
Interface with MCUs: The UHC124 may be interfaced with a microprocessor using either one of two methods:
•
For MCUs with standard external data bus, the UHC124 can be interfaced directly via 8 bits of its data bus and
12 bits of its address bus. When the UHC124 operates under this mode, its internal memory blocks, as well as
its control/status registers, are mapped into the processor’s address space.
•
For MCUs without an external data bus, the UHC124 may be interfaced using an 8-bit output port and an 8-bit
bi-directional port. Under this mode, a built-in, auto incrementing address register allows accessing to a large
block of the UHC124 memory with a single (address) write cycle, followed by as many read/write cycles as the
number of data bytes to be transferred from/to the UHC124.
Control Memory (CM): The UHC124 controller memory holds up to 16 Transaction Descriptors (XDs) used to
specify up to 16 USB transactions.
Data Memory (DM): The 2,048 bytes of data memory (DM) built into the UHC124 serve as data buffers shared
between the MCU and USB system.
Batch Processing: The user software may organize up to 16 USB transactions into a transaction batch, or simply
a batch. A batch may contain transactions for full-speed (FS: 12 Mbit/sec) and low-speed (LS: 1.5 Mbit/sec) USB
devices, of four types of endpoints (control, bulk, interrupt and isochronous) and all transaction types (SETUP, IN
and OUT). Compared with other USB host controller designs, batch processing is a very important and unique
feature of the UHC124. Our software/hardware co-design overcomes the serious shortcomings of other embedded
USB host controller designs that require an interrupt upon completion of every USB transaction. These defficient
designs:
•
result in significant loss of USB bus bandwidth as the invocation (interrupt latency time) and execution of the
interrupt service routine (ISR), (or of certain portion of the ISR at the minimum,) cannot overlap with USB bus
TransDimension Inc. — Proprietary
2
Product Brief
TransDimension
UHC124
activity. This problem is more obvious and damaging when data packet sizes are small and spontaneous,
which is typical for many embedded USB host applications, making double buffering impractical.
•
waste MCU’s time due to processor/RTOS overhead with frequent ISR invocation and execution.
With its batch processing capability, a single register write to the UHC124 can dispatch altogether up to 16
transactions, and a single interrupt is generated only after the completion of all of them. The system throughput is
therefore significantly improved maximizing the bandwidth on the USB. At the same time, the number of interrupts
to the MCU is greatly reduced, saving processor resources for non-USB activities.
Double Buffering: Double buffering, and its more general form circular buffering, are effective ways to improve
the USB system throughput. The UHC124 supports dual port memory access to its entire addressing space
(control registers, CM and DM). Together with its batch processing capability, double buffering becomes attractive
even for transactions with small data packets.
Root Hub: The UHC124 employs a fully qualified, market proven 4-port USB hub. Analog USB transceivers are
built-in for all four downstream ports. Power-on and over-current circuits are presented individually for each port.
External Crystal/Oscillator: A PLL (Phase Locked Loop) is integrated on-chip to generate, from a single 6 MHz
crystal or crystal oscillator, the 48 MHz, 12 MHz and 6 MHz clock signals required by the UHC124 internal circuitry
minimizing EMI.
UHCI and OHCI: The UHC124 is fully compliant with USB Specification 2.0 (for full speed and low speed
operation). However, it is not a Universal Host Controller Interface/Open Host Controller Interface (UHCI/OHCI)
based device because it is not intended for the PCI bus. OEMs may develop or license, a Host Controller Driver
(HCD) providing a software interface that appears to the rest of the USB host stack as if there were a UHCI or an
OHCI compliant host controller.
System Suspend and Resume: Under the control of user software, the UHC124 may bring the USB system into
suspend state, as dictated by USB specification. While the oscillator for the UHC124 is still running, all USB bus
activities, including SOF generation, are stopped. The system may be brought out of the suspend state by user
software, or by a remote wakeup originating from a downstream USB device.
Power Saving Mode: Under the control of user software, the UHC124 may enter the power saving mode, in which
all internal clocks are stopped, and the PLL is disabled. A small quiescent current (about 200 uA) is consumed by
the UHC124. The UHC124 is reactivated by a hardware reset.
Software Support: TransDimension is a leader in the embedded market space, bringing both software and silicon
to its customers. USB Host Stack, device drivers for most products, and interface code to the UHC124 for
numerous RTOS’ are available via our wholly owned subsidiary, SoftConnex Technologies, Inc. The products are
geared towards mobile and post-PC products, including mobile phone, palmtop PC, PDA, set top box, home
gateway, and Internet appliances.
TransDimension provides development and support packages and a wide spectrum of USB host software support
in C source code to reduce development cost and time to market for its customers. USB Stack software for various
real-time operating systems and device drivers for most mobile and post-PC products, as well as required interface
code between the USB stack and the silicon are available by contacting your local TransDimension representative.
OEMs may license from TransDimension, as part of the UHC124 Development Kit, an OS-independent UHC124
Programming Interface Library, supporting direct UHC124 operation and efficient USB host control independent of
any RTOS. The UHC124 USB Host Controller Exerciser allows an OEM to quickly evaluate, and to develop
applications for the UHC124 to operate on USB devices.
TransDimension Inc. — Proprietary
3
TransDimension
UHC124
Product Brief
Pin Description
The UHC124 is delivered in a 64-pin LQFP package:
Pin#
Pin
Name
Pin
Type
Pin Description
1
2
3
4
5
6
7
8
9
10
11
12
13
VDD
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
Power
In
In
In
In
In
In
In
In
In
In
In
In
14
MODE
In
15
16
17
18
19
20
/CS
VSS
OSC1
OSC2
LPF
VDD
In
Ground
In
Out
Passive
Power
21
TEST0
Bidir
22
TEST1
Bidir
23
TEST2
Bidir
24
TEST3
Bidir
25
26
27
28
29
30
31
/OC1
/OC2
/OC3
/OC4
/PO1
/PO2
/PO3
In
In
In
In
Out
Out
Out
3.3V Power Supply. All four VDD pins must be connected.
Address bus: bit 0 (least significant bit).
Address bus: bit 1.
Address bus: bit 2.
Address bus: bit 3.
Address bus: bit 4.
Address bus: bit 5.
Address bus: bit 6.
Address bus: bit 7.
Address bus: bit 8.
Address bus: bit 9.
Address bus: bit 10.
Address bus: bit 11.
Memory Access Mode.
MODE = 1: Non-multiplexed memory access.
MODE = 0: Multiplexed memory access with auto-incremented address.
Chip Select: active low.
Ground. All four pins must be connected.
Oscillator Input: input to the inverting oscillator amplifier.
Oscillator Output: output of the inverting oscillator amplifier.
PLL Filter: connecting to a passive RC network.
3.3V Power Supply. All four pins must be connected.
Test Signal I/O: used only for factory testing; working in output mode during
normal operation.
Test Signal I/O: used only for factory testing; working in output mode during
normal operation.
Test Signal I/O: used only for factory testing; working in output mode during
normal operation.
Test Signal I/O: used only for factory testing; working in output mode during
normal operation.
Over Current condition input for Port 1; active low.
Over Current condition input for Port 2; active low.
Over Current condition input for Port 3; active low.
Over Current condition input for Port 4; active low.
Power On Switch for Port 1; active low.
Power On Switch for Port 2; avtive low.
Power On Switch for Port 3; activel low.
32
/PO4
Out
Power On Switch for Port 4; activel low.
33
34
35
VDD
DP1
DM1
Power
Bidir
Bidir
3.3V Power Supply. All four pins must be connected.
Port 1 Differential Data (+) for USB I/O.
Port 1 Differential Data (-) for USB I/O.
TransDimension Inc. — Proprietary
4
Product Brief
TransDimension
UHC124
36
37
38
39
40
41
42
VSS
DP2
DM2
DP3
DM3
DP4
DM4
Ground
Bidir
Bidir
Bidir
Bidir
Bidir
Bidir
43
TEST4
Bidir
44
45
46
47
48
49
50
51
52
53
54
55
56
D0
D1
D2
D3
VDD
VSS
D4
D5
D6
D7
/RESET
/WR
/RD
Bidir
Bidir
Bidir
Bidir
Power
Ground
Bidir
Bidir
Bidir
Bidir
In
In
In
57
TMS0
In
58
TMS1
In
59
TMS2
In
60
TMS3
In
61
/INT
Ouput
62
ADS
In
63
GNDP
In
64
VSS
Ground
Ground. All four pins must be connected.
Port 2 Differential Data (+) for USB I/O.
Port 2 Differential Data (-) for USB I/O.
Port 3 Differential Data (+) for USB I/O.
Port 3 Differential Data (-) for USB I/O.
Port 4 Differential Data (+) for USB I/O.
Port 4 Differential Data (-) for USB I/O.
Test Signal I/O: used only for factory testing; working in output mode during
normal operation.
Data bus: Bit 0.
Data bus: Bit 1.
Data bus: Bit 2.
Data bus: Bit 3.
3.3V Power Supply. All four pins must be connected.
Ground. All four pins must be connected.
Data bus: Bit 4.
Data bus: Bit 5.
Data bus: Bit 6.
Data bus: Bit 7.
Hardware Reset: resets entire USB system; active low.
Bus Write Strobe: active low.
Bus Read Strobe: active low.
Test Mode Select: used only for factory testing; connect to VSS for normal
operation.
Test Mode Select: used only for factory testing; connect to VSS for normal
operation.
Test Mode Select: used only for factory testing; connect to VSS for normal
operation.
Test Mode Select: used only for factory testing; connect to VSS for normal
operation.
Interrupt: generated for microprocessor; active low.
Address/Data Select: see description of Pin MODE; When MODE = 1, this pin
has no effect, and it should be tied to VSS for noise immunity.
Voltage Reference: for built-in power on reset (POR), connect to VSS (ground)
for normal operation.
Ground. All four pins must be connected.
TransDimension Inc. — Proprietary
5
TransDimension
UHC124
Product Brief
VDD
D3
D2
D1
D0
TEST4
DM4
DP4
DM3
DP3
DM2
DP2
VSS
DM1
DP1
VDD
Package (64 pin LQFP)
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
V SS
49
32
/PO 4
D4
50
31
/PO 3
D5
51
30
/PO 2
D6
52
29
/PO 1
D7
53
28
/OC4
/RESET
54
27
/OC3
/WR
55
26
/OC2
/RD
56
25
/OC1
TMS0
57
24
TEST 3
TMS1
58
23
TEST 2
TMS2
59
22
TEST 1
TMS3
60
21
TEST 0
/INT
61
20
V DD
ADS
62
19
LPF
GNDP
63
18
OSC2
V SS
64
17
OSC1
7
8
9
10
11
12
13
14
15
16
A7
A8
A9
A10
A11
MODE
/CS
VSS
A2
6
A6
A1
5
A5
4
A4
3
A3
2
A0
1
VDD
?
56579A
56579A
Figure 2. UHC124 Pinout - 64 pin LQFP (Top View)
For additional information, contact your TransDimension Sales Representative:
INTERNET:
E-MAIL:
http://www.transdimension.com
[email protected], [email protected]
Headquarters/
North America :
TransDimension Inc., 2 Venture, Irvine, CA 92618. Tel. (949) 727-2020, FAX (949) 727-3232
Japan:
TransDimension Inc., OYA Bldg. 5, 3 Chome-9-6, Nishishinjuku, Shinjuku-ku, Tokyo, Japan. Tel. +81 (3) 5308 7525, FAX +81 (3) 5308 7526
Masanori Sugane, e-mail: [email protected]
Europe:
TransDimension Inc., 7 The Orchard, Hilton, Derbyshire, UK, DE65 5JF. Tel. +44 1283 730045, FAX +44 1283 730651
Neil Huntingdon, e-mail: [email protected]
WorldWide Reps.: See detailed listing for your area TransDimension representatives by viewing http://www.transdimension.com
________________________________________________________________________________________________________________________________________
THE DEVICE AND ITS DOCUMENTATION ARE PROVIDED “AS IS”. TRANSDIMENSION HEREBY DISCLAIMS ALL WARRANTIES, EXPRESS, STATUTORY AND IMPLIED, APPLICABLE TO THE SOFTWARE AND ITS DOCUMENTATION
AND ANY RELATED PRODUCTS, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE. TRANSDIMENSION ASSUMES NO LIABILITY FOR
ANY ACT OR OMISSION OF LICENSEE. IN NO EVENT SHALL TRANSDIMENSION BE LIABLE FOR DIRECT, SPECIAL, INDIRECT, INCIDENTAL, PUNITIVE, EXEMPLARY OR CONSEQUENTIAL DAMAGES, INCLUDING, WITHOUT
LIMITATION, LOSS OF PROFITS OR REVENUE, LOSS OF PRODUCTS, DATA OR ANY ASSOCIATED EQUIPMENT, COST OF CAPITAL, COST OF SUBSTITUTED EQUIPMENT OR PARTS, FACILITIES OR SERVICES, DOWN-TIME OR
LABOR COSTS, EVEN IF TRANSDIMENSION HAS BEEN ADVISED OF THE POSSIBILITY THEREOF. The device and any related products are not designed, authorized, or warranted to be suitable for use in life-support devices or systems or other critical
applications. Any such use and subsequent liabilities that may arise from such use are totally the responsibilities of the Licensee. Copyright © 2002, TransDimension Inc., All rights reserved. All product names are trademarks or registered trademarks of their
respective owners.
All Rights Reserved
Printed in U.S.
January 2002
MU1012-Rev. 1.3
TransDimension Inc. — Proprietary
6