
7 03/06/00
GL651USB USB KEYBOARD HUB CONTROLLER
Version 1.0
TRANSCIVER: TRANSCIVER is the analog circuits, which takes care of the electrical
characteristics of USB.
SIE:
SIE is the serial interface engine. The main responsibility of SIE is to
code/decode USB protocol. SIE guarantee the GL651USB always
function in a correct state.
KMIF:
KMIF is the interface of key matrix and GL651USB. KMIF drives the
key matrix and sense the input. The sensed data is then output to the
registers, which provide the uC to judge the pressed key.
REGISTERS:
REGISTERS is the interface of hardware and software. The used
registers will be listed in the later section.
REPEATER:
REPEATER is the kernel of hub. It repeats the data accurately from the
upstream port to the downstream port, and vice versa.
PORT CONTROLLER: Each downstream port of hub needs a PORT CONTROLLER
respectively. It monitors the state of the port.
PLL:
PLL extracts 48 Mhz clock from input 12 Mhz clock. This 48 Mhz
clock is used to generate USB clock in the digital PLL circuit.
5
REGISTER SUMMARY
MNEMONIC
OFFSET
DESCRIPTION
DEVCTL
00h
Device control register
EVTFLG_1
01h
USB function interrupt flag
EVTFLG_2
02h
USB function interrupt flag
RXCTL0_HB
03h
Endpoint 0 RX control of hub
RXCTL0_KB
04h
Endpoint 0 RX control of keyboard
TXCTL0_HB
05h
Endpoint 0 TX control of hub
TXCTL0_KB
06h
Endpoint 0 TX control of keyboard
TXCTL123
07h
Endpoint 1,2, and 3 TX control
FFDAT0_HB
08h
Data buffer (FIFO) for endpoint 0 of hub
FFDAT0_KB
09h
Data buffer (FIFO) for endpoint 0 of keyboard
FFDAT123
0Ah
Data buffer (FIFO) for endpoint 1, 2, and 3
BUFCTL
0Bh
Data buffer control register
DRVSEL
0Ch
DRV1 ~ DRV18 select
SENSE
0Dh
SENSE1 ~ SENSE8 input
ENDP_PORT_SEL
0Eh
Endpoint selected and hub port to be configured
HUB_STAT_CHG
0Fh
Hub status and status change indicator
PORT_STATUS
10h
Hub ports status indicator
BUS_PORT_DATA
11h
Hub ports status change indicator
HOST_CMD
12h
Host command to HUB
ENP2_IND
13h
Hub interrupt indicator