GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
1. General Description
The GL811USB is a highly-compatible, low cost USB 2.0 to ATA / ATAPI bridge
controller, which integrates Genesys Logic own design high speed UTMI (USB 2.0
Transceiver Macrocell Interface) transceiver.
As a one-chip solution which complies with Universal Serial Bus specification rev.
2.0 and ATA / ATAPI-6 specification rev 1.0, the GL811USB can support various
kinds of ATA / ATAPI device. There are totally 4 endpoints in the GL811USB
controller, Control (0), Bulk In (1), Bulk Out (2), and Interrupt (3). By complies with
the USB Storage Class specification ver.1.0 (Bulk only protocol), the GL811USB
can support not only plug and play but also Windows XP/ 2000/ ME default driver.
The GL811USB uses 12MHz crystal and slew-rate controlled pads to reduce the
EMI issue. With 48-pin LQFP (9mmX9mm) package, the GL811USB is the best
cost/ performance solution to fit different situations in the USB 2.0 high speed
storage class applications such as Hard Disk, CD-ROM, CD-R / RW and
DVD-ROM.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
2. Features
Complies with Universal Serial Bus specification rev. 2.0.
Complies with ATA/ATAPI-6 specification rev 1.0.
Complies with USB Storage Class specification ver.1.0. (Bulk only protocol)
Operating system supported: Win XP/ 2000/ ME/ 98/ 98SE; Mac OS 9.X/ X.
Supports 4 endpoints: Control (0) / Bulk Read (1) / Bulk Write (2) / Interrupt
(3).
64 / 512 bytes Data Payload for full / high speed Bulk Endpoint.
Supports 8-bit/16-bit Standard PIO mode interface.
Supports 16-bit Multiword DMA mode and Ultra DMA mode interface (Ultra 33
/ 66 / 100).
Embedded USB 2.0 UTMI transceiver.
Embedded 7.5 MIPS RISC CPU.
ROM size: 4k words; RAM size: 128 bytes.
Supports Power Down mode and USB suspend indicator.
Supports USB 2.0 TEST mode features.
12MHz external clock to provide better EMI3.3V power input.
5V tolerance pad for IDE interface.
Supports Wakeup ability.
Available in 48-pin LQFP (9 mm * 9mm) package.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
3.2 Functional Overview
3.2.1 USB 2.0 TXCVR
The USB 2.0 Transceiver is the analog circuitry to handle the USB HS/FS
signaling.
3.2.2 UTMI (USB 2.0 Transceiver Macrocell Interface) Logic
The UTMI Logic is compliant to Intel’s UTMI specification 1.01. This block handles
the low level USB protocol and signaling. The major jobs of UTMI Logic is data and
clock recovery, NRZI encoding/decoding, Bit Stuffing/De-stuffing, USB2.0 test
modes supporting and serial / parallel conversion.
3.2.3 SIE (Serial Interface Engine)
The SIE contains the USB packet ID and address recognition logic, and other
sequencing and state machine logic to handle USB packets and transactions.
3.2.4 PLL
10XPLL provides the 120MHz clock output for UTMI Logic block. UTMI operates in
120MHz for USB HS data processing. 40XPLL block will provide 480MHz for USB
HS data transmission.
3.2.5 CLKGEN
CLKGEN is the clock generator block for the logic blocks. It generates 15MHz
clock for micro controller, 12MHz for PIO mode, 48MHz for MDMA mode, 96MHz
for UDMA mode, and 30MHz clock for UTMI, SIE, and FIFO.
3.2.6 CPU
The CPU is the control center of GL811USB. It’s an 8-bit micro controller operating
in 15MHz, 7.5 MIPS. After receiving a USB command, it decodes the host
command, then it re-assigns tasks to the IDE engine, GPIO, FIFO, and response
proper data/status to USB host.
3.2.7 IDE Engine
The IDE engine is extended from standard ATA / ATAPI protocol. It supports PIO
mode, multiword DMA mode, and ultra DMA mode data transfers.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
3.2.8 FIFOs
Control FIFO is used as Control Read / Write FIFO. TXFIFO0 / TXFIFO1 are two
sets of 512-byte ping-pong FIFO for Bulk Read endpoint. It buffers data from IDE
engine, and re-direct to USB SIE logic. RXFIFO0 / RXFIFO1 are two sets of
512-byte ping-pong FIFO for Bulk Write endpoint. It buffers data from USB SIE
logic, and re-direct to IDE engine.
3.2.9 Control Registers
Control Register configures GL811USB to proper operation. For example, CPU
can set register to generate wakeup event, enter suspend, transmits proper USB
packet to host.
P Power Digital VCC
P Power Digital ground
B I/O 16 IDE data bus 12~15
I I/O 8 Cable select input
O I/O 16 Chip select 1
O I/O 16 IDE address 2
I I/O 8 Reset pin (***)
tri
tri
tri
tri
pu
A U20mia 3.3v output
P Power Analog VCC
B U20mia Full speed DP
B U20mia High speed DP
B U20mia Full speed DM
B U20mia High speed DM
P Power Analog ground
A U20mia Reference resister connect (****)
P Power Analog VCC
B Clock Crystal output
I Clock Crystal input, 12Mhz
P Power Analog ground
I I/O 8 TEST mode input
O I/O 16 Chip select 0
O I/O 16 IDE address 0
O I/O 16 IDE address 1
I I/O 8 IDE interrupt input
O I/O 16 IDE acknowledge
I I/O 16 IDE ready
O I/O 16 IDE read signal
O I/O 16 IDE write signal
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
Pin # Name I/O Pad Type Description Note
38~41
42
43
4~47
48
IODD[0:3]
DGND2
DVCC2
IODD[4:7]
GPIO1
B I/O 16 IDE data bus 0~3
P Power Digital ground
P Power Digital VCC
B I/O 16 IDE data bus 4~7
B I/O 8 GPIO1
tri
tri
pd
(*) The different of I/O 8 type from I/O 16 type is the typical drive current. The typical drive
current of I/O 8 type is 8 mA, and for I/O pad 16 is 16 mA.
(**) When operating in default mode: GPIO7 is the ATA/ ATAPI reset input,
(***) When Reset pin is pulled low, the IDE bus will be in tri-state.
(****) RREF must be connected with a 510 ohm resister to ground.
Notation:
Description
Note
O Output
I Input
B Bi-directional
P Power
A Analog
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
5. Functional Description
5.1 ATA/ ATAPI
The GL811USB complies with ATA/ATAPI-6 specification rev. 1.0. Please refer to the
specifications for more information.
5.2 USB 2.0
The GL811USB complies with Universal Serial Bus specification rev. 2.0, and it
integrates Genesys Logic own design UTMI transceiver that fully complies with the
USB 2.0 Transceiver Macercell Interface (UTMI) specification rev. 1.01. Please refer
to the specifications for more information.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
Parameter Min Typ Max Unit
Hysteresis voltage - 0 - V
Leakage current for pads with internal pull up or pull
down resistor
Pad internal pull down resister 51K 105K 152K Ohms
Pad internal pull up resister 85K 168K 251K Ohms
Supply current 109 mA
46
6.3.2 I/O 16 Type digital pins (For pad type I/O 16 @ V
Parameter Min Typ Max Unit
Current sink @ VOL = 0.4V 16.2021.9027.68 mA
Current output @ V
Falling slew rate at 30 pF loading capacitance 0.51 0.93 1.35 V/ns
Rising slew rate at 30 pF loading capacitance 0.46 0.83 1.27 V/ns
Input high threshold voltage 2.15 V
= 2.4V (TTL high) 24.1329.4634.80 mA
OH
=3.6V)
CC
µA
Input low threshold voltage 0.89 V
Pad internal pull down resister 51K 105K 152K Ohms
6.3.3 D+/ D- (For pad type u20mia @ V
=3.6V)
CC
Parameter Min Typ Max Unit
D+/D- static output LOW (RL of 1.5K to VCC ) 0 0.3 V
D+/D- static output HIGH (RL of 15K to GND ) 2.8 3.6 V
Differential input sensitivity 0.2 V
Single-ended receiver threshold 0.8 2.0 V
Transceiver capacitance 20 pF
Hi-Z state data line leakage -10 +10
Driver output resistance 28 43 Ohms
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.3.4 Switching Characteristics
Parameter Min Typ Max Unit
X1 crystal frequency 11.97 12 12.03 MHz
X1 cycle time 83.3 ns
D+/D- rise time with 50pF loading 4 20 ns
D+/D- fall time with 50pF loading 4 20 ns
6.4 AC Characteristics- ATA/ ATAPI
The GL811USB complies with ATA / ATAPI-6 specification rev 1.0, which supports
following data transfer modes:
1. PIO (Programmed Input/ Output) data transfer:
PIO data transfers are performed by the host processor utilizing PIO register
accesses to the Data register.
2. DMA (Direct Memory Access) data transfer:
DMA data transfer means of data transfer between device and host memory
without host processor intervention.
- Multiword DMA: Multiword DMA is a data transfer protocol used with the READ
DMA, WRITE DMA, READ DMA QUEUED, WRITE DMA QUEUED and
PACKET commands. When a Multiword DMA transfer is enabled as indicated by
IDENTIFY DEVICE or IDENTIFY PACKET DEVICE data, this data transfer
protocol shall be used for the data transfers associated with these commends.
(Please refer to the ATA / ATAPI-6 specification rev 1.0 for more information.)
- Ultra DMA: Ultra DMA Is a data transfer protocol used with the READ DMA,
WRITE DMA, READ DMA QUEUED, WRITE DMA QUEUED and PACKET
commands. When this protocol is enabled, the Ultra DMA protocol shall be used
instead of the Multiword DMA protocol when these commands are issued by the
host. This protocol applies to the Ultra DMA data burst only. (Please refer to the
ATA / ATAPI-6 specification rev 1.0 for more information.)
Following listed the symbols and their respective definitions that are used in the timing
diagram:
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
- Signal transition (asserted or negated)
- Data transition (asserted or negated)
- Data valid
- Undefined but not necessarily released
- Asserted, negated or released
- Released
- The “other” condition if a signal is shown with no change
All signals are shown with the asserted condition facing to the top of the page. The
negated condition is shown towards the bottom of the page relative to the asserted
condition.
The interface uses a mixture of negative and positive signals for control and data. The
terms asserted and negated are used for consistency and are independent of
electrical characteristics.
In all timing diagrams, the lower line indicates negated, and the upper line indicates
asserted. The following illustrates the representation of a signal named Test going
from negated to asserted and back to negated, based on the polarity of the signal.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.4.1 Register transfers
t
0
ADDR valid
(Note1)
DIOR_/DIOW_
WRITE IODD(7:0)
(Note2)
Read IODD(7:0)
t1 t
2
t
3
t9
t2i
t
4
(Note2)
IORDY (Note3.1)
t
5
t
A
t
6
t6z
IORDY (Note3.2)
t
C
t
RD
IORDY (Note3.3)
t
B
Notes:
1. Device address consists of signals CS0_, CS1_ and DA(2:0).
2. Data consists of IODD(7:0).
3. The negation of IORDY by the device is used to extend the register transfer cycle. The
determination of whether the cycle is to be extended is made by the host after t
assertion of DIOR_ or DIOW_. The assertion and negation of IORDY are described as
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
3.1 Device never negates IORDY, devices keeps IORDY released: no wait is generated.
3.2 Device negates IORDY before t
, but causes IORDY to be asserted before tA. IORDY is
A
released prior to negation and may be asserted for no more than 5 ns before release: no
wait generated.
3.3 Device negates IORDY before t
, IORDY is released prior to negation and may be
A
asserted for no more than 5 ns before release: wait generated. The cycle completes after
IORDY is released. For cycles where a wait is generated and DIOR_ is asserted, the
device shall read data on IODD(0:7) for t
before asserting IORDY.
RD
4. DMACK_ shall remain negated during a register transfer.
Register transfer timing parameters Timing (ns)
Cycle time 2000
t0
Address valid to DIOR_/ DIOW_ setup 1000
t1
DIOR_/ DIOW_ pulse width 8-bit 300
t2
DIOR_/ DIOW_ recovery time 900
t2i
DIOW_ data setup 80
t3
DIOW_ data hold 40
t4
DIOR_ data setup -
t5
DIOR_ data hold -
t6
DIOR_ data tristate -
t6Z
DIOR_/ DIOW_ to address valid hold 900
t9
Read Data Valid to IORDY active
tRD
(if IORDY initially low after t
IORDY Setup time -
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.4.2.1 Initiating a Multiword DMA data burst
CS0_/ CS1_
(Note)
t
M
DMARQ (Note)
DMACK_
tI t
DIOR_/DIOW_
Read DD(15:0)
Write DD(15:0)
D
t
E
t
G
t
G
t
F
t
H
Note:
The host shall not assert DMACK_ or negate both CS0_ and CS1_ until the assertion of
DMARQ is detected. The maximum time from the assertion of DMARQ to the assertion of
DMACK_ or the negation of both CS0_ and CS1_ is not defined.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.4.2.3 Device terminating a Multiword DMA data burst
CS0_/ CS1_
t
N
t
0
DMARQ
(Note)
t
L
DMACK_
t
K
D
tJ t
DIOR_/DIOW_
t
E
tZ
Read DD(15:0)
t
G
tF
Write DD(15:0)
t
G
Note:
To terminate the data burst, the Device shall negate DMARQ within the t
current DIOR_ or DIOW_ pulse. The last data word for the burst shall then be transferred by the
negation of the current DIOR_ or DIOW_ pulse. If all data for the command has not been
transferred, the device shall reassert DMARQ again at any later time to resume the DMA
operation.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.4.2.4 Host terminating a Multiword DMA data burst
CS0_/ CS1_
tN
t
DMARQ
(Note2)
DMACK_
(Note1)
0
t
K
D
tJ t
DIOR_/DIOW_
t
E
tZ
Read DD(15:0)
t
t
F
G
Write DD(15:0)
G
tH t
Note:
1. To terminate the transmission of a data burst, the Host shall negate DMACK_ within the
specified time after a DIOR_ or DIOW_ pulse. No further DIOR_ or DIOW_ pulses shall be
asserted for this burst.
2.If the device is able to continue the transfer of data, the device may leave DMARQ asserted
and wait for the host to reassert DMACK_ or may negate DMARQ at any time after detecting
that DMACK_ has been negated.
70 48 30 20 6 Data valid setup time at sender
6 6 6 6 6 Data valid hold time at sender
20 20 20 20 20 Interlock time with minimum
20 20 20 20 20
0 0 0 0 0 Drivers to assert or negate
20 70 20 70 20 70 20 55 20 55 Envelope time
75 70 60 60 60 Ready to final STROBE time
20 20 20 20 20
0 0 0 0 0
20 20 20 20 20
Mode 1
(in ns)
Mode 2
(in ns)
Mode 3
(in ns)
Mode 4
(in ns)
Comment
Typical sustained average two
cycle time
Cycle time allowing for
asymmetry and clock variations
Two cycle time allowing for clock
variations
Maximum time allowed for
output drivers to release
Minimum delay time required for
output
Minimum time to assert STOP or
negate DMARQ
Maximum time before releasing
IORDY
Minimum time before driving
STROBE
Setup and hold times for
DMACK_
Time from STROBE edge to
negation of DMARQ or assertion
of STOP
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.4.3.2 Initiating an Ultra DMA data-in burst
DMARQ
(device)
tUI
DMACK_
(host)
t
ENV
t
ENV
t
ZAD
tFS
t
FS
STOP
(host)
HDMARDY_
t
t
ACK
ACK
(host)
DSTROBE
t
ZIORDY
t
ZAD
(device)
t
DVS
t
DVH
IODD (15:0)
t
DA0, DA1,
ACK
DA2, CS0_,
CS1_
Notes:
The definitions for the DIOW_:STOP, DIOR_:HDMARDY_:HSTROBE and
IORDY:DDMARDY_:DSTROBE signal lines are not in efficient until DMARQ and DMACK are
asserted.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.4.3.3 Sustained Ultra DMA data-in burst
t
2CYC
t
t
CYC
DSTROBE
at device
CYC
t
2CYC
t
DVH
t
DVS
t
DVH
t
DVS
t
DVH
IODD(15:0)
at device
DSTROBE
at host
IODD(15:0)
tDH t
DS
t
DH
DS
tDH t
at host
Notes:
IODD(15:0) and DSTROBE signals are shown at both the host and the device to emphasize that
cable settling time as well as cable propagation delay shall not allow the data signals to be
considered stable at the host until some time after they are driven by the device.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.4.3.5 Device terminating an Ultra DMA data-in burst
DMARQ
(device)
DMACK_
(host)
STOP
HDMARDY_
(host)
DSTROBE
(device)
IODD(15:0)
DA0, DA1, DA2,
CS0_, CS1_
t
tLI
ZAH
tAZ
DVS
t
MLI
t
tLI tLI
ACK
t
ACK
t
tSS
IORDYZ
t
t
DVH
t
ACK
Notes:
The definitions for the DIOW_:STOP, DIOR_:HDMARDY_:HSTROBE and
IORDY:DDMARDY_:DSTROBE signal lines are no longer in ef fect after DMARQ and DMACK
are negated.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.4.3.6 Host terminating an Ultra DMA data-in burst
DMARQ
(device)
tLI t
DMACK_
MLI
(host)
STOP
(host)
HDMARDY_
(host)
DSTROBE
(device)
IODD(15:0)
DA0, DA1, DA2,
CS0_, CS1_
tRP t
t
RFS
tLI
AZ
t
ZAH
DVS
t
ACK
t
ACK
t
MLI
t
ACK
t
IORDYZ
t
DVH
t
Notes:
The definitions for the DIOW_:STOP, DIOR_:HDMARDY_:HSTROBE and
IORDY:DDMARDY_:DSTROBE signal lines are no longer in ef fect after DMARQ and DMACK
are negated.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.4.3.7 Initiating an Ultra DMA data-out burst
DMARQ
(device)
DMACK_
(host)
STOP
(host)
DDMARDY_
(device)
HSTROBE
(host)
IODD (15:0)
(host)
DA0, DA1,
DA2, CS0_,
CS1_
t
ACK
t
ACK
t
ACK
tUI
t
ZIORDY
t
ENV
t
ENV
t
LI
t
DVS
tUI
t
DVH
Notes:
The definitions for the DIOW_:STOP, DIOR_:HDMARDY_:HSTROBE and
IORDY:DDMARDY_:DSTROBE signal lines are not in effect until DMARQ and DMACK are
asserted.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.4.3.8 Sustained Ultra DMA data-out burst
t
2CYC
t
t
CYC
HSTROBE
at host
CYC
t
2CYC
t
DVH
t
DVS
t
DVH
t
DVS
t
DVH
IODD(15:0)
at host
HSTROBE
at device
IODD(15:0)
tDH t
DS
t
DH
DS
tDH t
at device
Notes:
IODD(15:0) and HSTROBE signals are shown at both the device and the host to emphasize that
cable settling time as well as cable propagation delay shall not allow the data signals to be
considered stable at the devicet until some time after they are driven by the host.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.4.3.10 Host terminating an Ultra DMA data-out burst
t
DMARQ
(device)
DMACK_
(host)
tSS
STOP
(host)
LI
t
MLI
t
tLI
ACK
DDMARDY_
tLI
t
IORDYZ
(device)
t
ACK
HSTROBE
(host)
t
t
DVS
DVH
IODD(15:0)
(host)
t
ACK
DA0, DA1, DA2,
CS0_, CS1_
Notes:
The definitions for the DIOW_:STOP, DIOR_:HDMARDY_:HSTROBE and
IORDY:DDMARDY_:DSTROBE signal lines are no longer in ef fect after DMARQ and DMACK
are negated.
GL811USB – USB 2.0 to ATA / ATAPI Bridge Controller
6.5 AC Characteristics- USB 2.0
The GL811USB conforms to all timing diagrams and specifications for Universal Serial
Bus specification rev. 2.0. Please refer to this specification for more information.