• Fixed-function mass storage device—requires no firmware
• Two power modes: Self-powered and USB bus-powered to
enable bus powered CF readers and truly portable USB
hard drives
• Certified compliant for USB 2.0 (TID# 40490119), the USB
Mass Storage Class, and the USB Mass Storage Class
Bulk-Only Transport (BOT) Specification
• Operates at high-speed (480 Mbps) or full-speed (12 Mbps)
USB
• Complies with ATA/ATAPI-6 specification
• Supports 48 bit addressing for large hard drives
• Supports ATA security features
• Supports any ATA command with the ATACB function
• Supports mode page 5 for BIOS boot support
• Supports A TAPI serial number VPD page retrieval for Digital
Rights Management (DRM) compatibility
• Supports PIO modes 0, 3, and 4, multiword DMA mode 2,
and UDMA modes 2, 3, and 4
• Uses one small external serial EEPROM for storage of USB
descriptors and device configuration data
• ATA interface IRQ signal support
• Supports one or two ATA/ATAPI devices
• Supports CompactFlash and one ATA/ATAPI device
• Supports board-level manufacturing test using the USB I/F
• Can place the ATA interface in high impedance (Hi-Z) to
allow sharing of the AT A bus with another controller (i.e., an
IEEE-1394 to ATA bridge chip or MP3 Decoder)
• Low-power 3.3V operation
• Fully compatible with native USB mass storage class drivers
• Cypress mass storage class drivers available for Windows
(98SE, ME, 2000, XP) and Mac OS X operating systems
Features (CY7C68320C/CY7C68321C only)
• Supports HID interface or custom GPIOs to enable features
such as single button backup, power-off, LED-based notification, etc.
• 56-pin QFN and 100-pin TQFP lead-free packages
• CY7C68321C is ideal for battery-powered designs
• CY7C68320C is ideal for self- and bus-powered designs
Features (CY7C68300C/CY7C68301C only)
• Pin-compatible with CY7C68300A (using Backward
Compatibility mode)
• 56-pin SSOP and 56-pin QFN lead-free packages
• CY7C68301C is ideal for battery-powered designs
• CY7C68300C is ideal for self- and bus-powered designs
Block Diagram
24
MHz
XTAL
VBUS
D+
D-
SCL
SDA
PLL
USB 2.0
Tranceiver
I2C Bus Master
Internal Control Logic
CY Smart USB
FS/HS Engine
Reset
4 kByte FIFO
Misc control signals and GPIO
ATA 3-state Control
Control
Data
ATA
Interface
Logic
Control Signals
16 Bit ATA DataUSB
ATA Interface
Cypress Semiconductor Corporation•198 Champion Court•San Jose, CA 95134-1709•408-943-2600
Document 001-05809 Rev. *A Revised November 30, 2006
[+] Feedback
CY7C68300C/CY7C68301C
CY7C68320C/CY7C68321C
Applications
The CY7C68300C/301C and CY7C68320C/321A implement
a USB 2.0 bridge for all ATA/ATAPI-6 compliant mass storage
devices, such as the following:
• Hard drives
• CD-ROM, CD-R/W
• DVD-ROM, DVD-RAM, DVD±R/W
• MP3 players
• Personal media players
• CompactFlash
• Microdrives
• Tape drives
• Personal video recorders
The CY7C68300C/301C and CY7C68320C/321A support one
or two devices in the following configurations:
• ATA/ATAPI master only
• ATA/ATAPI slave only
• ATA/ATAPI master and ATA/ATAPI slave
• CompactFlash only
• A TA/ATAPI slave and CompactFlash or other removable
IDE master
Additional Resources
• CY4615C EZ-USB AT2LP Reference Design Kit
• USB Specification version 2.0
• ATA Specification T13/1410D Rev 3B
• USB Mass Storage Class Bulk Only Transport Specification,
www.usb.org
data transfer rates by minimizing losses due to device seek
times. The ATA interface supports ATA PIO modes 0, 3, and 4,
multiword DMA mode 2, and Ultra DMA modes 2, 3, and 4.
The device initialization process is configurable, enabling the
AT2LP to initialize ATA/ATAPI devices without software intervention.
CY7C68300A Compatibility
As mentioned above, the CY7C68300C/301C contains a
backward compatibility mode that allows it to be used in
existing EZ-USB AT2 (CY7C68300A) designs. The backward
compatibility mode is enabled by programming the EEPROM
with the CY7C68300A signature.
During startup, the AT2LP checks the I
EEPROM with a valid signature in the first two bytes. If the
signature is 0x4D4D, the AT2LP configures it self for pin-to-pin
compatibility with the AT2 and begins normal mass storage
operation. If the signature is 0x534B, the AT2LP configures
itself with the AT2LP pinout and begins normal mass storage
operation.
Refer to the logic flow in Figure 1 for more information on the
pinout selection process.
Most designs that use the AT2 can migrate to the AT2LP with
no changes to either the board layout or EEPROM data.
Cypress has published an application note focused on
migrating from the AT2 to the AT2LP to help expedite the
process. It can be downloaded from the Cypress website
(http://www.cypress.com) or obtained through a Cypress
representative.
Figure 1. Simplified Pinout Selection Flowchart
2
C™ bus for an
Introduction
The EZ-USB AT2LP™ (CY7C68300C/CY7C68301C and
CY7C68320C/CY7C68321C) implements a fixed-function
bridge between one USB port and one or two ATA- or
ATAPI-based mass storage device ports. This bridge adheres
to the Mass Storage Class Bulk-Only Transport Specification
(BOT) and is intended for bus- and self-powered devices.
The AT2LP is the latest addition to the Cypress USB mass
storage portfolio, and is an ideal cost- and power-reduction
path for designs that previously used Cypress’s ISD-300A1,
ISD-300LP, or EZ-USB AT2.
Specifically, the CY7C68300C/CY7C68301C includes a
mode that makes it pin-for-pin compatible with the
EZ-USB AT2 (CY7C68300A).
The USB port of the CY7C68300C/301C and
CY7C68320C/321A (AT2LP) are connected to a host
computer directly or with the downstream port of a USB hub.
Software on the USB host system issues commands and
sends data to the AT2LP and receives status and data from
the AT2LP using standard USB protocol.
The ATA/ATAPI port of the AT2LP is connected to one or two
mass storage devices. A 4 KB buffer maximizes ATA/ATAPI
Read EEPROM
EEPROM
Signature
0x4D4D?
Yes
Set
EZ-USB AT2
(CY7C68300A)
Pinout
Normal Operation
No
Set
EZ-USB AT2LP
(CY7C68300B)
Pinout
Document 001-05809 Rev. *APage 2 of 42
[+] Feedback
CY7C68300C/CY7C68301C
CY7C68320C/CY7C68321C
Pin Diagrams
The AT2LP is available in different package types to meet a variety of design needs. The CY7C68320C/321C is available in 56-pin
QFN and 100-pin TQFP packages to provide the greatest flexibility for new designs. The CY7C68300C/301C is available in 56-pin
SSOP and QFN package types to ensure backward compatibility with CY7C68300A designs.
The following table lists the pinouts for the 56-pin SSOP , 56-pin
QFN and 100-pin TQFP package options for the AT2LP. Refer
to the “Pin Diagrams” on page 3 for differences between the
68300C/01C and 68320C/321C pinouts for the 56-pin
packages. For information on the CY7C68300A pinout, refer
to the CY7C68300A data sheet that is found in the ’EZ-USB
AT2’ folder of the CY4615C reference design kit CD.
PWRVCC. Connect to 3.3V power source.
2567GNDGNDGround.
318IORDYI
429DMARQI
5
N/AN/AGNDGround.
[1]
[1]
InputATA control. Apply a 1k pull up to 3.3V.
InputATA control.
6
7
8
9310AV
CC
PWRAnalog VCC. Connect to VCC through the shortest path
possible.
10411XTALOUTXtalXtal24 MHz crystal output. (See “XTALIN, XTALOUT” on
page 11).
11512XTALINXtalXtal24 MHz crystal input. (See “XTALIN, XTALOUT” on
page 11).
12613AGNDGNDAnalog ground. Connect to ground with as short a
path as possible.
13
N/AN/ANCNo connect.
14
15
16714V
CC
PWRVCC. Connect to 3.3V power source.
17815DPLUSIOHi-ZUSB D+ signal (See “DPLUS, DMINUS” on page 11).
18916DMINUSIOHi-ZUSB D–signal (See “DPLUS, DMINUS” on page 11).
191017GNDGNDGround.
201118V
CC
PWRVCC. Connect to 3.3V power source.
211219GNDGNDGround.
22N/AN/ASYSIRQIInputUSB interrupt request. (See “SYSIRQ” on page 12).
Active HIGH. Connect to GND if functionality is not
used.
23
N/AN/AGNDGNDGround.
24
25
26
[3]
13
[3]
20PWR500#
(PU 10K)
[2]
ObMaxPower request granted indicator. (See
“PWR500#” on page 14). Active LOW.
N/A for CY7C68320C/CY7C68321C 56-pin packages.
271421GND (RESERVED)Reserved. Tie to GND.
28N/AN/ANCNo connect.
291522SCLOActive for
several ms at
Clock signal for I2C interface. (See “SCL, SDA” on
page 11). Apply a 2.2k pu ll up resistor.
startup.
Notes
1. If byte 8, bit 4 of the EEPROM is set to ‘0’, the ATA interface pins are only active when VBUS_ATA_EN is asserted. See
page 14
2. A ‘#’ sign after the pin name indicates that it is active LOW.
The following sections provide additional pin information.
DPLUS, DMINUS
DPLUS and DMINUS are the USB signaling pins; they must
be tied to the D+ and D– pins of the USB connector. Because
they operate at high frequencies, the USB signals require
special consideration when designing the layout of the PCB.
See “General PCB Layout Recommendations For USB Mass
Storage Designs” on page 39 for PCB layout recommenda-
tions.
When RESET# is released, the assertion of the internal pull
up on D+ is gated by a combination of the state of the
VBUS_ATA_ENABLE pin, the value of configuration address
0x08 bit 0 (DRVPWRVLD Enable), and the detection of a
non-removable ATA/ATAPI drive on the IDE bus. See Table 2
for a description of this relationship.
at Startup
Pin Description
“ATAPUEN” on page 14).
Alternate function: General purpose input when the
EEPROM configuration byte 8 has bit 7 set to ‘1’. The
input value is reported through EP1IN (byte 0, bit 2).
pins must still be connected to pull up resistors. The SCL and
SDA pins are active for several milliseconds at startup.
XTALIN, XTALOUT
The AT2LP requires a 24 MHz (
±100 ppm) signal to derive
internal timing. Typically, a 24 MHz (12 pF, 500 μW,
parallel-resonant, fundamental mode) crystal is used, but a 24
MHz square wave (3.3V, 50/50 duty cycle) from another
source can also be used. If a crystal is used, connect its pins
to XTALIN and XTALOUT, and also through 12 pF capacitors
to GND as shown in Figure 7. If an alternate clock source is
used, apply it to XTALIN and leave XTALOUT unconnected.
Figure 7. XTALIN/XTALOUT Diagram
Table 2. D+ Pull Up Assertion Dependencies
VBUS_ATA_EN111100
DRVPWRVLD Enable Bit110011
A TA/A TAPI Drive Detected
YesNoYesNoYesNo
State of D+ pull up111000
SCL, SDA
The clock and data pins for the I
2
C port must be connected to
the configuration EEPROM and to 2.2K pull up resistors tied
. If no EEPROM is used in the design, the SCL and SDA
to V
CC
24MHz Xtal
12pF
XTALINXTALOUT
12pF
Document 001-05809 Rev. *APage 11 of 42
[+] Feedback
CY7C68300C/CY7C68301C
CY7C68320C/CY7C68321C
SYSIRQ
The SYSIRQ pin provides a way for systems to request service
from host software by using the USB Interrupt pipe on endpoint
1 (EP1). If the AT2LP has no pending interrupt data to return,
USB interrupt pipe data requests are NAKed. If pending data
is available, the AT2LP returns 16 bits of data. This data
indicates whether AT2LP is operating in high-speed or
full-speed, whether the AT2LP is reporting self-powered or
bus-powered operation, and the states of any GPIO pins that
are configured as inputs. GPIO pins can be individually set as
Table 3. Interrupt Data Bitmap
EP1 Data Byte 1EP1 Data Byte 0
7654321076543210
RESERVED
RESERVED
RESERVED
RESERVED
RESERVED
RESERVED
USB High-Speed
inputs or outputs, with byte 0x09 of the configuration data. The
state of any GPIO pin that is not set as an input is reported as
‘0’ in the EP1 data.
Table 3 gives the bitmap for the data returned on the interrupt
pipe and Figure 8 depicts the latching algorithm incorporated
by the AT2LP .
The SYSIRQ pin must be pulled LOW if HID functionality is
used. Refer to “HID Functions for Button Controls” on page 15
for more details on HID functionality.
VBUS Powered
RESERVED
RESERVED
GPIO[5]
GPIO[4]
GPIO[3]
GPIO[2]
GPIO[1]
GPIO[0]
Document 001-05809 Rev. *APage 12 of 42
[+] Feedback
CY7C68300C/CY7C68301C
CY7C68320C/CY7C68321C
Figure 8. SYSIRQ Latching Algorithm
No
USB Interrupt
Pipe Polled?
Yes
Int_Data = 1?
No
NAK Request
Return Interrupt Data
Yes
Set Int_Data = 0
DRVPWRVLD
When this pin is enabled with bit 0 of configuration address
0x08 (DRVPWRVLD Enable), the A T2LP informs the host that
a removable device, such as a CF card, is present. The AT2LP
uses DRVPWRVLD to detect that the removable device is
present. Pin polarity is controlled by bit 1 of configuration
address 0x08. When DRVPWRVLD is deasserted, the AT2LP
reports a “no media present” status (ASC = 0x3A, ASQ = 0x00)
when queried by the host. When the media has been detected
again, the AT2LP reports a “media changed” status to the host
(ASC = 0x28, ASQ = 0x00) when queried.
When a removable device is used, it is always considered by
the AT2 LP to be the IDE master device. Only one removable
device may be attached to the AT2LP. If the system only
contains a removable device, bit 6 of configuration address
0x08 (Search AT A Bus) must be set to ‘0’ to disable A T A device
detection at startup. If a non-removable device is connected in
addition to a removable media device, the non-removable
device must be configured as IDE slave (device address 1).
GPIO Pins
The GPIO pins allow for a general purpose input an d output
interface. There are several different interfaces to the GPIO
pins:
• Configuration bytes 0x09 and 0x0A contain the default
settings for the GPIO pins upon initial AT2LP configuration.
No
SYSIRQ=1?
Yes
Yes
Latch State of IO Pins
Set Int_Data = 1
No
Int_Data = 0
and
SYSIRQ=0?
• The host can modify the settings of the GPIO pins during
operation. This is done with vendor-specific commands
described in “Programming the EEPROM” on page 33.
• The status of the GPIO pins is returned on the interrupt
endpoint (EP1) in response to a SYSIRQ. See “SYSIRQ”
on page 12 for SYSIRQ details.
LOWPWR#
LOWPWR# is an output pin that is driven to ‘0’ when the
AT2LP is not in suspend. LOWPWR# is placed in Hi-Z when
the AT2LP is in a suspend state. This pin only indicates the
state of the AT2LP and must not be used to determine the
status of the USB host because of variations in the behavior
of different hosts.
ATA Interface Pins
The ATA Interface pins must be connected to the corresponding pins on an IDE connector or mass storage device.
To allow sharing of the IDE bus with other master devices, the
AT2LP can place all ATA Interface Pins in a Hi-Z state
whenever VBUS_ATA_ENABLE is not asserted. Enabling this
feature is done by setting bit 4 of configuration address 0x08
to ‘1’. Otherwise, the ATA bus is driven by the AT2LP to a
default inactive state whenever VBUS_ATA_ENABLE is not
asserted.
Design practices for signal integrity as outlined in the
ATA/ATAPI-6 specification must be followed with systems that
utilize a ribbon cable interconnect between the AT2LP’s ATA
Document 001-05809 Rev. *APage 13 of 42
[+] Feedback
Loading...
+ 29 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.