Home
Cypress CY7C68320C User's Manual
Contents
1. Yes Yes Set Set Load Fused EZ USB AT2 EZ USB AT2LP CY7C68300A Memory Data Pinout Pinout AT2LP Pinout VBUS ATA ENABLE No Pin HIGH Yes ARESET No Pin LOW Yes 007 Pin Set HIGH ARESET No Pin HIGH Yes COEM _ Board Manufacturing Normal Mass C Test Mode E V Storage Mode p Document 001 05809 Rev A Page 18 of 42 Feedback PERFORM Fused Memory Data When no EEPROM is detected at startup the AT2LP enumerates with the VID PID DID values that are stored in the fused memory space These values can be programmed into the AT2LP during chip manufacturing for high volume applica tions to avoid the need for an external EEPROM in some designs Contact your local Cypress Semiconductor sales office for more information on this feature If no factory programming has been done the values returned from the fused memory space would all be 0x00 which is not a valid mode of operation In this case the chip uses the manufacturing mode and return the default descriptors VID PID of 0x4B4 0x6830 An EEPROM must be used with designs that do not use factory programmed chips in order to identify the device as your company s product Normal Mass Storage Mode In Normal Mass Storage Mode the chip behaves as a USB 2 0 to ATA ATAPI bridge This includes all typical USB device states powered configured etc The USB descriptors are returned according to the values stored in the ex
2. a N 0 N 20 n 5 5 5 5 am 5 cc cc cc cc cc cc am cc gt 5 Functional Overview Chip functionally is described in the subsequent sections Additionally the AT2LP translates ATAPI SFF 8070i USB Signaling Speed AT2LP operates at the following two rates defined in the USB Specification Revision 2 0 dated April 27 2000 Full speed with a signaling bit rate of 12 Mbits sec High speed with a signaling bit rate of 480 Mbits sec AT2LP does not operate at the low speed signaling rate of 1 5 Mbits sec ATA Interface The ATA ATAPI port on the AT2LP is compatible with the nfor mation Technology AT Attachment with Packet 6 ATA ATAPI 6 Specification T13 1410D Rev 2a The AT2LP supports both ATAPI packet commands as well as ATA commands by use of ATA Command Blocks as outlined in ATA Command Block ATACB on page 15 Refer to the USB Mass Storage Class MSC Bulk Only Transport BOT Speci fication for information on Command Block formatting Document 001 05809 Rev A commands to ATA commands for seamless integration of ATA devices with generic Mass Storage Class BOT drivers ATA Command Block ATACB The ATA Command Block ATACB functionality provides a means of passing ATA commands and ATA register accesses to the attached device for execution ATACB commands are transferred in the Command Block Wrapper Com
3. 0 720 0 730 LANE A SEATING PI 0 088 0 095 01 A i 1 h ia qq 12 Py 20110 a L 0 024 d sc 1 0008 as oe 0 008 0015 Bos 51 85062 C Document 001 05809 Rev A Page 38 of 42 Feedback PERFORM Package Diagrams continued Figure 14 56 Lead QFN 8 x 8 mm LF56A DIMENSIONS IN MM INCHES MIN REFERENCE JEDEC MO 220 TOP VIEW SIDE VIEW 7 90 0 311 8 10 0 319 1 000 039 MAX 7 7010 303 7 80 0 307 0 80 0 031 N Sree 1 2 0 80 0 031 DIA 7 70 0 303 7 80 0 307 8 10 0 319 2 L 0 12 SEATING PLANE OPTION FOR CML BOTTOM VIEW E PAD PAD SIZE VARY BY DEVICE TYPE y 0 28 0 011 0 20 0 008 REF PIN1 ID 0 20 0 008 0000000000000 0000000000000 1 U GROOVE DIMENSION NOTE DIMENSIONS ARE SAME WITH STD DWG ON UPPER RIGHT EXCEPT FORTHE U GROOVE ON THE PADDLE CY7C68300C CY7C68301C CY7C68320C CY7C68321C BOTTOM VIEW 0 05 0 002 0 18 0 007 UUUUUUUJUUUUU 0 45 0 018 E PAD PAD SIZE VARY BY DEVICE 6 45 0 254 6 55 0 258 0 300 012 0 50 0 0201 YUUUUUUUUUUUUUU 0240007 0 60 0 024 0 50 0 020 6 4510 2
4. CY7C68300C CY7C68301C CY7C68320C CY7C68321C EZ USB AT2LP USB 2 0 to ATA ATAPI Bridge CYPRESS 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 ATAPI 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 Usesone 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 Can place the ATA interface in high impedance Hi Z to allow sharing of the ATA 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 stor
5. 20 PWR500 PU 10K 21 GND Reserved DIOW 36 2 GND ss voc 24 VCC NOTE Labels in italics denote pin functionality GND 33 during CY7C68300A compatibility mode 25 000 07 32 001 6 st Document 001 05809 Rev A Page 3 of 42 Feedback CE d CY7C68300C CY7C68301C SSA cypress CY7C68320C CY7C68321C T gt PERFORM Figure 3 56 pin QFN Pinout CY7C68300C CY7C68301C u e T lt 2 2 2 LLI 95209 o gt 000000000 gt o Ist eo Joo lt LO i td to ise ise ioRDY 3 42 RESET DMARQ 2 41 GND avcc 30 40 ARESET XTALIN 5 EZ USB AT2LP 38 cst pi CY7C68300C DA2 DPLUS 8 CY7C68301C 35 DAI GND 10 56 pin QFN 33 INTRO veo vcc NE NOTE Italic labels denote pin functionality DMACK PU10K PWR500 during CY7C68300A compatibility mode 30 DIOR RADI 29 DIOW O Oo QN o 988888888896 Document 001 05809 Rev A Page 4 of 42 Feedback CY7C68300C CY7C68301C CY7C68320C CY7C68321C Figure 4 56 SSOP Pinout CY7C68320C CY7C68321C 1 0012 56 2 DD11 55 3 0010 54 4 009 53 5 008 52 6 VBUS ATA ENABLE 51 7 VCC 50 8 RESET4
6. Document 001 05809 Rev A Write To Device Destination EEPROM Write 21 42 Feedback CY7C68300C CY7C68301C CyPRESS ___ _ _ _ CY7C68320C CY7C68321C PERFORM Table 11 Configuration Data Organization Byte Configuration Configuration Required Variable Address Item Name Item Description Contents Contents Note Devices running in Backward Compatibility CY7C68300A Mode must use the CY7C68300A EEPROM organization and not the format shown in this document Refer to the CY7C68300A data sheet for the CY7C68300A EEPROM format AT2LP Configuration 0x00 EEPROM signature byte 0 2 EEPROM signature byte 0 This byte must be 0x53 for 0x53 proper AT2LP pin configuration 0x01 EEPROM signature byte 1 2 EEPROM signature byte 1 This byte must be 0x4B for 0x4B proper AT2LP pin configuration 0x02 APM Value ATA Device Automatic Power Management Value If an 0x00 attached ATA device supports APM and this field contains other than 0x00 the AT2LP issues a SET FEATURES command to Enable APM with this value during the drive initialization process Setting APM Value to 0x00 disables this functionality This value is ignored with ATAPI devices 0x03 Reserved Must be set to 0x00 0x00 0x04 bVSCBSignature Value Value in the first byte of the CBW CB field that designates 0x24 that the CB is to be decoded as vendor specific ATA commands instead of the ATAPI command block See
7. Functional Overview on page 15 for more detail on how this byte is used 0x05 Reserved Bits 7 6 0x07 Enable mode page 8 Bit 5 Enable the write caching mode page page 8 If this page is enabled Windows disables write caching by default which limits write performance 0 Disable mode page 8 12 Enable mode page 8 Disable wait for INTRQ Bit 4 Poll status register rather than waiting for INTRQ Setting this bit to 1 improves USB BOT test results but may introduce compatibility problems with some devices 0 Wait for INTRQ 1 Poll status register instead of using INTRQ BUSY Bit Delay Bit 3 Enable a delay of up to 120 ms at each read of the DRQ bit where the device data length does not match the host data length This allows the CY7C68300C CY7C68301C to work with most devices that incorrectly clear the BUSY bit before a valid status is present 0 No BUSY bit delay 1 Use BUSY bit delay Short Packet Before Stall Bit 2 Determines if a short packet is sent before the STALL of an IN endpoint The USB Mass Storage Class Bulk Only Speci fication allows a device to send a short or zero length IN packet before returning a STALL handshake for certain cases Certain host controller drivers may require a short packet before STALL 0 Do not force a short packet before STALL 1 Force a short packet before STALL Document 001 05809 Rev A Page 22 of 42 Feedback CY7C68300C CY
8. ATA Timing Characteristics The ATA interface supports ATA PIO modes 0 3 and 4 Ultra DMA modes 2 3 and 4 and multi word DMA mode 2 per the ATA ATAPI 6 Specification The highest enabled transfer rate common to both the AT2LP and the attached mass storage device is used The AT2LP automatically determines the transfer rates during drive initialization based upon the values Ordering Information CY7C68300C CY7C68301C CY7C68320C CY7C68321C in the AT2LP configuration space and the data reported by the drives in response to an IDENTIFY DEVICE command USB Transceiver Characteristics Complies with the USB 2 0 specification for full and high speed modes of operation Part Number Package Type GPIO Pins CY7C68300C 56PVXC 56 SSOP Lead free for self and bus powered designs CY7C68301C 56PVXC 56 SSOP Lead free for battery powered designs CY7C68300C 56LFXC 56 QFN Lead free for self and bus powered designs CY7C68301C 56LFXC 56 QFN Lead free for battery powered designs CY7C68320C 56LFXC 56 QFN Lead free for self and bus powered designs 319 CY7C68320C 56PVXC 56 SSOP Lead free for self and bus powered designs 3 CY7C68321C 56LFXC 56 QFN Lead free for battery powered designs 319 CY7C68320C 100AXC 100 TQFP Lead free for self and bus powered designs 6 CY7C68321C 100AXC 100 TQFP Lead free for battery powered designs 6 CY4615B EZ USB AT2LP Reference Design Kit n a Note 4 The General Purpose in
9. 49 9 GND 48 10 47 11 DA2 46 12 CS1 45 13 CSOR 44 14 GPIOO 43 2 EZ USB AT2LP CY7C68320C E 17 INTRQ 40 CY7C68321C 19 56 SSOP DMACK 20 DIOR 37 21 DIOW F 36 22 GND 35 23 VCC 34 24 33 25 007 32 26 006 31 27 005 28 004 29 Document 001 05809 Rev A Page 5 of 42 Feedback CY7C68300C CY7C68301C CYPRESS ___ CY CB8820C CY7C68321C PERFORM Figure 5 56 pin QFN Pinout CY7C68320C CY7C68321C S ATA ENABLE 55 VCC 44 VBU a z IORDY 42 RESET DMARQ 2 GND avcc 40 ARESET XTALOUT 4 39 DA2 ants EZ USBAT2LP ico CY7C68320C peo uR 7 683212 j DMINUS 34 DAO 70 56 pin QFN 33 INTRO VCC vcc GND 12 DMACK cPio1 13 30 DIOR GND 14 29 Document 001 05809 Rev A Page 6 of 42 Feedback e Document 001 05809 Rev A CYPRESS PERFORM CY7C68300C CY7C68301C CY7C68320C CY7C68321C Figure 6 100 TQFP Pinout CY7C68320C CY7C68321C only 100 ATAPUEN 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 EZ USB AT2LP CY7C68320C CY7C68321C 100 pin TQFP Page 7 of 42 Feedback CY7C68300C CY7C68301C CY7C68320C CY7C68321C Pin Descriptions 68300C 01C and 68320 321 pinouts for the 56 pin The following table lists the pinou
10. Electrical contact of the part to the Printed Circuit Board PCB is made by soldering the leads on the bottom surface of the package to the PCB Hence special attention is required to the heat transfer area below the package to provide a good thermal bond to the circuit board A Copper Cu fill must be designed into the PCB as a thermal pad under the package Heat is transferred from the AT2LP through the device s metal paddle on the bottom side of the package Heat from here is conducted to the PCB at the thermal pad It is then conducted from the thermal pad to the PCB inner ground plane by a 5 x 5 array of vias A via is a plated through hole in the PCB with a finished diameter of 13 mil The QFN s metal die paddle must be soldered to the PCB s thermal pad Solder mask is placed on the board top side over each via to resist solder flow into the via The mask on the top side also minimizes outgassing during the solder reflow process For further information on this package design refer to the application note Surface Mount Assembly of AMKOR s MicroLeadFrame MLF Technology The application note provides detailed information on board mounting guidelines soldering flow rework process etc Figure 15 displays a cross sectional area underneath the package The cross section is of only one via The solder paste template needs to be designed to allow at least 50 solder coverage The thickness of the solder paste template must be 5 mil It
11. Feedback Table 1 AT2LP Pin Descriptions Note Italic pin names denote pin functionality during CY7C68300A compatibility mode continued CY7C68300C CY7C68301C CY7C68320C CY7C68321C 100 56 56 Pin Default State QFN SSOP Pin Name Type at Startup Pin Description 68 34 41 DAO 0 2111 Driven HIGH address after 2 ms delay 69 35 42 DA1 0 2711 Driven HIGH address after 2 ms delay 70181 36191 43 DRVPWRVLD Input Device presence detect See DRVPWRVLD on DA2 page 13 Configurable logical polarity is controlled by EEPROM address 0x08 This pin must be pulled HIGH if functionality is not utilized Alternate function Input when the EEPROM configu ration byte 8 has bit 7 set to one The input value is reported through EP1IN byte 0 bit 0 71 37 44 CSO o zl T Driven HIGH chip select after 2 ms delay 72 38 45 CS1 o zl T Driven HIGH chip select after 2 ms delay 73 39 46 DA2 0 2711 Driven HIGH address VBUS_PWR_VALID after 2 ms delay 74 40 47 ARESET oz ATA reset 75 41 48 GND GND Ground 76 N A N A NC NC No connect 77 42 49 RESET Input Chip reset page 14 78 43 50 Voc PWR Voc Connect to 3 3V power source 79 44 51 VBUS ATA ENABLE Input VBUS detection See VBUS_ATA_ENABLE ATA_EN page 14 80 45 52 008
12. NO Issue Date Change Description of Change es 409321 See ECN GIR New data sheet A 611658 ARI KKU Implemented new template Added part number CY7C68320C 56PVXC to the Ordering Information Corrected part numbers on figure 5 and 6 Moved figure titles to the top of each figure per new template requirements Made grammatical corrections Changed the Fused Memory Data section Added new figure 56 pin SSOP CY7C68320C CY7C68321C Changed figure 10 to reflect actual Flow for Operational Mode Changes made between VBUS_ATA_ENABLE PIN HIGH and Board Manufac turing Test Mode Formatted 0 1 lines in Configuration Data Organi zation to always show up in the same order Re worded 3rd bullet point in the Operation Selection Flow section GPIO2 nHS function removed and corrected the sense of ATA EN to allow drive on 0 and Hi Z on 1 Document 001 05809 Rev A Page 42 of 42 Feedback
13. 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 24MHz Xtal XTALIN XTALOUT Page 11 of 42 Feedback ee CYPRESS PERFORM 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 CY7C68300C CY7C68301C CY7C68320C CY7C68321C 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 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 Contro
14. FX2 and EZ USB TX2 are trademarks and EZ USB is a registered trademark of Cypress Semiconductor Corporation All product and company names mentioned in this document are the trademarks of their respective holders Document 001 05809 Rev Page 41 of 42 Cypress Semiconductor Corporation 2006 The information contained herein is subject to change without notice Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product Nor does it convey or imply any license under patent or other rights Cypress products are not warranted nor intended to be used for medical life support life saving critical control or safety applications unless pursuant to an express written agreement with Cypress Furthermore Cypress does not authorize its products for use as critical components in life support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user The inclusion of Cypress products in life support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges Feedback PERFORM Document History Paged CY7C68300C CY7C68301C CY7C68320C CY7C68321C Bridge Document Number 001 05809 Description Title CY7C68300C CY7C68301C CY7C68320C CY7C68321C EZ USB AT2LP USB 2 0 to ATA ATAPI Orig of m REV
15. MSB USB Specification release number in BCD 0x02 0x26 bDeviceClass Device class 0x00 0x27 bDeviceSubClass Device subclass 0x00 0x28 bDeviceProtocol Device protocol 0x00 0x29 0 USB packet size supported for default pipe 0x40 0 2 bNumConfigurations Number of configurations supported 0x01 0x2B bReserved Reserved for future use Must be set to zero 0x00 Configuration Descriptor 0 2 bLength Length of configuration descriptor in bytes 0x09 0 2 bDescriptorType Descriptor type 0x02 0 2 bTotalLength LSB Number of bytes returned in this configuration This includes 0x20 Ox2F bTotalLength MSB the configuration descriptor plus all the interface and 0x00 endpoint descriptors 0x30 bNumlnterfaces Number of interfaces supported 0x01 0x31 bConfiguration Value The value to use as an argument to Set Configuration to 0x01 select the configuration This value must be set to 0x01 Document 001 05809 Rev A Page 26 of 42 Feedback CY7C68300C CY7C68301C CY7C68320C CY7C68321C Table 11 Configuration Data Organization continued Byte Configuration Configuration Required Variable Address Item Name Item Description Conients Contents 0x32 iConfiguration Index to the configuration string This entry must equal half 0x00 of the address value where the string starts or 0x00 if the string does n
16. 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 ATA 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 Introduction The EZ USB AT2LP CY7C68300C CY7C68301C and CY7C68320C CY7C68321C implements 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 of the CY7C68300C 301C and CY7C68320C 321A AT2LP are connected to
17. resistor 31 N A N A NC No connect 32 33 17 24 Voc PWR Voc Connect to 3 3V power source 34 18 25 DDO iot Hi Z ATA data bit 0 35 19 26 DD1 iot Hi Z ATA data bit 1 36 20 27 DD2 Hi Z ATA data bit 2 37 21 28 DD3 ior Hi Z ATA data bit 3 38 N A N A Vec PWR Connect to 3 3V power source 39 N A N A GND GND Ground 40 N A N A NC NC No connect 41 N A N A GND Ground 42 N A N A NC NC No connect 43 N A N A GND Ground 44 22 29 DD4 ior Hi Z ATA data bit 4 45 23 30 DD5 Hi Z ATA data bit 5 46 24 31 DD6 Hi Z ATA data bit 6 47 25 32 DD7 lol Hi Z ATA data bit 7 Apply a 1k pull down to GND 48 26 33 GND GND Ground 49 27 34 Voc PWR Voc Connect to 3 3V power source 50 28 35 GND GND Ground 51 N A N A NC NC No connect 52 53 N A N A Voc PWR Voc Connect to 3 3V power source 54 29 36 Diowa 0 2111 Driven HIGH ATA control CMOS 55 30 37 DIOR 2 1 Driven HIGH ATA control CMOS 56 31 38 DMACK 2 1 Driven HIGH control CMOS 57 N A N A NC NC No connect 58 N A N A LOWPWR USB suspend indicator See LOWPWR on page 13 59 N A N A NC NC No connect 60 61 62 N A N A VBUSPWRD Input Bus powered mode selector See VBUSPWRD page 14 63 N A N A NC NC No connect 64 65 N A N A GND GND Ground 66 32 39 Voc PWR Connect to 3 3V power source 67 33 40 INTRQ qui Input ATA interrupt request Document 001 05809 Rev A Page 9 of 42
18. 10011111 hardcoded 0x27 2 15 2 15 Reserved must be 2 0 1010101010010 Mfg_load During a Mfg_load the AT2LP enters into Manufacturing Test Mode Manufacturing Test Mode is provided as a means to implement board or system level interconnect tests During Manufacturing Test Mode operation all outputs not directly associated with USB operation are controllable Normal control of the output pins are disabled Control of the select AT2LP IO pins and their tri state controls are mapped to the ATAPI data packet associated with this request See Table 10 for an explanation of the required Mfg_load data format Any data length can be specified but only bytes 0 through 3 are mapped to pins so a length of 4 bytes is recommended To exit Manufacturing Test Mode a hard reset toggle RESET is required Document 001 05809 Rev A This USB request returns a snapshot of select AT2LP input pins AT2LP input pins not directly associated with USB operation can be sampled at any time during Manufacturing Test Mode operation See Table 10 for an explanation of the Mfg read data format Any data length can be specified but only bytes 0 through 3 contain usable information so a length of 4 bytes is recommended Table 10 Mfg read and Mfg load Data Format Byte Bits Read Load Function 0 7 ARESET 6 R DA2 5 4 R L CS 1 0 3 R L DRVPWRVLD 2 1 R L DA 1 0 0 R INTRQ 1 7 L DD 15 0 High Z Status 0 Hi Z all
19. 18 Voc PWR Connect to 3 3V power source 21 12 19 GND GND Ground 22 N A N A SYSIRQ Input USB interrupt request See SYSIRQ on page 12 Active HIGH Connect to GND if functionality is not used 23 N A N A GND GND Ground 24 25 2631 131 20 500 21 bMaxPower request granted indicator See PU 10k PWR500 on page 14 Active LOW N A for CY7C68320C CY7C683210C 56 pin packages 27 14 21 GND RESERVED Reserved Tie to GND 28 N A N A NC No connect 29 15 22 SCL Active for Clock signal for interface See SCL SDA on several ms at page 11 Apply a 2 2k pull up resistor startup Notes 1 If byte 8 j 4 of the EEPROM is set to 0 the ATA interface pins are only active when VBUS ATA EN is asserted See VBUS ATA ENABLE on age 5 2 A sign after the pin name indicates that it is active LOW Document 001 05809 Rev A Page 8 of 42 Feedback CYPRESS PERFORM Table 1 AT2LP Pin Descriptions Note Italic pin names denote pin functionality during CY7C68300A compatibility mode continued CY7C68300C CY7C68301C CY7C68320C CY7C68321C 100 56 56 Pin Default State in QFN SSOP Pin Name Type at Startup Pin Description 30 16 23 SDA IO Data signal for interface See SCL SDA on page 11 Apply a 2 2k pull up
20. 54 6 55 0 258 2375 1975 2075 51 85144 F General PCB Layout Recommendations For USB Mass Storage Designs The following recommendations must be followed to ensure reliable high performance operation Use at least four layer impedance controlled board to maintain signal quality Specify specific impedance targets ask your board vendor what they can achieve Maintain uniform trace widths and trace spacing to control impedance Minimize reflected signals by avoiding using stubs and vias Connectthe USB connector shell and signal ground as near to the USB connector as possible Use bypass flyback capacitors on VBUS near the connector Document 001 05809 Rev A Keep DPLUS and DMINUS trace lengths to within 2 mm of each other in length with a preferred length of 20 30 mm Maintain a solid ground plane under the DPLUS and DMINUS traces Do not allow the plane to be split under these traces Do not place vias on the DPLUS or DMINUS trace routing for a more stable design solate the DPLUS and DMINUS traces from all other signal traces by no less than 10 mm Source for recommendations e EZ USB FX2LP PCB Design Recommendations http www cypress com High speed USB Platform Design Guidelines http www usb org Page 39 of 42 Feedback EJ CYPRESS PERFORM CY7C68300C CY7C68301C CY7C68320C CY7C68321C Quad Flat Package No Leads QFN Package Design Notes
21. 7C68301C Zcypress __ CY7C68320C CY7C68321C PERFORM Table 11 Configuration Data Organization continued Byte Configuration Configuration Required Variable Address Item Name Item Description Contents Contents SRST Enable Bit 1 Determines if the AT2LP is to do an SRST reset during drive initialization At least one reset must be enabled Do not set SRST to 0 and Skip Pin Reset to 1 at the same time 0 Do not perform SRST during initialization 1 Perform SRST during initialization Skip Pin Reset Bit 0 Skip ARESET assertion When this bit is set the AT2LP bypasses ARESET during any initialization other than power up Do not set SRST Enable to 0 and Skip Pin Reset to 1 at the same time 0 Allow ARESET assertion for all device resets 1 Disable ARESET assertion except for chip reset cycles 0x06 ATA UDMA Enable Bit 7 0xD4 Enable Ultra DMA data transfer support for ATA devices If enabled and if the ATA device reports UDMA support for the indicated modes the AT2LP uses UDMA data transfers at the highest negotiated rate possible 0 Disable ATA device UDMA support 1 Enable ATA device UDMA support ATAPI UDMA Enable Bit 6 Enable Ultra DMA data transfer support for ATAPI devices enabled and if the ATAPI device reports UDMA support for the indicated modes the AT2LP uses UDMA data transfers at the highest negotiated rate possible 0 Disable ATAPI device UDMA support 1 Enable ATAPI device U
22. Configuration Data Organization continued Byte Configuration Configuration Required Variable Address Item Name Item Description Contents Contents 0x75 Report Size 8 bits 0x75 1 0x08 0x77 Report_Count 2 fields 0x95 0x78 0x02 0x79 Input Input Data Variable Absolute 0x81 Ox7A 0x02 Output Report 0x7B Usage Usage vendor defined 0x09 0x7C OxA9 0x7D Logical_Minimum Logical Minimum 128 0x15 fox7E 0x80 Ox7F Logical_Maximum Logical Maximum 127 0x25 0x80 0 7 0 81 Report_Size Report Size 8 bits 0x75 0x82 0x08 0x83 Report_Count Report Count 2 fields 0x95 0x02 0x85 Output Output Data Variable Absolute 0x91 0x86 0x02 0x87 End Collection 0xCO optional Standard Content Security Interface Descriptor 0x88 bLength Byte length of this descriptor 0x09 0x89 bDescriptorType Interface Descriptor type 0x0D 0x8A bInterfaceNumber Number of interface 0x02 0x8B bAlternateSetting Value used to select an alternate setting for the interface 0x00 identified in prior field 0x8C bNumEndpoints Number of endpoints used by this interface excluding 0x02 Ox8D binterfaceClass endpoint 0 that are CSM dependent 0 00 0 8 binterfaceSubClass Must be set to zero 0x00 Ox8F bInterfaceProtocol Must be set to zero 0x00 0x90 ilnterface Index of a string descriptor that describes this Interface 0x00 C
23. DD pins 1 Drive DD pins 6 R MFG_SEL 0 Mass Storage Mode 1 Manufacturing Mode 5 R VBUS_ATA_ENABLE 4 R DMARQ 3 R IORDY 2 R L DMACK 1 R L DIOR 0 R L DIOW 2 7 0 R L DD 7 0 3 7 0 R L DD 15 8 Page 20 of 42 Feedback c A s CYPRESS PERFORM EEPROM Organization The contents of the recommended 256 byte 2048 bit 2 EEPROM arranged as follows In Table 11 the column labeled Required Contents contains the values that must be used for proper operation of the AT2LP The column labeled Variable Contents contains suggested entries and values that may vary like string lengths according to the EEPROM data Some values such as the Vendor ID Product ID and device serial number must be customized to meet USB compliance The AT2LP Blaster tool in the CY4615C kit can be used to edit and program these values into an AT2LP based product refer to Figure 11 The AT2LP Primer tool can be used to CY7C68300C CY7C68301C CY7C68320C CY7C68321C program AT2LP based products in a manufacturing environment and provides for serial number randomization See Board Manufacturing Test Mode on page 19 for details on how to use vendor specific ATAPI commands to read and program the EEPROM The address pins on the serial EEPROM must be set such that the EEPROM is at physical address 2 A0 0 A1 1 A2 0 or address 4 A0 0 A1 0 A2 1 for EEPROM devi
24. DMA support UDMA Modes Bits 5 0 These bits select which UDMA modes are enabled The AT2LP operates in the highest enabled UDMA mode supported by the device The AT2LP supports UDMA modes 2 3 and 4 only Bit 5 Reserved Must be set to 0 Bit 4 Enable UDMA mode 4 Bit 3 Enable UDMA mode 3 Bit 2 Enable UDMA mode 2 Bit 1 Reserved Must be set to 0 Bit 0 Reserved Must be set to 0 0x07 Reserved Bits 7 3 0x07 Must be set to 0 Multi word DMA mode Bit 2 This bit enables multi word DMA support If this bit is set and the drive supports it multi word DMA is used PIO Modes Bits 1 0 These bits select which PIO modes are enabled Setting to 1 enables use of that mode with the attached drive if the drive supports it Multiple bits may be set The AT2LP operates in the highest enabled PIO mode supported by the device The AT2LP supports PIO modes 0 3 and 4 only PIO mode 0 is always enabled and has no corresponding configuration bit Bit 1 Enable PIO mode 4 Bit 0 Enable PIO mode 3 Document 001 05809 Rev A Page 23 of 42 Feedback CY7C68300C CY7C68301C Zcypress __ CY7C68320C CY7C68321C PERFORM Table 11 Configuration Data Organization continued Byte Configuration Configuration Required Variable Address Item Name Item Description Conients Contents 0x08 BUTTON_MODE Bit 7 0x78 Button mode 100 pin package only Sets ATAPUEN PWR500 and DRVPWRVLD t
25. HIGH power indication from device Drive Power Valid Enable Bit 0 Enable the DRVPWRVLD pin When this pin is enabled the AT2LP enumerates a removable ATA device like Compact Flash or MicroDrive as the IDE master device Enabling this pin also affects other pins related to removable device operation 0 Disable removable ATA device support 1 Enable removable ATA device support 0x09 Reserved Bits 7 6 0x00 Reserved Must be set to zero General Purpose IO Pin Bits 5 0 Output Enable GPIO 5 0 Input and output control GPIOs can be individ ually set as inputs or outputs using these bits 0 Hi Z pin is an input The state of the signal connected to GPIO input pins is reported in the SYSIRQ or HID data 1 Output enabled pin is an output The state of GPIO output pins is controlled by the value in address Ox0A Document 001 05809 Rev A Page 24 of 42 Feedback Em CY7C68300C CY7C68301C CRBS ANCE NCCE TO PERFORM Table 11 Configuration Data Organization continued Byte Configuration Configuration Required Variable Address Item Name Item Description Conients Contents Ox0A Reserved Bits 7 6 0x00 Reserved Must be set to zero GPIO Output Pin State Bits 5 0 These bits select the value driven on the GPIO pins that are configured as outputs in configuration address 0x09 0 Drive the GPIO pin LOW 1 Drive the GPIO pin HIGH 0x0B LUNO Identify String This byte is a po
26. Hi Z ATA data bit 8 81 46 53 DD9 Hi Z ATA data bit 9 82 47 54 DD10 iol Hi Z ATA data bit 10 83 48 55 DD11 Hi Z ATA data bit 11 84 N A N A GND Ground 85 N A Voc PWR Voc Connect to 3 3V power source 86 N A N A NC NC No connect 87 88 363 N A GPIOO General purpose IO pins See Pins 89 1313 GPIO1 page 13 The GPIO pins must be tied to GND if 90 54131 GPIO2 functionality is not used 91 GPIO3 92 GPIO4 93 GPIO5 94 N A N A GND GND Ground 95 49 56 DD12 Hi Z ATA data bit 12 96 50 1 DD13 Hi Z ATA data bit 13 97 51 2 DD14 ior Hi Z ATA data bit 14 98 52 3 DD15 Hi Z ATA data bit 15 99 53 4 GND GND Ground Document 001 05809 Rev A Page 10 of 42 Feedback PERFORM Table 1 AT2LP Pin Descriptions CY7C68300C CY7C68301C CY7C68320C CY7C68321C Note Italic pin names denote pin functionality during CY7C68300A compatibility mode continued 100 56 56 Pin Default State TQFP QFN SSOP Pin Name Type atStartup Pin Description 1008 5 ATAPUEN IO Bus powered ATA pull up voltage source see NC 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 Additional Pin Descriptions The following sections provide additional pin information DPLUS DMINUS DPLUS and DMINU
27. S 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 Table 2 D Pull Up Assertion Dependencies VBUS_ATA_EN 1 1 1 1 010 DRVPWRVLD Enable Bit 1 1 001 1 ATA ATAPI Drive Detected Yes Yes State of D pull up 1 1 1 SCL SDA The clock and data pins for the 2 port must be connected to the configuration EEPROM and to 2 2K pull up resistors tied to Vcc If no EEPROM is used in the design the SCL and SDA Document 001 05809 Rev A 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 24 MHz 12 pF 500 uW parallel resonant fundamental mode crystal is used but a 24 MHz square wave 3 3V 50
28. String Unicode character MSB 0x00 Identify Device String Note This is not a Unicode string It is the ASCII string returned by the device in the Identify Device information It is a fixed length 24 bytes Changing this string may cause CD authoring software to incorrectly identify the device OXxx Device name byte 1 ASCII Character C 0x43 OXxx Device name byte 2 ASCII Character y 0x79 OXxx Device name byte 3 ASCII Character 0x70 Document 001 05809 Rev A Page 32 of 42 Feedback Table 11 Configuration Data Organization continued CY7C68300C CY7C68301C CY7C68320C CY7C68321C Byte Configuration Configuration Required Variable Address Item Name Item Description Conients Contents OXxx Device name byte 4 ASCII Character 0x72 OXxx Device name byte 5 ASCII Character e 0x65 OXxx Device name byte 6 ASCII Character s 0x73 OXxx Device name byte 7 ASCII Character s 0x73 OXxx Device name byte 8 ASCII Character 0x20 OXxx Device name byte 9 ASCII Character C 0x43 OXxx Device name byte 10 ASCII Character u 0x75 OXxx Device name byte 11 ASCII Character s 0x73 OXxx Device name byte 12 ASCII Character 0x74 OXxx Device name byte 13 ASCII Character o Oxef OXxx Device name byte 14 ASCII Character m 0x6d OXxx Device name byte 15 ASCII Character 0x20 OXxx Device name byte 16 ASCII Character N 0 4 OXxx De
29. T2LP does not fully support IDE removable media devices Changes in media state are not reported to the operating system so users are unable to eject reinsert media CY7C68300C CY7C68301C CY7C68320C CY7C68321C drives have large enough buffers to handle the flow of data to and from it The exact buffer size needed depends on a number of variables but a good rule of thumb is properly This may result in lost or corrupted data Note that standard ATAPI optical drives and ATA CompactFlash type devices are not part of this group aprox min buffer data rate seek time rotation time other where other may include things like the time required to switch heads power up a laser etc Drives with buffers that are too small to handle the extra data may perform consid erably slower than expected Devices With Small Buffers The size of the drive s buffer can greatly affect the overall data transfer performance Care must be taken to ensure that Disclaimers Trademarks and Copyrights Purchase of I CTM components from Cypress or one of its sublicensed Associated Companies conveys a license under the Philips Patent Rights to use these components in an 2 system provided that the system conforms to the 2 Standard Specification as defined by Philips Microsoft and Windows are registered trademarks of Microsoft Corporation Apple and Mac OS are registered trademarks of Apple Computer Inc EZ USB AT2LP EZ USB AT2 EZ USB
30. Ta Ambient Temperature Under 0 C 70 C SUPP Te TEST PEPTIDE 3 00V to 3 60V Ground heer ee ai OV Fosc Oscillator or Crystal Frequency sess 24 MHz 100 ppm Parallel Resonant DC Characteristics Parameter Description Conditions Min Typ Max Unit Voc Supply Voltage 3 00 3 3 3 60 V Vcc Ramp Supply Ramp Up OV to 3 3V 200 us Vin Input High Voltage 2 5 25 V Vit Input Low Voltage 0 5 0 8 V li Input Leakage Current 0 lt lt 10 uA Vin x Crystal Input HIGH Voltage 2 5 25 V Vi x Crystal Input LOW Voltage 0 5 0 8 V Vou Output Voltage High lout 4 mA 2 4 V VoL Output Voltage Low lout 4 mA 0 4 lou Output Current High 4 mA lot Output Current Low 4 mA Cin Input Pin Capacitance All but DPLUS DMINUS 10 pF DPLUS DMINUS 15 pF Isusp Suspend Current Connected 0 5 1 2 mA CY7C68300C CY7C68320C Disconnected 0 3 1 0 mA Suspend Current Connected 300 380 CY7C68301C CY7C68321C Disconnected 100 150 lec Supply Current USB High Speed 50 85 mA USB Full Speed 35 65 mA lunconrig Unconfigured Current Current before device is granted full 43 mA amount requested in bMaxPower TRESET Reset Time After Valid Power Vcc gt 3 0V 5 0 ms Pin Reset After Power Up 200 Document 001 05809 Rev Page 35 of 42 Feedback H CYPRESS PERFORM AC Electrical Characteristics
31. To be set by speed Full speed 0x00 0x43 wMaxPacketSize MSB 0x0040 High speed 0x0200 0x02 0x44 bInterval High speed interval for polling maximum NAK rate 0x00 USB Bulk In Endpoint 0x45 bLength Length of this descriptor in bytes 0x07 0x46 bDescriptorType Endpoint descriptor type 0x05 0x47 bEndpointAddress This is an In endpoint endpoint number 6 0x86 0x48 bmAttributes This is a bulk endpoint 0x02 0x49 wMaxPacketSize LSB Max data transfer size Automatically set by AT2 Full speed 0x00 Ox4A wMaxPacketSize MSB 0x0040 High speed 0x0200 0x02 Ox4B bInterval High speed interval for polling maximum NAK rate 0x00 Optional HID Interface Descriptor 0x4C bLength Length of HID interface descriptor 0x09 0x4D bDescriptorTypes Interface descriptor type 0x04 0 4 blnterfaceNumber Number of interfaces 2 0x02 Document 001 05809 Rev A Page 27 of 42 Feedback CY7C68300C CY7C68301C CY7C68320C CY7C68321C Table 11 Configuration Data Organization continued Byte Configuration Configuration Required Variable Address Item Name Item Description Conients Contents Ox4F bAlternateSetting Alternate setting 0x00 0x50 bNumEndpoints Number of endpoints used by this interface 0x01 0x51 binterfaceClass Class code 0x03 0x52 binterfaceSubClass Sub class 0x00 0x53 binterfaceSubS
32. 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 Document 001 05809 Rev A CY7C68300C CY7C68301C CY7C68320C CY7C68321C 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 inter vention 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 IC bus for an EEPROM with a valid signature in the first two bytes If the signature is Ox4D4D the AT2LP configures itself 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 Mos
33. age 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 notifi cation 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 Bus Master gt Internal Control Logic Misc control signals and ATA 3 state Contro ATA Interface Control Signals USB 2 0 Tranceiver CY Smart USB FS HS Engine ATA Interface Logic 4 kByte FIFO Bit ATA Data USB Cypress Semiconductor Corporation Document 001 05809 Rev 198 Champion Court San Jose CA 95134 1709 408 943 2600 Revised November 30 2006 Feedback PERFORM Applications The CY7C68300C 301C and CY7C68320C 321A implement a USB 2 0 bridge for all ATA ATAPI 6 compliant
34. ass Device subclass 0x00 0x16 bDeviceProtocol Device protocol 0x00 0x17 bMaxPacketSizeO USB packet size supported for default pipe 0x40 0x18 idVendor LSB Vendor ID Cypress Vendor ID may only be used for evalu Your 0x19 idVendor MSB ation purposes and not in released products Vendor ID Ox1A idProduct LSB Product ID Your 0x1B idProduct MSB Product ID 0 1 bcdDevice LSB Device release number in BCD LSB product release Your number release Ox1D bcdDevice MSB Device release number in BCD MSB silicon release number number Ox1E iManufacturer Index to manufacturer string This entry must equal half of 0x53 the address value where the string starts or 0x00 if the string does not exist Ox1F iProduct Index to product string This entry must equal half of the 0x69 address value where the string starts or 0x00 if the string does not exist 0x20 iSerialNumber Index to serial number string This entry must equal half of 0x75 the address value where the string starts or 0x00 if the string does not exist The USB Mass Storage Class Bulk Only Transport Specification requires a unique serial number in upper case hexadecimal characters for each device 0x21 bNumConfigurations Number of configurations supported 0x03 1 for mass storage 2 for HID 3 for CSM Device Qualifier 0x22 bLength Length of device descriptor in bytes 0x0A 0x23 bDescriptor Type Descriptor type 0x06 0x24 bcdUSB LSB USB Specification release number in BCD 0x00 0x25 bcdUSB
35. ce data results in unspecified device behavior 0 Data phase does not contain IDENTIFY device data 1 Data phase contains ATAPI or ATA IDENTIFY device data Bit 6 UDMACommand This bit enables supported UDMA device transfers Setting this bit when a non UDMA capable device is attached results in undetermined behavior 0 Do not use UDMA device transfers only use PIO mode 1 2 Use UDMA device transfers Bit 5 DEVOverride This bit determines whether the DEV bit value is taken from the value assigned to the LUN during startup or from the ATACB 0 The DEV bit is taken from the value assigned to the LUN during startup 1 The DEV bit is taken from the ATACB field OxOB bit 4 Bit 4 DErrorOverride This bit controls the device error override feature This bit must not be set during bmATACBActionSelect TaskFileRead 0 Data accesses are halted if a device error is detected 1 Data accesses are not halted if a device error is detected Bit 3 PErrorOverride This bit controls the phase error override feature This bit must not be set during a bmATACBActionSelect TaskFileRead 0 Data accesses are halted if a phase error is detected 1 Data accesses are not halted if a phase error is detected Bit 2 PollAltStatOverride This bit determines whether or not the Alternate Status register is polled and the BSY bit is used to qualify the ATACB operation 0 The AltStat register is polled until BSY 0 before proceeding with the ATACB op
36. ces that are internally byte addressed memories It is recom mended that the address pins be set this way even on EEPROMS that may indicate that the address pins are internal no connects Figure 11 Snapshot of AT2LP Blaster Utility Cypress Configuration Utility Device Settings General Device Desc Configuration Desc Mass Storage Interface HID Interface CSM Interface Address 0x07 Reserved 5 foo Multi word DMA 1 Modes 2 3 EEPROM Signature 534B APM Value 00 VS CB Signature 24 Address 0x08 Button Mode o Search ATA Bus 1 Big Package 1 _ 1 Reserved 1 HS Indicate Enable 0 DRVPWRVLD Polarity 0 DRVPWRVLD Enable 0 Delay After Reset 00 Address 0x05 Reserved 2 o Mode Page 8 Enable INTRQ Wait Disable 1 Busy Bit Delay Pre stall Short Packet 1 SRST Enable 1 Skip Pin Reset 1 Address 0x09 Address 0x06 Reserved 2 5 UDMA Enable 1 ATAPI UDMA Enable 1 UDMA Modes 6 14 Address Reserved 2 Raw Configuration Data 00 LUNO Identify String Address a2 String LUNO Device ID String LUN1 Identify String Address String LUNT Device ID String Address Ox0E Reserved 3 Bus Powered Flag CF UDMA Enable 0 Fixed LUNs 2 1 Search ATA on VBUS 0 GPID EN 5 0 1 1 1 1 o o GPIO Data 5 0 1 1 fo 1 Read From Device Source Read From File Write To File
37. ddress Offset 0 0 0x1F7 Command 13 15 Reserved These bytes must be set to 0x00 for ATACB commands Document 001 05809 Rev A Page 17 of 42 Feedback mE CY7C68300C CY7C68301C CYPRESS CY7C68320C CY7C68321C PERFORM Operating Modes The different modes of operation and EEPROM information is not a valid mode of operation if no factory programming are presented in the following sections has been done If an EEPROM signature of 0x4D4D is found the Operational Mode Selection Flow CY7C68300C CY7C68301C uses the same pinout and During the power up sequence the AT2LP queries the I C bus EEPROM format as the CY7C68300A EZ USB AT2 for an EEPROM The AT2LP then selects a pinout configu it an EEPROM signature of 0x534B is found the AT2LP ration as shown below and checks to see if ARESET is uses the values stored in the EEPROM to configure the USB configured for Board Manufacturing Test Mode descriptors for normal operation e EEPROM is 5 12 uses the in If an EEPROM is detected but an invalid signature is read the factory programmable fused memory space See the AT2LP defaults into Board Manufacturing Test Mode Fused Memory Data on page 19 for more information This Figure 10 Operational Mode Selection Flow Check Bus ES No lt Found Signature 0x534B 22
38. eration 1 The ATACB operation is executed without polling the AltStat register Bit 1 DeviceSelectionOverride This bit determines when the device selection is performed in relation to the command register write accesses 0 Device selection is performed before command register write accesses 1 Device selection is performed following command register write accesses Bit 0 TaskFileRead This bit determines whether or not the taskfile register data selected in bnATACBRegisterSelect is returned If this bit is set the dCBWDoataTransferLength field must be set to 8 0 Execute ATACB command and data transfer if any 1 Only read taskfile registers selected bmATACBRegisterSelect and return Ox0Oh for all others The format of the 8 bytes of returned data is as follows Address offset 0x00 0x3F6 Alternate Status Address offset 0x01 0x1F1 Features Error Address offset 0x02 0x1F2 Sector Count Address offset 0x03 0x1F3 Sector Number Address offset 0x04 0x1F4 Cylinder Low Address offset 0x05 0x1F5 Cylinder High Address offset 0x06 0x1F6 Device Head Address offset 0x07 0x1F7 Command Status Documen t 001 05809 Rev A Page 16 of 42 Feedback Table 6 ATACB Field Descriptions continued PERFORM CY7C68300C CY7C68301C CY7C68320C CY7C68321C Byte Field Name Field Description 3 bmATACBRegisterSelect This field controls which of the task
39. file register read or write accesses occur Taskfile read data is always 8 bytes in length and unselected register data are returned as 0x00 Register accesses occur in sequential order as outlined below 0 to 7 Bit 0 Ox3F6 Device Control Alternate Status Bit 1 0x1F1 Features Error Bit 2 0x1F2 Sector Count Bit 0x1F3 Sector Number Bit 4 0x1F4 Cylinder Low Bit 5 0x1F5 Cylinder High Bit 6 0x1F6 Device Head Bit 7 0x1F7 Command Status bATACBTransferBlockCount This value indicates the maximum requested block size be in 512 byte incre ments This value must be set to the last value used for the Sectors per block in the SET MULTIPLE MODE command Legal values are 0 1 2 4 8 16 32 64 and 128 where 0 indicates 256 sectors per block A command failed status is returned if an illegal value is used in the ATACB 5 12 bATACBTaskFileWriteData These bytes contain ATA register data used with ATA command or PIO write operations Only registers selected in bmATACBRegisterSelect are required to hold valid data when accessed The registers are as follows ATACB Address Offset 0x05 Ox3F6 Device Control ATACB Address Offset 0x06 0x1F1 Features ATACB Address Offset 0x07 0x1F2 Sector Count ATACB Address Offset 0x08 0x1F3 Sector Number ATACB Address Offset 0x09 0x1F4 Cylinder Low ATACB Address Offset 0x0A 0x1F5 Cylinder High ATACB Address Offset OxOB 0x1F6 Device ATACB A
40. hannel Descriptor 0x91 bLength Length of this descriptor in bytes 0x09 0x92 bDescriptorType Channel descriptor type 0x22 0x93 bChannellD Number of the channel must be a zero based value that is 0x00 unique across the device 0x94 bmAttributes Bits7 5 0x01 Reserved Must be set to zero Bits 4 0 Document 001 05809 Rev A Page 29 of 42 Feedback CY7C68300C CY7C68301C CY7C68320C CY7C68321C Table 11 Configuration Data Organization continued Byte Configuration Configuration Required Variable Address Item Name Item Description Contents Contents 0x95 bRecipient Identifier of the target recipient 0x00 If Recipient type field of bmAttributes 1 then bRecipient field is the bInterfaceNumber If Recipient type field of bmAttributes 2 then bRecipient field is an endpoint address where D7 Direction 0 Out 1 IN 06 04 Reserved and set to zero D3 D0 Endpoint number 0x96 bRecipientAlt alternate setting for the interface to which this channel 0x00 applies 0x97 bRecipientLogicalUnit Recipient Logical Unit 0x00 0x98 bMethod Index of a class specific CSM descriptor That describes one 0x01 of the Content Security Methods CSM offered by the device 0x99 bMethodVariant CSM Variant descriptor 0x00 CSM Descriptor Ox9A bLength Byte length of this descriptor 0x06 Ox9B bDescriptorType CSM Descriptor type 0x23 0
41. he host If there is a HID descriptor in the configuration data the GPIO pins that are set as inputs are polled by the AT2LP logic approximately every 17 ms depending on other internal interrupt routines If a change is detected in the state of any HID enabled GPIO an HID report is sent through EP1 to the host The report format for byte 0 and byte 1 are shown in Table 5 The ability to add buttons to a mass storage solution opens new applications for data backup and other device side notifi cation to the host The AT2LP Blaster software found in the Table 5 HID Data Bitmap CY7C68300C CY7C68301C CY7C68320C CY7C68321C CY4615C files provides an easy way to enable and modify the HID features of the AT2LP GPIO pins can be individually set as inputs or outputs with byte 0x09 of the configuration data allowing for a mix of HID and general purpose outputs GPIOs that are not configured as inputs are reported with a value of 0 in the HID data The RESERVED bits values must be ignored and Cypress recom mends using a bitmask in software to filter out unused HID data Note that if using the 56 pin package the reported GPIO 5 3 values must be ignored because the pins are not actually present USB Interrupt Data Byte 1 USB Interrupt Data Byte 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 9 8 8 11 z LLI
42. inter to the start of a 24 byte ASCII 0x00 non Unicode string in the EEPROM that is used as the LUNO device identifier This string is used by many operating systems as the user visible name for the drive If this byte is 0x00 the Identify Device data from the drive is used instead 0x0C LUN1 Identify String This byte is a pointer to the start of a 24 byte ASCII 0x00 non Unicode string in the EEPROM that is used as the LUN1 device identifier This string is used by many operating systems as the user visible name for the drive If this byte is 0x00 the Identify Device data from the drive is used instead 0x0D Delay After Reset Number of 20 ms ticks to wait between AT2LP startup or 0x00 reset and the first attempt to access any drives OxOE Reserved Bits 7 5 0x00 Must be set to zero Bus Powered Flag Bit 4 Enable bus powered HDD support This bit enables the use of DRVPWRVLD features without reporting the LUNO device as removable media 0 2 LUNO is removable media or DRVPWRVLD is disabled 1 LUNO device is bus powered and non removable CF UDMA Enable Bit 3 Enable UDMA transfers for removable devices Some CF devices interfere with UDMA transfers when more than one drive is connected to the ATA bus 0 Do not use UDMA transfers with removable devices UDMA signals are not connected to the CF pins 1 Allow UDMA transfers to be used with removable devices UDMA signals are connected to the CF pins Fixed Number
43. is recommended that No Clean type 3 solder paste is used for mounting the part Nitrogen purge is recommended during reflow Figure 15 Cross Section of the Area Under the QFN Package 0 017 dia Solder Mask Cu Fill PCB Material Via hole for thermally connecting the QFN to the circuit board ground plane 0 013 dia lt Cu Fill PCB Material This figure only shows the top three layers of the circuit board Top Solder PCB Dielectric and the Ground Plane Figure 16 is a plot of solder mask pattern and Figure 17 displays an X Ray image of assembly darker areas indicate solder Figure 16 Plot of the Solder Mask White Area Other Design Considerations Certain design considerations must be followed to ensure proper operation of the CY7C68300C CY7C68301C The following items must be taken into account when designing a USB device with the CY7C68300C CY7C68301C Document 001 05809 Rev A Figure 17 X Ray Image of the Assembly Proper Power Up Sequence Power must be applied to the CY7C68300C CY7C68301C before or at the same time as the ATA ATAPI device If power is supplied to the drive first the CY7C68300C CY7C68301C startup in an undefined state Designs that utilize separate power supplies for the CY7C68300C CY7C68301C and the ATA ATAPI device are not recommended Page 40 of 42 Feedback PERFORM IDE Removable Media Devices The A
44. k H CYPRESS PERFORM Table 8 Example CfgCB CY7C68300C CY7C68301C CY7C68320C CY7C68321C Offset CfgCB Byte Descriptions Bits 7 6 5 4 3 2 1 0 0 bVSCBSignature set in configuration bytes 0 0 1 0 0 1 0 0 1 bVSCBSubCommand must be 0x26 0 0 1 0 0 1 1 0 2 Reserved must be set to zero 0 0 0 0 0 0 0 0 3 Data Source must be set to 0x02 0 0 0 0 0 0 1 0 4 Start Address LSB must be set to zero 0 0 0 0 0 0 0 0 5 Start Address MSB must be set to zero 0 0 0 0 0 0 0 0 6 15 Reserved must be set to zero 0 0 0 0 0 0 0 0 MfgCB Mfg read The mfg load and mfg read vendor specific commands are passed down through the bulk pipe in the CBWCB portion of the CBW The format of this MfgCB is shown as follows ByteO is a vendor specific command designator whose value is configurable and set in the AT2LP configuration data Byte 1 must be 0x27 to identify a MfgCB Bytes 2 through 15 are reserved and must be set to zero The data transfer length is determined by the CBW Data Transfer Length specified in bytes 8 through 11 dCBWDataTransferLength of the CBW The type and direction of the command is determined by the direction bit specified in byte 12 bit 7 bmCBWFlags of the CBW Table 9 Example MfgCB Offset MfgCB Byte Description Bits 765432110 0 10 bVSCBSignature 00111001000 set in configuration bytes 1 1 bVSCBSubCommand 01011
45. ls on page 15 for more details on HID functionality EP1 Data Byte 1 EP1 Data Byte 0 gt N RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED VBUS Powered o USB High Speed Document 001 05809 Rev A 7 6 5 4 3 2 1 0 amp qm 5 a i ul Page 12 of 42 Feedback PERFORM CY7C68300C CY7C68301C CY7C68320C CY7C68321C Figure 8 SYSIRQ Latching Algorithm USB Interrupt Pipe Polled Yes Int_Data 1 NAK Request Yes Return Interrupt Data Set Int_Data 0 DRVPWRVLD When this pin is enabled with bit 0 of configuration address 0x08 DRVPWRVLD Enable the AT2LP 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 AT2LP to be the IDE master device Only one removable device ma
46. mand Block CBWCB portion of the Command Block Wrapper CBW The ATACB is distinguished from other command blocks by having the first two bytes of the command block match the bVSCBSignature and bVSCBSubCommand values that are defined in Table 6 Only command blocks that have a valid bVSCBSignature and bVSCBSubCommand are interpreted as ATA Command Blocks All other fields of the CBW and restrictions on the CBWCB remain as defined in the USB Mass Storage Class Bulk Only Transport Specification The ATACB must be 16 bytes in length The following table and text defines the fields of the ATACB Page 15 of 42 Feedback Table 6 PERFORM ATACB Field Descriptions CY7C68300C CY7C68301C CY7C68320C CY7C68321C Byte Field Name Field Description 0 bVSCBSignature This field indicates to the CY7C68300C CY7C68301C that the ATACB contains a vendor specific command block This value of this field must match the value in EEPROM address 0x04 for the command to be recognized as a vendor specific ATACB command bVSCBSubCommand This field must be set to 0x24 for ATACB commands bmATACBActionSelect This field controls the execution of the ATACB according to the bitfield values Bit 7 IdentifyPacketDevice This bit indicates that the data phase of the command contains ATAPI 0xA1 or ATA OxEC IDENTIFY device data Setting IdentifyPacketDevice when the data phase does not contain IDENTIFY devi
47. o 256 bytes of EEPROM data LOAD CONFIG DATA This request enables writes to the AT2LP s configuration data space The windex field specifies the starting address and the wLength field denotes the data length in bytes Document 001 05809 Rev A Page 33 of 42 Feedback t CY7C68300C CY7C68301C 1 0 0 03 303 CYICBGBS2UC CYTCOB321C PERFORM Legal values for wValue are as follows 0x0000 Internal Config bytes address range 0 2 OxF 0x0002 External 12 memory device Internal Config byte writes must be constrained to addresses 0x2 through OxF as shown in Table 12 Attempts to write outside this address space result in undefined operation Internal Config byte writes only overwrite AT2LP Configuration Byte registers the original data source memory device remains unchanged Table 12 EEPROM related Vendor specific Commands Label bmRequestType bRequest wValue windex wLength Data LOAD_CONFIG_DATA 0x40 0x01 0x0000 30 02 0xOF Data Length Configuration Data READ_CONFIG_DATA 0xCO 0x02 Data Source Starting Address Data Length Configuration Data READ CONFIG DATA This USB request allows data retrieval from the data source specified by the wValue field Data is retrieved beginning at the address specified by the windex field see Table 12 The wLength field denotes the length in bytes of data requested from the data source Legal values for wValue are as follow
48. o become button inputs returned on bits 2 1 and 0 of EP1IN This bit must be set to 0 if the 56 pin packages are used 0 Disable button mode 1 Enable button mode SEARCH ATA BUS Bit 6 Search ATA bus after RESET to detect non removable ATA and ATAPI devices Systems with only a removable device like CF readers must set this bit to 0 Systems with at least one non removable device must set this bit to 1 0 Do not search for ATA devices 1 Search for ATA devices BIG_PACKAGE Bit 5 Selects the 100 or 56 pin package pinout configuration Using the wrong pinout may result in unpredictable behavior 0 Use 56 pin package pinout 1 Use 100 pin package pinout ATA_EN Bit 4 Drive ATA bus when AT2LP is in suspend For designs in which the ATA bus is shared between the AT2LP and another ATA master such as an MP3 player the AT2LP can place the ATA interface pins in a Hi Z state when it enters suspend For designs that do not share the ATA bus the ATA signals must be driven while the AT2LP is in suspend to avoid floating signals 0 Drive ATA signals when AT2LP is in suspend 1 Set ATA signals to Hi Z when AT2LP is in suspend Reserved Bit 3 Reserved This bit must be set to 0 Reserved Bit 2 Reserved This bit must be set to 0 Drive Power Valid Polarity Bit 1 Configure the logical polarity of the DRVPWRVLD input pin 0 Active LOW connector ground indication 1 Active
49. of Logical Bits 2 1 Assume the presence of devices and do not perform a search of the ATA bus to discover the number of LUNs 00 Search ATA bus and determine number of LUNs 01 Assume only LUNO present no ATA bus search 10 Assume LUNO and LUN1 present no ATA bus search 11 Assume LUNO and LUN1 present no ATA bus search Search ATA on VBUS Bit 0 Search for ATA devices when VBUS returns If this bit is set the ATA bus is searched for ATA devices every time VBUS ATA ENABLE is asserted This feature allows the AT2LP to be used in designs where the drive may be physi cally removed like docking stations or port replicators 0 Search ATA bus on VBUS ATA ENABLE assertion 1 No ATA bus search on VBUS ATA ENABLE assertion OxOF Reserved Must be set to 0x00 0x00 Device Descriptor 0x10 bLength Length of device descriptor in bytes 0x12 0x11 bDescriptor Type Descriptor type 0x01 Document 001 05809 Rev A Page 25 of 42 Feedback CY7C68300C CY7C68301C CY7C68320C CY7C68321C Table 11 Configuration Data Organization continued Byte Configuration Configuration Required Variable Address Item Name Item Description Conients Contents 0x12 bcdUSB LSB USB Specification release number in BCD 0x00 0x13 bcdUSB MSB 0x02 0x14 bDeviceClass Device class 0x00 0x15 bDeviceSubCl
50. on Data Organization continued Byte Configuration Configuration Required Variable Address Item Name Item Description Conients Contents 0 5 bString Unicode character LSB 0x20 OxB6 bString Unicode character MSB 0x00 0 7 bString Unicode character LSB S 0x53 OxB8 bString Unicode character MSB 0x00 0 9 bString Unicode character LSB e 0x65 bString Unicode character MSB 0x00 OxBB bString Unicode character LSB m 0 60 OxBC bString Unicode character MSB 0x00 OxBD bString Unicode character LSB l 0x69 OxBE bString Unicode character MSB 0x00 bSting JUnicodechaacterlSB i 083 0xCO bString Unicode character MSB 0x00 OxC1 bString Unicode character LSB o OxX6F 0xC2 bString Unicode character MSB 0x00 0xC3 bString Unicode character LSB n Ox6E 0xC4 bString Unicode character MSB 0x00 0xC5 bString Unicode character LSB d 0x64 0xC6 bString Unicode character MSB 0x00 0 7 bString Unicode character LSB u 0x75 0xC8 bString Unicode character MSB 0x00 0xC9 bString Unicode character LSB c 0x63 OxCA bString Unicode character MSB 0x00 OxCB bString Unicode character LSB 0x74 0xCC bString Unicode character MSB 0x00 OxCD bString Unicode character LSB o 0 6 OxCE bString Unicode character MSB 0x00 OxCF bString Unicode character LSB 0x72 0 0 bString Unicode characte
51. or specific commands are passed down through the bulk pipe in the CBWCB portion of the CBW The format of this CfgCB is shown below Byte 0 is a vendor specific command designator whose value is config urable and set in the configuration data address 0x04 Byte 1 must be set to 0x26 to identify it as a CfgCB command Byte2 is reserved and must be set to zero Byte 3 is used to determine the memory source to write read For the AT2LP this byte must be set to 0x02 indicating the EEPROM is present Bytes 4 and 5 are used to determine the start address which must always be 0x0000 Bytes 6 through 15 are reserved and must be set to zero The data transferred to the EEPROM must be in the format specified in Table 11 of this data sheet Maximum data transfer size is 255 bytes The data transfer length is determined by the CBW Data Transfer Length specified in bytes 8 through 11 dCBWDataTransferLength of the CBW refer to Table 7 The type direction of the command is determined by the direction bit specified in byte 12 bit 7 omCBWFlags of the CBW refer to Table 7 Bits Offset 7 6 5 4 3 2 1 0 0 3 DCBWSignature c 8 11 08h 0Bh dCBWDataTransferLength 12 0Ch bwCBWFLAGS Dir Obsolete Reserved 0 13 00 Reserved 0 bCBWLUN 14 OEh Reserved 0 bCBWCBLength 15 30 OFh1Eh CBWCB CfgCB or MfgCB Document 001 05809 Rev A Page 19 of 42 Feedbac
52. orre sponding 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 Page 13 of 42 Feedback PERFORM interface and the attached mass storage device especially if Ultra DMA Mode is used VBUS_ATA_ENABLE VBUS_ATA_ENABLE is typically used to indicate to the AT2LP that power is present on VBUS This pin is polled by the AT2LP at startup and then every 20 ms thereafter If this pin is 0 the AT2LP releases the pull up on D as required by the USB specification Also if bit 4 of configuration address 0x08 is 1 the ATA interface pins are placed a Hi Z state when VBUS_ATA_ENABLE is 0 If bit 4 of configuration address 0x08 is 0 the ATA interface pins are still driven when VBUS_ATA_ENABLE is 0 ATAPUEN This output can be used to control the required host pull up resistors on the ATA interface in a bus powered design to minimize unnecessary power consumption when
53. ot exist 0x33 bmAttributes Device attributes for this configuration 0xCO Bit 7 Reserved Must be set to 1 Bit 6 Self powered See Table 4 for reported value Bit 5 Remote wakeup Must be set to 0 Bits 4 0 Reserved Must be set to 0 0x34 bMaxPower Maximum power consumption for this configuration Units 0x01 used are 2 i e 0x31 98 mA OxF9 498 mA The value entered here is only used by the 56 pin packages and affectthe reported value of bit 6 of address 0x33 in that case See Table 4 on page 14 for a description of what value is reported to the host by the AT2LP Interface and Endpoint Descriptors Interface Descriptor 0x35 bLength Length of interface descriptor in bytes 0x09 0x36 bDescriptorType Descriptor type 0x04 0x37 bInterfaceNumber Interface number 0x00 0x38 bAlternateSetting Alternate setting 0x00 0x39 bNumEndpoints Number of endpoints 0x02 Ox3A binterfaceClass Interface class 0x08 Ox3B binterfaceSubClass Interface subclass 0x06 0x3C binterfaceProtocol Interface protocol 0x50 Ox3D ilnterface Index to first interface string This entry must equal half of 0x00 the address value where the string starts or 0x00 if the string does not exist USB Bulk Out Enapoint Ox3E bLength Length of this descriptor in bytes 0x07 Ox3F bDescriptorType Endpoint descriptor type 0x05 0x40 bEndpointAddress This is an Out endpoint endpoint number 2 0x02 0x41 bmAttributes This is a bulk endpoint 0x02 0x42 wMaxPacketSize LSB Max data transfer size
54. ptors see Table 4 Note that current USB host drivers do not poll the device for this information so the effect of this pin is only seen on a USB or power on reset Table 4 Behavior of Descriptor Data that is Dependent Upon VBUSPWRD State Pin VBUSPWRD 1 VBUSPWRD 0 VBUSPWRD N A 56 pin bMaxPower OxFA 0x01 The value from configuration Reported Value 500 mA 2 mA address 0x34 is used bmAttributes bit 6 T 0 if bMaxPower gt 0x01 Reported Value bus powered self powered 1 if bMaxPower lt 0x01 RESET Asserting RESET for 10 ms resets the entire AT2LP In self powered designs this pin is normally tied to through a 100k resistor and to GND through a 0 1 uF capacitor as shown in Figure 9 Cypress does not recommend an RC reset circuit for bus powered devices because of the potential for VBUS voltage drop which may result in a startup time that exceeds the USB limit Refer to the application note titled EZ USB FX2 AT2 SX2 Reset and Power Considerations at www cypress com for more information While the AT2LP is in reset all pins are held at their default startup state Document 001 05809 Rev A Figure 9 R C Reset Circuit for Self powered Designs 100KQ RESET 0 1pF Page 14 of 42 PERFORM HID Functions for Button Controls Cypress s CY7C68320C CY7C68321C has the capability of supporting Human Interface Device HID signaling to t
55. puts can be enabled on ATAPUEN PWR500 and DRVPWRVLD with EEPROM byte 8 bit 7 on CY7C68320C CY7C68321C Document 001 05809 Rev A Page 36 of 42 Feedback L ER m CYPRESS PERFORM gt Package Diagrams Figure 12 100 Pin Thin Plastic Quad Flatpack 14 x 20 x 1 4 mm A101 16 00 0 20 14 00 0 10 80 0 30 0 08 g 3H H 8 8 N N 0 65 TYP 30 51 31 50 R 0 08 MIN 0 20 0 MIN STAND OFF 0 05 MIN 0 25 d 0 15 MAX GAUGEPLANE J R 0 08 MIN 057 020 MAX 0 60 0 15 020 MIN 1 00 REF DETAIL Document 001 05809 Rev A CY7C68300C CY7C68301C CY7C68320C CY7C68321C 1 1 40 0 05 SEE DETAIL A 0 20 MAX 1 60 MAX S SEATING PLANE zl d 1 STD REF MS 026 2 BODY LENGTH DIMENSION DOES NOT INCLUDE MOLD PROTRUSION END FLASH MOLD PROTRUSION END FLASH SHALL NOT EXCEED 0 0098 in 0 25 mm PER SIDE BODY LENGTH DIMENSIONS ARE MAX PLASTIC BODY SIZE INCLUDING MOLD MISMATCH NOTE 3 DIMENSIONS IN MILLIMETERS 51 85050 Page 37 of 42 CY7C68300C CY7C68301C CY7C68320C CY7C68321C Package Diagrams continued Figure 13 56 lead Shrunk Small Outline Package 056 DIMENSIONS IN INCHES MIN
56. r MSB 0x00 USB String Descriptor Product OxD1 bLength String descriptor length in bytes including bLength 0 2 0 2 bDescriptorType Descriptor type 0x03 0xD3 bString Unicode character LSB 0x55 0 04 bString Unicode character MSB 0x00 OxD5 bString Unicode character LSB S 0x53 0xD6 bString Unicode character MSB 0x00 0 07 bString Unicode character LSB 0x42 0xD8 bString Unicode character MSB 0x00 OxD9 bString Unicode character LSB 2 0x32 OxDA bString Unicode character MSB 0x00 OxDB bString Unicode character LSB Ox2E OxDC bString Unicode character MSB 0x00 OxDD bString Unicode character LSB 0 0x30 OxDE bString Unicode character MSB 0x00 Document 001 05809 Rev A Page 31 of 42 Feedback CY7C68300C CY7C68301C CY7C68320C CY7C68321C Table 11 Configuration Data Organization continued Byte Configuration Configuration Required Variable Address Item Name Item Description Conients Contents OxDF bString Unicode character LSB 0x20 OxEO bString Unicode character MSB 0x00 OxE1 bString Unicode character LSB D 0x53 OxE2 bString Unicode character MSB 0x00 OxES bString Unicode character LSB T 0x74 OxE4 bString Unicode character MSB 0x00 OxE5 bString Unicode character LSB s Ox6F OxE6 bString Unicode character MSB 0x00 OxE7 bString Unicode character LSB 0x72 OxE8 bString Unicode character MSB 0x00 USB String Descriptor Serial Number Note The USB Mass Storage Clas
57. s 0x0000 Configuration bytes addresses 0x0 OxF only 0x0002 External IC memory device Illegal values for wValue result in an undefined operation Attempted reads from an 12 memory device when none is connected result in an undefined operation Attempts to read configuration bytes with starting addresses greater than OxF also result in an undefined operation Document 001 05809 Rev A Page 34 of 42 Feedback CY7C68300C CY7C68301C CY7C68320C CY7C68321C CYPRESS CYPRESS PERFORM Absolute Maximum Ratings Storage Temp6ratif e 2 ne eee th i rA Ree ada eade a Ra Re aaa as Erai 65 C to 150 C Ambient Temperature with Power 0 C to 70 C Supply Voltage to Ground nnne nnne tenen rennen innen nnne nnne 0 5 V to 4 0 V DG Input Voltage to Any Input E 5 25 V DC Voltage Applied to Outputs in Hi Z State nennen nennen 0 5 V to Vcc 0 5 V Power IDISSID AON mc D 300 mW Static Discharge gt 2000 V Max Output Current IO Port 00 07 08 15 ATA control nennen nnne 10 mA Operating Conditions
58. s specification requires a unique serial number in each device If you do not provide a unique serial number the operating system may crash The serial number must be at least 12 characters but some USB hosts only use the least significant 12 characters of the serial number as a unique identifier OxE9 bLength String descriptor length in bytes including bLength 0x22 OxEA bDescriptor Type Descriptor type 0x03 OXEB bString Unicode character LSB 1 0x31 OXEC bString Unicode character MSB 0x00 OXED bString Unicode character LSB 2 0x32 OXEE bString Unicode character MSB 0x00 OXEF bString Unicode character LSB S 0x33 OXFO bString Unicode character MSB 0x00 OxF1 bString Unicode character LSB 7 0x34 OxF2 bString Unicode character MSB 0x00 OxF3 bString Unicode character LSB 5 0x35 OxF4 bString Unicode character MSB 0x00 OxF5 bString Unicode character LSB 6 0x36 OxF6 bString Unicode character MSB 0x00 OxF7 bString Unicode character LSB 7 0x37 OxF8 bString Unicode character MSB 0x00 OxF9 bString Unicode character LSB 8 0x38 OxFA bString Unicode character MSB 0x00 OxFB bString Unicode character LSB 9 0x39 OxFC bString Unicode character MSB 0x00 OxFD bString Unicode character LSB 0 0x30 OxFE bString Unicode character MSB 0x00 OxFF bString Unicode character LSB A 0x41 OXxx bString Unicode character MSB 0x00 OXxx bString Unicode character LSB 0x42 OXxx b
59. t 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 Read EEPROM EEPROM Signature 0x4D4D Yes Y Set Set EZ USB AT2 EZ USB AT2LP CY7C68300A CY7C68300B Pinout Pinout Normal Operation Page 2 of 42 m CY7C68300C CY7C68301C CYPRESS CY7C68320C CY7C68321C PERFORM 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 Figure 2 56 pin SSOP Pinout CY7C68300C CY7C68301C only 12 se 2 0014 0011 55 2015 DD10 54 4 GND 09 53 5 ATAPUEN GND 08 52 e vcc ATA EN VBUS ATA ENABLE 5 vec so 8 IORDY RESET 49 9 DMARQ GND 48 10 avcc ARESET XTALOUT 46 14 vcc DRVPWRVLD brus EZ USB AT2LP DMINUS DAO 41 CY7C68300C ws P 56 pin SSOP
60. ternal EEPROM or fused memory space A unique serial number is required for Mass Storage Class Bulk Only Transport compliance which is one reason why an EEPROM or factory programmed part is needed Board Manufacturing Test Mode In Board Manufacturing Test Mode the AT2LP behaves as a USB 2 0 device but the ATA ATAPI interface is not fully active This mode must not be used for mass storage operation in a finished design In this mode the AT2LP allows for reading from and writing to the EEPROM and for board level testing through vendor specific ATAPI commands utilizing the CBW Command Block as described in the USB Mass Storage Class Bulk Only Transport Specification There is a vendor specific Table 7 Command Block Wrapper CY7C68300C CY7C68301C CY7C68320C CY7C68321C ATAPI command for EEPROM accesses CfgCB and one for board level testing MfgCB as described in the following sections There is a convenient method available for starting the AT2LP in Board Manufacturing Test Mode to allow reprogramming of EEPROMs without a mass storage device attached If the ATA Reset ARESET line is LOW on power up the AT2LP enters Board Manufacturing Test Mode It is recommended that a 10k resistor be used to pull ARESET to LOW An easy way to pull the ARESET line LOW is to short pins 1 and 3 on the 40 pin ATA connector with a 10k resistor that ties the ARESET line to the required pull down on DD7 CfgCB The cfg_load and cfg_read vend
61. the AT2LP is in suspend ATAPUEN is driven to 0 when the ATA bus is inactive ATAPUEN is driven to 1 when the ATA bus is active ATAPUEN is set to a Hi Z state along with all other ATA interface pins if VBUS ATA ENABLE is deasserted and the ATA EN functionality bit 4 of configuration address 0x08 is enabled 0 ATAPUEN can also be configured as a GPIO input See HID Functions for Button Controls on page 15 for more infor mation on HID functionality CY7C68300C CY7C68301C CY7C68320C CY7C68321C PWR500 The AT2LP asserts PWR500 to indicate that VBUS current may be drawn up to the limit specified by the bMaxPower field of the USB configuration descriptors If the AT2LP enters a low power state PWR500 is deasserted When normal operation is resumed PWR500 is restored The PWR500 pin must never be used to control power sources for the AT2LP In the 56 pin package PWR500 only functions during bus powered operation PWR500 can also be configured as a GPIO input See HID Functions for Button Controls on page 15 for more infor mation on HID functionality VBUSPWRD VBUSPWRD is used to indicate self or bus powered operation Some designs require the ability to operate in either self or bus powered modes The VBUSPWRD input pin enables these devices to switch between self powered and bus powered modes by changing the contents of the bMaxPower field and the self powered bit in the reported configuration descri
62. ts for the 56 pin SSOP 56 pin packages For information on the CY7C68300A pinout refer to the CY7C68300A data sheet that is found in the EZ USB QFN and 100 pin TQFP package options for the AT2LP Refer to the Pin Diagrams on page 3 for differences between the AT2 folder of the CY4615C reference design kit CD Table 1 AT2LP Pin Descriptions Note Italic pin names denote pin functionality during CY7C68300A compatibility mode 100 56 56 Pin Default State nn QFN SSOP Pin Name Type at Startup Pin Description 1 55 6 Voc PWR Vcc Connect to 3 3V power source 2 56 7 GND GND Ground 3 1 8 IORDY 7 Input ATA control Apply a 1k pull up to 3 3V 4 2 9 DMARQ m Input ATA control 5 N A N A GND Ground 6 7 8 9 3 10 AVcc PWR Analog Vcc Connect to through the shortest path possible 10 4 11 XTALOUT Xtal Xtal 24 MHz crystal output See XTALIN XTALOUT on page 11 11 5 12 XTALIN Xtal Xtal 24 MHz crystal input See XTALIN XTALOUT on page 11 12 6 13 AGND GND Analog ground Connect to ground with as short a path as possible 13 N A N A NC No connect 14 15 16 7 14 Voc PWR Vcc Connect to 3 3V power source 17 8 15 DPLUS IO Hi Z USB D signal See DPLUS DMINUS on page 11 18 9 16 DMINUS IO Hi Z USB D signal See DPLUS DMINUS on page 11 19 10 17 GND GND Ground 20 11
63. ubClass Sub Sub class 0x00 0x54 ilnterface Index of string descriptor 0x00 USB Interrupt In Endpoint Ox5E bLength Length of this descriptor in bytes 0x07 Ox5F bDescriptorType Endpoint descriptor type 0x05 0x60 bEndpointAddress This is an In endpoint endpoint number 1 0x81 0x61 bmAttributes This is an interrupt endpoint 0x03 0x62 wMaxPacketSize LSB Max data transfer size 0x02 0x63 wMaxPacketSize MSB 0x00 0x64 bInterval Interval for polling max NAK rate 0x10 Optional HID Descriptor 0x55 bLength Length of HID descriptor 0x09 0x56 bDescriptorType Descriptor Type HID 0x21 0x57 bcdHID LSB HID Class Specification release number 1 10 0x10 0x58 bcdHID MSB 0x01 0x59 bCountryCode Country Code 0x00 Ox5A bNumDescriptors Number of class descriptors 1 report descriptor 0x01 0x5B bDescriptorType Descriptor Type 0x22 0x5C wDescriptorLength LSB Length of HID report descriptor 0x22 0x5D wDescriptorLength MSB 0x00 Terminator Descriptors 0x65 Terminator 0x00 Optional HID Report Descriptor 0x66 Usage Page Vendor defined 0x06 0x67 0 0 0x68 OxFF 0x69 Usage Vendor defined 0x09 0x6A 0xA5 0 6 Collection Application OxA1 0 6 0 01 0 6 Usage Vendor defined 0x09 Ox6E OxA6 Input Report Ox6F Usage Vendor defined 0x09 0x70 OxA7 0x71 Logical_Minimum 128 0 15 0x72 0x80 0x73 Logical_Maximum 127 0x25 0x74 0 7 Document 001 05809 Rev 28 of 42 Feedback CY7C68300C CY7C68301C CY7C68320C CY7C68321C Table 11
64. vice name byte 17 ASCII Character a 0x61 OXxx Device name byte 18 ASCII Character m 0x6d OXxx Device name byte 19 ASCII Character e 0x65 OXxx Device name byte 20 ASCII Character 0x20 OXxx Device name byte 21 ASCII Character 1 0 4 OXxx Device name byte 22 ASCII Character U 0x55 OXxx Device name byte 23 ASCII Character N 0 4 OXxx Device name byte 24 ASCII Character 0 0x30 OXxx Unused ROM Space Amount of unused ROM space varies depending on strings OxFF Note More than 0X100 bytes of configuration are shown for example only The AT2LP only supports addresses up to OxFF Programming the EEPROM There are three methods of programming the EEPROM Stand alone EEPROM programmer Vendor specific USB commands listed in Table 12 In system programming for example bed of nails tester Any vendor specific USB write request to the Serial ROM device configuration space simultaneously update internal configuration register values as well If the C device is programmed without vendor specific USB commands the AT2LP must be synchro nously reset toggle RESET before configuration data is reloaded The AT2LP supports a subset of the slow mode specification 100 KHz required for 24LCXXB EEPROM family device support Features such as Multi Master Clock Synchronization the SCL pin is output only 10 bit addressing and CBUS device support are not supported Vendor specific USB commands allow the AT2LP to address up t
65. x9C bMethodID Index of a class specific CSM descriptor that describes on 0x01 of the Content Security Methods offered by the device Ox9D iCSMDescriptor Index of string descriptor that describes the Content Security 0x00 Method Ox9E bcdVersion LSB CSM Descriptor Version number 0x10 Ox9F bcsVersion MSB 0x02 0 0 Terminator 0x00 USB String Descriptor Index 0 LANGID OxA1 bLength LANGID string descriptor length in bytes 0x04 0 2 bDescriptorType Descriptor type 0x03 0 LANGID LSB Language supported The CY7C68300B supports one 0x09 4 LANGID MSB LANGID value 0x04 USB String Descriptor Manufacturer 0xA5 bLength String descriptor length in bytes including bLength 0 2 OxA6 bDescriptorType Descriptor type 0x03 OxA7 bString Unicode character LSB C 0x43 0 8 bString Unicode character MSB 0x00 0 9 bString Unicode character LSB y 0x79 OxAA bString Unicode character MSB 0x00 OxAB bString Unicode character LSB p 0x70 OxAC bString Unicode character MSB 0x00 OxAD bString Unicode character LSB 0x72 OxAE bString Unicode character MSB 0x00 OxAF bString Unicode character LSB e 0x65 OxBO bString Unicode character MSB 0x00 OxB1 bString Unicode character LSB 5 0x73 0 2 bString Unicode character MSB 0x00 OxB3 bString Unicode character LSB s 0x73 0 4 bString Unicode character MSB 0x00 Document 001 05809 Rev A Page 30 of 42 Feedback CY7C68300C CY7C68301C CY7C68320C CY7C68321C Table 11 Configurati
66. y be attached to the AT2LP If the system only contains a removable device bit 6 of configuration address 0x08 Search ATA Bus must be set to 0 to disable ATA 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 and output interface There are several different interfaces to the GPIO pins Configuration bytes 0x09 and Ox0A contain the default settings for the GPIO pins upon initial AT2LP configuration Document 001 05809 Rev A ox Yes Latch State of IO Pins Set Int_Data 1 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 LOWPWRi 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 c
Download Pdf Manuals
Related Search
Related Contents
Osram 76125 LED lamp Samsung series 510 User's Manual JZZ30 SOARER マイナー前 Gard News Issue No. 207 - (全記事) HP Photosmart 618 Digital Camera User's Manual s H p 1. Pulse des veces Æ para berrar cualquier instrucciôn y el User Manual - produktinfo.conrad.com ISTRUZIONI PER L`USO - Pdfstream.manualsonline.com Copyright © All rights reserved.
Failed to retrieve file