The GL813 is a high performance, low cost USB2.0 CompactFlash-single card
reader controller. With the integration of GenesysLogic own design USB 2.0 high
speed UTMI transceiver, the GL813 has made a conspicuous improvement with
full speed USB 1.1 card readers on data transfer rate between PC host and flash
memory card.
There are totally 4 endpoints in GL813 controller, Control, Bulk In, Bulk Out, and
Interrupt. Complies with USB 480Mbps specification ver. 2.0 and USB Storage
Class specification ver. 1.0. (Bulk only protocol), the GL813 can support not only
plug and play but also Windows ME/ 2000/ XP default driver. For the EMI
consideration, the GL813 uses 12MHZ crystal and slew-rate controlled pads to
reduce the EMI issue.
The GL813 is 48-pin LQFP package (9mmX9mm) to make the best cost
competitive for the high speed single flash card reader design and applications.
Also we provide 100-pin LQFP package (14mmX14mm) with external ROM/ Flash
for design flexibility.
Complies with Universal Serial Bus specification rev. 2.0.
Complies with Compact Flash specification rev. 1.4.
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/ Bulk Read/ Bulk Write/ Interrupt.
64/ 512 bytes Data Payload for full / high speed Bulk Endpoint.
Supports 8-bit / 16-bit Standard PIO mode interface.
Embedded USB 2.0 UTMI transceiver.
Embedded 7.5 MIPS RISC CPU.
Supports external ROM/ Flash modes for design flexibility. (100-pin LQFP)
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 Compact Flash Card interface.
Supports EEPROM to customize USB VID / PID and String Descriptors.
Available in 48-pin (9mmX9mm) / 100-pin (14mmX14mm) LQFP package.
The USB 2.0 Transceiver is the analog circuitry to handle the USB HS/FS
signaling.
3.2.2 UTMI 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 PLL
40XPLL block will provide 480MHz for USB HS data transmission.
3.2.4 CLKGEN
CLKGEN is the clock generator block for the logic blocks. It generates 15MHz
clock for micro controller, 12MHz for PIO mode, and 30MHz clock for UTMI, SIE,
and FIFO.
3.2.5 CPU
The CPU is the control center of GL813. 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 CompactFlash controller engine, GPIO, FIFO, and
response proper data/ status to USB host.
3.2.6 CompactFlash Controller Engine
The CompactFlash controller engine is extended from standard ATA/ ATAPI
protocol. It supports PIO mode data transfers.
3.2.7 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
CompactFlash controller 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 CompactFlash controller engine.
3.2.8 Control Registers
Control Register configures GL813 to proper operation. For example, CPU can set
register to generate wakeup event, enter suspend, transmits proper USB packet to
host.
I Pull-high HW reset
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
U20mia Reference resister connect (*)
P Power Analog VCC
B Clock Crystal output
I Clock Crystal input, 12Mhz
P Power Analog ground
I Tri-state Compact flash card detect
I Pull-low TEST mode input
O Tri-state IDE Chip select 0
O Tri-state IDE address 0
O Tri-state IDE address 1 / DI to EEPROM
I Tri-state IDE Interrupt request
I Tri-state IDE IO ready
O Tri-state IDE read signal
O Tri-state IDE write signal
B Tri-state IDE data bus 0~3
P Power Digital ground
P Power Digital VCC
B Tri-state IDE data bus 4~7
O Tri-state CS to EEPROM
48
CFRST
B Tri-state Compact Flash Card HW reset
(*) RREF must be connected with a 510 ohm resister to ground.
O Tri-state Chip select 1
O Tri-state IDE address 2
I Pull-high Reset pin
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
U20mia Reference resister connect (*)
P Power Analog VCC
- - -
- - -
- - -
- - -
B Clock Crystal output
I Clock Crystal input, 12Mhz
P Power Analog ground
- - NC: Embedded CPU mode
ECPUD1: Data1 when external
B Pull-low
CPU mode
EROMA0: Address0 when external
ROM mode
NC: Embedded CPU mode
ECPUD0: Data0 when external
Transmit must be asserted to enable any transmissions.
The SIE asserts TXVLD to begin a transmission.
The SIE negates TXVLD to end a transmission.
After the SIE asserts TXVLD it can assume that the transmission has started when it
detects TXRDY asserted.
The SIE assumes that the UTM has consumed a data byte if TXRDY and TXVLD are
asserted.
The SIE must have valid packet information (PID) asserted on the Data bus
coincident with the assertion of TXVLD. Depending on the UTM implementation,
TXRDY may be asserted by the Transmit State Machine as soon as one CLK after
the assertion of TXVLD.
TXVLD and TXRDY are sampled on the rising edge of CLKOUT.
The Transmit State Machine does not automatically generate Packet ID’s (PIDs) or
CRC. When transmitting, the SIE is always expected to present a PID as the first
byte of the data stream and if appropriate, CRC as the last bytes of the data stream.
The SIE must use LINEST0/1 to verify a Bus Idle condition before asserting TXVLD
in the TX Wait state.
5.1.2 Transmit Timing for Data Packet
CLKOUT
TXVLD
Data
TXRDY
PID
DataDataDataDat
CRCCRC
DP/DM
PIDDataDataDataDat
P
The SIE negates TXVLD to complete a packet. Once negated, the Transmit State
Machine will never reassert TXRDY until after the EOP has been loaded into the Transmit
Shift Register. Note that the UTM Transmit State Machine can be ready to start another
package immediately, however the SIE must confirm to the minimum inter-packet delays
identified in the USB 2.0 Specification.
RXACTV and RXVLD are sampled on the rising edge of CLKOUT.
Terminate
!RXACTV
Idle
state
Abort 2
!RXVLD
!RXERR
In the RX Wait state the receiver is always looking for SYNC.
The Macrocell asserts RXACTV when SYNC is detected (Strip SYNC state).
The Macrocell negates RXACTV when an EOP is detected (Strip EOP state).
When RXACTV is asserted, RXVLD will be asserted if the RX Holding Register is
full.
RXVLD will be negated if the RX Holding Register was not loaded during the
previous byte time. This will occur if 8 stuffed bits have been accumulated.
The SIE must be ready to consume a data byte if RXACTV and RXVLD are asserted
(RX Data state).
In FS mode, if a bit stuff error is detected then the Receive State Machine will negate
5.2.2 Receive Timing for Data Packet (with CRC-16)
CLKOUT
RXACTV
Data
Data
Data Data Data CRC CRC PID
RXVLD
RXERR
DP/DM
SYNC PID Data Data Data
Data
CRC CRC EOP
Note that the USB 2.0 transceiver does not decode Packet ID’s (PIDs). They are passed
to the SIE for decoding.
This timing example is in HS mode. When a HS/FS UTM is in FS mode there are
approximately 40 clock cycles every byte time. The Receive State Machine assumes that
the SIE captures the data on the data bus if RXACTV and RXVLD are asserted. In FS
mode, RXVLD will only be asserted for one clock per byte time.
Note that the receive and transmit sections of the transceiver operate independently. The
receiver will receive any packets on the USB. The transceiver does not identify whether
the packet that it is receiving from the upstream or the downstream port. The SIE must
ignore receive data while it is transmitting.