GENESYS GL652USB Datasheet

Genesys Logic, Inc.
GL652USB
USB 7 PORT HUB CONTROLLER
DATA SHEET, Version 1.2
Aug. 18, 2000
10F, No.11, Ln.3, Tsao Ti Wei, Shenkeng, Taipei, Taiwan Tel: 886-2-2664-6655 Fax: 886-2-2664-5757
http://www.genesyslogic.com
GL652USB 7 PORT USB HUB CONTROLLER
1 FEATURES
High performance and low-cost solution for USB hub
USB Specification Compliance
Conforms to USB specification Rev. 1.1
Supports 1 device address and 2 endpoints
8-bit micro-processor
RISC-like architecture
USB optimized instruction set
Single cycle instruction execution
Operation Speed: DC to 24 MHz clock input
Performance: 12 MIPS @ 24MHz
I/O ports
7-port hub
Internal memory
64 bytes of RAM
1.75K × 14 of program ROM
On-chip 3.3v output
No external regulator required
Integrated USB transceiver
12 MHz external clock
Improved output drivers with slew-rate control to reduce EMI
Internal power-on reset(POR)
Internal power-fail detector for ESD recovery
Support suspend/normal mode power management
Support power management for downstream port devices
Automatic switching between self/bus powered mode
Smart LED traffic indicator
The higher data traffic flows through one port, the higher frequency that port’s
LED will blink.
Applications:
Stand-alone USB hub
PC motherboard USB hub
48 pin LQFP package
2 08/18/00
Revision 1.2
GL652USB 7 PORT USB HUB CONTROLLER
2 FUNCTION OVERVIEW
The GL652USB is an 8 port USB hub with 1 upstream port and 7 downstream ports. It uses an 8-bit RISC-like uC to encode/decode the host commands. The GL652USB is designed mainly for stand -alone hub and can also be integrated in PC motherboard or any other devices to support USB hub function. The GL652USB can switch between self­power and bus-power automatically without re-plug in. The GL652USB can be configured as individual mode or ganged mode for the power management of downstream port devices. To prevent from abnormal current consumption of downstream port devices, the GL652USB supplies power enable flags by reading the over-current flags. The GL652USB supports smart traffic indication through the LED lighting. The higher data traffic flows through one port, the higher frequency of that port’s LED blinks. To minimize the power consumption, the GL652USB will turn LED off and stop the clock when they are suspended.
3 PIN DEFINITIONS AND DESCRIPTIONS
l GL652USB
Pin No. Name I/O Description
1 DP0 I/O Upstream port USB data+ 2 DM0 I/O Upstream port USB data­3 AGND - Analog ground 4 DP7 I/O Downstream port 7 USB data+ 5 DM7 I/O Downstream port 7 USB data­6 DP1 I/O Downstream port 1 USB data+ 7 DM1 I/O Downstream port 1 USB data­8 DP6 I/O Downstream port 6 USB data+
9 DM6 I/O Downstream port 6 USB data­10 DP4 I/O Downstream port 4 USB data+ 11 DM4 I/O Downstream port 4 USB data­12 AVCC - Analog VCC(5V) 13 DP2 I/O Downstream port 2 USB data+ 14 DM2 I/O Downstream port 2 USB data­15 VCP - 3.3V output 16 DP5 I/O Downstream port 5 USB data+ 17 DM5 I/O Downstream port 5 USB data­18 DP3 I/O Downstream port 3 USB data+ 19 DM3 I/O Downstream port 3 USB data­20 SUSPND O Suspend indication output 21 SELF I 1: SELF-powered. 0: INDIVIDUAL-powered 22 LED1 O LED traffic indicator for downstream port 1 23 LED2 O LED traffic indicator for downstream port 2 24 LED3 O LED traffic indicator for downstream port 3 25 RESET I Reset input 26 LED4 O LED traffic indicator for downstream port 4 27 OVCUR4# I Over current flag for downstream port4 28 LED5 O LED traffic indicator for downstream port 5
3 08/18/00
Revision 1.2
GL652USB 7 PORT USB HUB CONTROLLER
29 PWRENB4# O Power enable for downstream port 4 30 LED6 O LED traffic indicator for downstream port 6 31 PWRENB6# O Power enable for dow nstream port 6 32 TEST I Test mode input 33 OVCUR6# I Over current flag for downstream port6 34 XTAL2 O Ceramic resonator or crystal out 35 XTAL1 I Ceramic resonator or crystal in 36 DGND - Digital ground 37 PWRENB3# O Power enable for downstream por t 3 38 OVCUR3# I Over current flag for downstream port3 39 LED7 O LED traffic indicator for downstream port 7 40 OVCUR7# I Over current flag for downstream port7 41 DVCC - Digital VCC(5V) 42 OVCUR5# I Over current flag for downstream port5 43 PWRENB5# O Power enable for downstream port 5 44 PWRENB2# O Power enable for downstream port 2 45 PWRENB7# O Power enable for downstream port 7 46 OVCUR2# I Over current flag for downstream port2 47 PWRENB1# O Power enable for downstream port 1 48 OVCUR1# I Over current flag for downstream port1
Note 1: “#” means low active Note 2: If using crystal, TEST pull low. If using oscillator, TEST pull high.
Table 1 GL652USB Pin Definitions and Descriptions
GL652USB
GL650USB
48
47
46
45
44
43
42
41
40
39
38
1
DP0
2
DM0
3
AGND
4
DP7
5
DM7
6
DP1
7
DM1
8
DP6
9
DM6
10
DP4
11
DM4
12
AVCC
OVRCUR1#
PWRENB1#
OVRCUR2#
PWRENB7#
PWRENB2#
PWRENB5#
DVCC
OVRCUR5#
LED7
OVRCUR7#
OVRCUR3#
OVRCUR6#
PWRENB6#
PWRENB4#
OVRCUR4#
37
DGND
PWRENB3#
XTAL1 XTAL2
TEST
LED6
LED5
LED4
RESET
36 35 34 33 32 31 30 29 28 27 26 25
4 08/18/00
13
DP2
DM214VCP
15
16
DP5
17
DM5
DP3
DM319SUSPND20SELF21LED122LED223LED3
18
24
Revision 1.2
GL652USB 7 PORT USB HUB CONTROLLER
TRANS­CEIVER
D+
D-
SIE
PLL
PORT CON-
TRANS-
DOWNSTREAM
D+
LED
DOWNSTREAM
PORT CON-
TRANS­CEIVER
D-
LED
4 BLOCK DIAGRAM
UPSTREAM
PORT
TROLLER
CEIVER
D-
PORT 1
HUB REPEATER
12 MHz
TROLLER
D+
PORT 7
Registers
Controller
ROM
Micro-
RAM
5 08/18/00
Revision 1.2
GL652USB 7 PORT USB HUB CONTROLLER
5 REGISTER SUMMARY
MNEMONIC OFFSET DESCRIPTION
DEVCTL 00h Device control register EVTFLG 01h USB function interrupt flag RXCTL0 02h Endpoint 0 RX control TXCTL0 03h Endpoint 0 TX control TXCTL1 04h Endpoint 1 TX control FFDAT 05h Data buffer (FIFO) I/O port BUFCTL 06h Data buffer control register PORTSEL 07h Hub port to be configured HUB_STAT_CHG 08h Hub status and status change indicator PORT_STATUS 09h Hub ports status indicator BUS_PORT_DATA 0Ah Hub ports status change indicator HOST_CMD 0Bh Host command to downstream ports ENP1_IND 0Ch Endpoint 1 indicator TRXFLAG 0Dh Downstream port traffic flag LED_INIT 0Eh LED initial state GPIOD 0Fh General purpose I/O pin status REV 10h Chip revision DEVSTUS 11h USB device address and configuration status
Register Description
Terminology:
R/O: read only R/W: read / write R/W1C: read / write “1” to clear W/O: write only
DEVCTL ( offset 00, default = 00h )
R/W R/W R/W R/O R/O
USBRDY SFRAME
USBRDY : 0 - USB interface is not ready. The device drives USB with SE0.
SFRAME : short frame option for test purpose
PWRDN : power down mode
PWRDN
1 - USB interface is ready. The device stops driving USB with SE0. After power -on reset, USBRDY is cleared and the device looks like disconnected. Set USBRDY to ‘1’ to enable USB interface.
Set SFRAME to ‘1’ will shorten frame length to 1/15 ms. It is to shorten the time required for test.
-- -- -- SELF GANG
In suspend state, firmware can set PWRDN to put the controller into power down mode. In this mode, the embedded micro-controller and most internal activities are frozen. Hardware will automatically clear PWRDN upon hardware reset or resume activities occur.
6 08/18/00
Revision 1.2
Loading...
+ 11 hidden pages