0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
CY7C68300C-56PVXC

CY7C68300C-56PVXC

  • 厂商:

    CYPRESS(赛普拉斯)

  • 封装:

    56-BSSOP(0.295",7.50mm宽)

  • 描述:

    IC USB 2.0 BRIDGE AT2LP 56-SSOP

  • 数据手册
  • 价格&库存
CY7C68300C-56PVXC 数据手册
Please note that Cypress is an Infineon Technologies Company. The document following this cover page is marked as “Cypress” document as this is the company that originally developed the product. Please note that Infineon will continue to offer the product to new and existing customers as part of the Infineon product portfolio. Continuity of document content The fact that Infineon offers the following product as part of the Infineon product portfolio does not lead to any changes to this document. Future revisions will occur when appropriate, and any changes will be set out on the document history page. Continuity of ordering part numbers Infineon continues to support existing part numbers. Please continue to use the ordering part numbers listed in the datasheet for ordering. www.infineon.com CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C EZ-USB AT2LP™ USB 2.0 to ATA/ATAPI Bridge EZ-USB AT2LP™ USB 2.0 to ATA/ATAPI Bridge Features ■ Supports Board-level Manufacturing Test using the USB I/F ■ Fixed Function Mass Storage Device - Requires no Firmware ■ ■ Two Power Modes: Self Powered and USB Bus Powered to enable Bus Powered CF (CompactFlash) Readers and Truly Portable USB Hard Drives Places the ATA Interface in High Impedance (High Z) to enable Sharing of the ATA Bus with another Controller such as an IEEE-1394 to ATA Bridge Chip or MP3 Decoder) ■ Low Power 3.3 V 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 ■ 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 Features (CY7C68320C/CY7C68321C only) ■ Complies with ATA/ATAPI-6 Specification ■ ■ Supports 48-bit Addressing for Large Hard Drives Supports HID Interface or Custom GPIOs to enable features such as Single Button Backup, Power Off, and LED-based Notification ■ Supports ATA Security Features ■ 56-pin QFN and 100-pin TQFP Pb-free Packages ■ Supports any ATA Command with the ATACB Function ■ CY7C68321C is Ideal for Battery Powered Designs ■ Supports Mode for BIOS Boot Support ■ CY7C68320C is Ideal for Self and Bus Powered Designs ■ Supports ATAPI Serial Number VPD Page Retrieval for Digital Rights Management (DRM) Compatibility ■ Automotive AEC Grade Option (–40 °C to 85 °C) ■ Supports PIO Modes 0, 3, and 4, Multiword DMA Mode 2, and UDMA Modes 2, 3, and 4 ■ Pin Compatible with Compatibility Mode) ■ Uses One Small External Serial EEPROM for Storage of USB Descriptors and Device Configuration Data ■ 56-pin SSOP and 56-pin QFN Pb-free Packages ■ ATA Interface IRQ Signal Support ■ CY7C68301C is Ideal for Battery Powered Designs ■ Supports one or two ATA/ATAPI Devices ■ CY7C68300C is Ideal for Self and Bus Powered Designs ■ Supports CompactFlash and one ATA/ATAPI Device Features (CY7C68300C/CY7C68301C only) CY7C68300A (using Backward Errata: For information on silicon errata, see “Errata” on page 44. Details include trigger conditions, devices affected, and proposed workaround. Cypress Semiconductor Corporation Document Number: 001-05809 Rev. *Q • 198 Champion Court • San Jose, CA 95134-1709 • 408-943-2600 Revised May 2, 2019 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Logic Block Diagram SDA 24 MHz XTAL I2C Bus Master Reset SCL Misc control signals and GPIO PLL ATA 3-state Control Internal Control Logic ATA Interface Control Signals Control ATA Interface Logic USB VBUS D+ D- USB 2.0 Tranceiver CY Smart USB FS/HS Engine 4 kByte FIFO Data 16 Bit ATA Data Applications ■ ATA/ATAPI master only The CY7C68300C/301C and CY7C68320C/321C implement a USB 2.0 bridge for all ATA/ATAPI-6 compliant mass storage devices, such as the following: ■ ATA/ATAPI slave only ■ ATA/ATAPI master and ATA/ATAPI slave ■ CompactFlash only ■ ATA/ATAPI slave and CompactFlash or other removable IDE master ■ Hard Drives ■ CD-ROM, CD-R/W ■ DVD-ROM, DVD-RAM, DVD±R/W ■ MP3 Players ■ Personal Media Players ■ CY4615B EZ-USB AT2LP Reference Design Kit ■ CompactFlash ■ USB Specification Version 2.0 ■ ATA Specification T13/1410D Revision 3B ■ USB Mass Storage Class Bulk-Only Transport Specification http://www.usb.org/developers/devclass_docs/usbmassbulk_10.pdf ■ Microdrives ■ Tape Drives ■ Personal Video Recorders ■ Automotive Applications Additional Resources The CY7C68300C/301C and CY7C68320C/321A support one or two devices in the following configurations: Document Number: 001-05809 Rev. *Q Page 2 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Contents Introduction ....................................................................... 4 CY7C68300A Compatibility .............................................. 4 Pin Diagrams ..................................................................... 5 Pin Descriptions ............................................................... 9 Additional Pin Descriptions ........................................ 13 HID Functions for Button Controls ............................... 16 Functional Overview ...................................................... 16 USB Signaling Speed ................................................ 16 ATA Interface ............................................................ 16 Operating Modes ............................................................ 19 Operational Mode Selection Flow ............................. 19 Fused Memory Data .................................................. 20 Normal Mass Storage Mode ...................................... 20 Board Manufacturing Test Mode ............................... 20 EEPROM Organization ............................................. 22 Programming the EEPROM ...................................... 35 Absolute Maximum Ratings .......................................... 36 Operating Conditions ..................................................... 36 DC Characteristics ......................................................... 36 AC Electrical Characteristics ........................................ 37 ATA Timing Characteristics ....................................... 37 USB Transceiver Characteristics .............................. 37 Ordering Information ...................................................... 37 Ordering Code Definitions ......................................... 37 Document Number: 001-05809 Rev. *Q Package Diagrams .......................................................... 38 General PCB Layout Recommendations for USB Mass Storage Designs ..................................... 41 Quad Flat Package No Leads (QFN) Package Design Notes ................................................................... 41 Other Design Considerations ........................................ 42 Proper Power-Up Sequence ..................................... 42 IDE Removable Media Devices ................................. 42 Devices With Small Buffers ....................................... 42 Acronyms ........................................................................ 43 Document Conventions ................................................. 43 Units of Measure ....................................................... 43 Errata ............................................................................... 44 Part Numbers Affected .............................................. 44 AT2LP Qualification Status ....................................... 44 AT2LP Errata Summary ............................................ 44 Document History Page ................................................. 45 Sales, Solutions, and Legal Information ...................... 47 Worldwide Sales and Design Support ....................... 47 Products .................................................................... 47 PSoC® Solutions ...................................................... 47 Cypress Developer Community ................................. 47 Technical Support ..................................................... 47 Page 3 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C 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 CY7C68300C/301C and CY7C68320C/321C (AT2LP) is 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 kbyte buffer maximizes ATA/ATAPI data transfer rates by minimizing losses due to device seek times. The ATA interface supports ATA PIO modes 0, 3 [1], 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 in the previous section, the CY7C68300C/301C contains a backward compatibility mode that enables 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 I2C bus for an EEPROM with a valid signature in the first two bytes. If the signature is 0x4D4D, 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. 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 Read EEPROM EEPROM Signature 0x4D4D? No Yes Set EZ-USB AT2 (CY7C68300A) Pinout Set EZ-USB AT2LP (CY7C68300B) Pinout Normal Operation Note 1. Errata: The ATA/ATAPI-6 standard specifies the data recovery timings for each of the Read (DIOR)/Write (DIOW) data transfer modes such as PIO mode-0, 1, 2, 3, 4. As per the standard for PIO mode-3 this timing value is 70 ns. In AT2LP the actual value measured is out of spec limits. Please refer to “Errata” on page 44 for details and workaround. Document Number: 001-05809 Rev. *Q Page 4 of 47 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 is available in 56-pin SSOP and QFN package types and CY7C68301C is available in QFN package to ensure backward compatibility with CY7C68300A designs. Figure 2. 56-pin SSOP Pinout (CY7C68300C only) 1 DD13 DD12 56 2 DD14 DD11 55 3 DD15 DD10 54 4 GND DD9 53 5 ATAPUEN (GND) DD8 52 6 VCC ( ATA_EN ) VBUS_ ATA_ENABLE 51 7 GND VCC 50 8 IORDY RESET# 49 GND 48 ARESET# 47 ( VBUS_ PWR_ VALID ) DA2 46 CS1# 45 9 DMARQ 10 AVCC 11 XTALOUT 12 XTALIN 13 AGND 14 VCC 15 16 CS0# 44 (DA2 ) DRVPWRVLD 43 DPLUS DA1 42 DMINUS DA0 41 17 GND INTRQ 40 18 VCC VCC 39 19 GND DMACK # 38 20 PWR500 # ( PU 10K) DIOR # 37 21 GND (Reserved ) DIOW # 36 22 SCL GND 35 23 SDA VCC 34 24 VCC GND 33 25 DD0 DD7 32 26 DD1 DD6 31 27 DD2 DD5 30 28 DD3 DD4 29 Note Labels in italics denote pin functionality during CY7C68300A compatibility mode. Document Number: 001-05809 Rev. *Q Page 5 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Pin Diagrams (continued) DD13 DD12 DD11 DD10 DD9 50 49 48 47 46 VCC DD14 51 43 DD15 52 DD8 GND 53 VBUS_ATA_ENABLE (ATA_EN) ATAPUEN (NC) 54 44 VCC 55 45 GND 56 Figure 3. 56-pin QFN Pinout (CY7C68300C/CY7C68301C) IORDY 1 42 RESET# DMARQ 2 41 GND DIOR# 14 29 DIOW# GND 28 DMACK# 30 GND 31 13 27 12 VCC GND (PU10K) PWR500# 26 VCC GND 32 25 11 DD7 INTRQ VCC 24 33 DD6 10 23 DA0 GND DD5 DA1 34 22 35 9 DD4 8 21 DPLUS DMINUS DD3 DRVPWRVLD (DA2) 20 36 DD2 7 19 CS0# VCC DD1 CS1# 37 18 38 6 DD0 5 AGND 17 XTALIN VCC DA2 (VBUS_PWR_VALID) 16 ARESET# 39 15 40 4 SCL 3 SDA AVCC XTALOUT Note Italic labels denote pin functionality during CY7C68300A compatibility mode. Document Number: 001-05809 Rev. *Q Page 6 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Pin Diagrams (continued) GND VCC GPIO2 GND DD15 DD14 DD13 DD12 DD11 DD10 DD9 DD8 VBUS_ATA_ENABLE VCC 56 55 54 53 52 51 50 49 48 47 46 45 44 43 Figure 4. 56-pin QFN Pinout (CY7C68320C/CY7C68321C) IORDY 1 42 RESET# DMARQ 2 41 GND AVCC 3 40 ARESET# XTALOUT 4 39 DA2 XTALIN 5 38 CS1# AGND 6 37 CS0# VCC 7 36 GPIO0 DPLUS 8 35 DA1 DMINUS 9 34 DA0 GND 10 33 INTRQ VCC 11 32 VCC 18 19 20 21 22 23 24 25 26 27 28 DD1 DD2 DD3 DD4 DD5 DD6 DD7 GND VCC GND DIOW# DD0 29 17 14 VCC DIOR# GND 16 DMACK# 30 15 31 13 SCL 12 SDA GND GPIO1 Document Number: 001-05809 Rev. *Q Page 7 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Pin Diagrams (continued) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 DD8 VBUS_ATA_ENABLE VCC RESET# NC GND ARESET# DA2 CS1# CS0# DRVPWRVLD DA1 DA0 INTRQ VCC GND NC NC VBUSPWRD NC NC NC LOWPWR# NC DMACK# DIOR# DIOW# VCC NC NC VCC GND IORDY DMARQ GND GND GND GND AVCC XTALOUT XTALIN AGND NC NC NC VCC DPLUS DMINUS GND VCC GND SYSIRQ GND GND GND PWR500# GND NC SCL SDA 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 Document Number: 001-05809 Rev. *Q 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 NC NC VCC DD0 DD1 DD2 DD3 VCC GND NC GND NC GND DD4 DD5 DD6 DD7 GND VCC GND 30 ATAPUEN GND DD15 DD14 DD13 DD12 GND GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0 NC NC VCC GND DD11 DD10 DD9 100 Figure 5. 100-pin TQFP Pinout (CY7C68320C only) Page 8 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Pin Descriptions 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 5 for differences between the 68300C/01C and 68320C/321C pinouts for the 56-pin packages. Table 1. AT2LP Pin Descriptions Note Italic pin names denote pin functionality during CY7C68300A compatibility mode 100 56 56 TQFP QFN SSOP 1 55 6 2 56 3 1 Pin Name Pin Default State Type at Startup Pin Description VCC PWR 7 GND GND 8 IORDY I[2] Input ATA control. Apply a 1k pull up to 3.3 V. [2] Input ATA control. I VCC. Connect to 3.3 V power source. Ground. 4 2 9 DMARQ 5 6 7 8 N/A N/A GND 9 3 10 AVCC PWR 10 4 11 XTALOUT Xtal Xtal 24 MHz crystal output. (See XTALIN, XTALOUT on page 13). Xtal 24 MHz crystal input. (See XTALIN, XTALOUT on page 13). Ground. Analog VCC. Connect to VCC through the shortest path possible. 11 5 12 XTALIN Xtal 12 6 13 AGND GND 13 14 15 N/A N/A NC 16 7 14 VCC PWR 17 8 15 DPLUS I/O High Z USB D+ signal (See DPLUS, DMINUS on page 13). 18 9 16 DMINUS I/O High Z USB D– signal (See DPLUS, DMINUS on page 13). 19 10 17 GND GND Ground. 20 11 18 VCC PWR VCC. Connect to 3.3 V power source. 21 12 19 GND GND Ground. 22 N/A N/A SYSIRQ I 23 24 25 N/A N/A GND GND 26[3] 13[3] 20 PWR500#[4] (PU 10K) O 27 14 21 GND (RESERVED) 28 N/A N/A NC 29 15 22 SCL O 30 16 23 SDA I/O Analog ground. Connect to ground with as short a path as possible. No connect. VCC. Connect to 3.3 V power source. Input USB interrupt request. (See SYSIRQ on page 13). Active HIGH. Connect to GND if functionality is not used. Ground. bMaxPower request granted indicator. (See PWR500# on page 15). Active LOW. N/A for CY7C68320C/CY7C68321C 56-pin packages. Reserved. Tie to GND. No connect. Active for Clock signal for I2C interface. (See SCL, SDA on page 13). several ms at Apply a 2.2k pull up resistor. startup. Data signal for I2C interface. (See SCL, SDA on page 13). Apply a 2.2k pull up resistor. Notes 2. 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 VBUS_ATA_ENABLE on page 15. 3. The General Purpose inputs can be enabled on ATAPUEN, PWR500#, and DRVPWRVLD via EEPROM byte 8, bit 7 on CY7C68320C/CY7C68321C. 4. A ‘#’ sign after the pin name indicates that it is active LOW. Document Number: 001-05809 Rev. *Q Page 9 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 1. AT2LP Pin Descriptions (continued) Note Italic pin names denote pin functionality during CY7C68300A compatibility mode 100 56 56 TQFP QFN SSOP Pin Name Pin Default State Type at Startup Pin Description 31 32 N/A N/A NC 33 17 24 VCC PWR DD0 I/O [5] High Z ATA data bit 0. [5] 34 18 25 No connect. VCC. Connect to 3.3 V power source. 35 19 26 DD1 I/O High Z ATA data bit 1. 36 20 27 DD2 I/O[5] High Z ATA data bit 2. [5] High Z ATA data bit 3. 37 21 28 DD3 I/O 38 N/A N/A VCC PWR VCC. Connect to 3.3 V power source. 39 N/A N/A GND GND Ground. 40 N/A N/A NC NC 41 N/A N/A GND 42 N/A N/A NC 43 N/A N/A GND 44 22 29 DD4 I/O[5] High Z ATA data bit 4. DD5 I/O[5] High Z ATA data bit 5. DD6 I/O[5] High Z ATA data bit 6. High Z ATA data bit 7. Apply a 1k pull down to GND. 45 46 23 24 30 31 No connect. Ground. NC No connect. Ground. 47 25 32 DD7 I/O[5] 48 26 33 GND GND Ground. 49 27 34 VCC PWR VCC. Connect to 3.3 V power source. 50 28 35 GND GND Ground. 51 52 N/A N/A NC NC 53 N/A N/A VCC PWR O/Z[5] No connect. VCC. Connect to 3.3 V power source. 54 29 36 DIOW#[6] 55 30 37 DIOR# O/Z[5] Driven HIGH ATA control. (CMOS) 56 31 38 DMACK# O/Z[5] Driven HIGH ATA control. (CMOS) 57 N/A N/A NC NC 58 N/A N/A LOWPWR# O 59 60 61 N/A N/A NC NC 62 N/A N/A VBUSPWRD I 63 64 N/A N/A NC NC 65 N/A N/A GND GND Ground. 66 32 39 VCC PWR VCC. Connect to 3.3 V power source. Driven HIGH ATA control. (CMOS) No connect. USB suspend indicator. (See LOWPWR# on page 14). No connect. Input Bus powered mode selector. (See VBUSPWRD on page 15). No connect. Notes 5. 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 VBUS_ATA_ENABLE on page 15. 6. A ‘#’ sign after the pin name indicates that it is active LOW. Document Number: 001-05809 Rev. *Q Page 10 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 1. AT2LP Pin Descriptions (continued) Note Italic pin names denote pin functionality during CY7C68300A compatibility mode 100 56 56 TQFP QFN SSOP 67 33 40 Pin Name INTRQ Pin Default State Type at Startup I[7] [7] Input Pin Description ATA interrupt request. 68 34 41 DA0 O/Z 69 35 42 DA1 O/Z[7] Driven HIGH ATA address. after 2 ms delay 70[8] 36[8] 43 DRVPWRVLD (DA2) 71 37 44 CS0# O/Z[7] Driven HIGH ATA chip select. after 2 ms delay 72 38 45 CS1# O/Z[7] Driven HIGH ATA chip select. after 2 ms delay 73 39 46 74 40 47 ARESET# O/Z[7] ATA reset. 75 41 48 GND GND Ground. 76 N/A N/A NC NC 77 42 49 RESET# I 78 43 50 VCC PWR 79 44 51 VBUS_ATA_ENABLE (ATA_EN) I 80 45 52 DD8 I/O[7] High Z ATA data bit 8. DD9 I/O [7] High Z ATA data bit 9. DD10 I/O[7] High Z ATA data bit 10. I/O[7] High Z ATA data bit 11. 81 82 46 47 53 54 I Driven HIGH ATA address. after 2 ms delay Input Device presence detect. (See DRVPWRVLD on page 14). Configurable logical polarity is controlled by EEPROM address 0x08. This pin must be pulled HIGH if functionality is not used. Alternate function. Input when the EEPROM configuration byte 8 has bit 7 set to ‘1’. The input value is reported through EP1IN (byte 0, bit 0). DA2 O/Z[7] Driven HIGH ATA address. (VBUS_PWR_VALID) after 2 ms delay No connect. Input Chip reset (See RESET# on page 15). VCC. Connect to 3.3 V power source. Input VBUS detection (See VBUS_ATA_ENABLE on page 15). 83 48 55 DD11 84 N/A N/A GND 85 N/A N/A VCC PWR 86 87 N/A N/A NC NC 88 89 90 91 92 93 36[8] 13[8] 54[8] N/A GPIO0 GPIO1 GPIO2 GPIO3 GPIO4 GPIO5 I/O[8] General Purpose I/O pins (See GPIO Pins on page 14). The GPIO pins must be tied to GND if functionality is not used. 94 N/A N/A GND GND Ground. Ground. VCC. Connect to 3.3 V power source. No connect. Notes 7. 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 VBUS_ATA_ENABLE on page 15. 8. The General Purpose inputs can be enabled on ATAPUEN, PWR500#, and DRVPWRVLD via EEPROM byte 8, bit 7 on CY7C68320C/CY7C68321C. Document Number: 001-05809 Rev. *Q Page 11 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 1. AT2LP Pin Descriptions (continued) Note Italic pin names denote pin functionality during CY7C68300A compatibility mode 100 56 56 TQFP QFN SSOP 95 49 56 Pin Name Pin Default State Type at Startup Pin Description DD12 I/O[9] High Z ATA data bit 12. [9] 96 50 1 DD13 I/O High Z ATA data bit 13. 97 51 2 DD14 I/O[9] High Z ATA data bit 14. [9] High Z ATA data bit 15. 98 52 3 DD15 I/O 99 53 4 GND GND 5 ATAPUEN (NC) I/O [10] 100 54 [10] Ground. Bus powered ATA pull up voltage source (see ATAPUEN on page 15). 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). Notes 9. 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 VBUS_ATA_ENABLE on page 15. 10. The General Purpose inputs can be enabled on ATAPUEN, PWR500#, and DRVPWRVLD via EEPROM byte 8, bit 7 on CY7C68320C/CY7C68321C. Document Number: 001-05809 Rev. *Q Page 12 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Additional Pin Descriptions GND as shown in Figure 6. If an alternate clock source is used, apply it to XTALIN and leave XTALOUT unconnected. The following sections provide additional pin information. Figure 6. XTALIN/XTALOUT Diagram 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 41 for PCB layout recommendations. 24MHz Xtal 12pF 12pF 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 DRVPWRVLD Enable Bit ATA/ATAPI Drive Detected 1 1 1 0 1 1 0 0 1 1 Yes No Yes No Yes No 1 1 1 0 0 0 State of D+ pull up XTALIN 0 SCL, SDA The clock and data pins for the I2C 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 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.3 V, 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 XTALOUT 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 NAK’ed. 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 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 7 on page 14 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 16 for more details on HID functionality. Table 3. Interrupt Data Bitmap 5 4 3 2 1 0 7 6 5 4 3 2 RESERVED RESERVED RESERVED RESERVED USB High Speed VBUS Powered RESERVED RESERVED GPIO[5] GPIO[4] GPIO[3] GPIO[2] Document Number: 001-05809 Rev. *Q 1 0 GPIO[0] 6 GPIO[1] 7 RESERVED EP1 Data Byte 0 RESERVED EP1 Data Byte 1 Page 13 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Figure 7. SYSIRQ Latching Algorithm No No USB Interrupt Pipe Polled? SYSIRQ=1? Yes Yes Yes Int_Data = 1? Latch State of IO Pins Set Int_Data = 1 No No NAK Request Yes Int_Data = 0 and SYSIRQ=0? Return Interrupt Data Set Int_Data = 0 DRVPWRVLD GPIO Pins 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 is detected again, the AT2LP reports a “media changed” status to the host (ASC = 0x28, ASQ = 0x00) when queried. The GPIO pins enable a general purpose input and output interface. There are several different interfaces to the GPIO pins: When a removable device is used, it is always considered by the AT2LP 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 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). Document Number: 001-05809 Rev. *Q ■ Configuration bytes 0x09 and 0x0A contain the default settings for the GPIO pins upon initial AT2LP configuration. ■ 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 35. ■ The status of the GPIO pins is returned on the interrupt endpoint (EP1) in response to a SYSIRQ. See SYSIRQ on page 13 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 High 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. Page 14 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C ATA Interface Pins VBUSPWRD The ATA Interface pins must be connected to the corresponding pins on an IDE connector or mass storage device. To enable sharing of the IDE bus with other master devices, the AT2LP can place all ATA Interface Pins in a High 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. 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 descriptors (see Table 4). Design practices for signal integrity as outlined in the ATA/ATAPI-6 specification must be followed with systems that use a ribbon cable interconnect between the AT2LP’s ATA 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 in a High 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 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 High 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 16 for more information on HID functionality. 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 16 for more information on HID functionality. Document Number: 001-05809 Rev. *Q 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 VBUSPWRD VBUSPWRD = ‘0’ N/A (56-pin) Pin VBUSPWRD = ‘1’ bMaxPower Reported Value 0xFA (500 mA) 0x01 (2 mA) The value from configuration address 0x34 is used. bmAttributes Bit 6 Reported Value ‘0’ (bus powered) ‘1’ (self powered) ‘0’ if bMaxPower  0x01 ‘1’ if bMaxPower  0x01 RESET# Asserting RESET# for 10 ms resets the entire AT2LP. In self powered designs, this pin is normally tied to VCC through a 100k resistor, and to GND through a 0.1 F capacitor, as shown in Figure 8. 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. Figure 8. R/C Reset Circuit for Self Powered Designs 100K RESET# 0.1F Page 15 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C HID Functions for Button Controls Cypress’s CY7C68320C/CY7C68321C has the capability of supporting Human Interface Device (HID) signaling to the host. If there is an 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 is shown in Table 5. The ability to add buttons to a mass storage solution opens new applications for data backup and other device-side notification to the host. The AT2LP Blaster software, found in the CY4615B 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, enabling 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 recommends 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. Table 5. HID Data Bitmap 1 0 7 6 RESERVED RESERVED RESERVED RESERVED USB High Speed VBUS Powered RESERVED RESERVED Functional Overview Chip functionally is described in the subsequent sections. USB Signaling Speed 5 4 3 2 1 0 GPIO[0] 2 GPIO[1] 3 GPIO[2] 4 GPIO[3] 5 GPIO[4] 6 GPIO[5] 7 RESERVED USB Interrupt Data Byte 0 RESERVED USB Interrupt Data Byte 1 Specification for information on Command Block formatting. Additionally, the AT2LP translates ATAPI SFF-8070i commands to ATA commands for seamless integration of ATA devices with generic Mass Storage Class BOT drivers. ATA Command Block (ATACB) AT2LP operates at the following two rates defined in the USB 2.0 Specification 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 Information Technology–AT Attachment with Packet Interface–6 (ATA/ATAPI-6) Specification, T13/1410D Revision 2A. The AT2LP supports both ATAPI packet commands and ATA commands (by use of ATA Command Blocks), as outlined in ATA Command Block (ATACB) on page 16. Refer to the USB Mass Storage Class (MSC) Bulk-Only Transport (BOT) 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 Command 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. Table 6. ATACB Field Descriptions Byte Field Name Field Description 0 bVSCBSignature This field indicates to the CY7C68300C/CY7C68301C that the ATACB contains a vendor-specific command block. The value of this field must match the value in EEPROM address 0x04 for the command to be recognized as a vendor-specific ATACB command. 1 bVSCBSubCommand This field must be set to 0x24 for ATACB commands. Document Number: 001-05809 Rev. *Q Page 16 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 6. ATACB Field Descriptions (continued) Byte 2 Field Name bmATACBActionSelect Field Description 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 (0xEC) IDENTIFY device data. Setting IdentifyPacketDevice when the data phase does not contain IDENTIFY device 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 = 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 0x0B, bit 4 Bit 4 DErrorOverride – This bit controls the device error override feature. This bit must not be set during a 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 operation 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 bmATACBRegisterSelect is returned. If this bit is set, the dCBWDataTransferLength field must be set to 8. 0 = Execute ATACB command and data transfer (if any) 1 = Only read TaskFile registers selected in bmATACBRegisterSelect and return 0x00h 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 Document Number: 001-05809 Rev. *Q Page 17 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 6. ATACB Field Descriptions (continued) Byte 3 Field Name bmATACBRegisterSelect Field Description This field controls which of the TaskFile 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 here (0 to 7): Bit 0 (0x3F6) Device Control/Alternate Status Bit 1 (0x1F1) Features/Error Bit 2 (0x1F2) Sector Count Bit 3 (0x1F3) Sector Number Bit 4 (0x1F4) Cylinder Low Bit 5 (0x1F5) Cylinder High Bit 6 (0x1F6) Device/Head Bit 7 (0x1F7) Command/Status 4 5–12 bATACBTransferBlockCount This value indicates the maximum requested block size be in 512-byte increments. 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. 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 (0x3F6) – 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 0x0B (0x1F6) – Device ATACB Address Offset 0x0C (0x1F7) – Command 13–15 Reserved Document Number: 001-05809 Rev. *Q These bytes must be set to 0x00 for ATACB commands. Page 18 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Operating Modes The different modes of operation and EEPROM information are presented in the following sections. Operational Mode Selection Flow During the power up sequence, the AT2LP queries the I2C bus for an EEPROM. The AT2LP then selects a pinout configuration as shown here, and checks to see if ARESET# is configured for Board Manufacturing Test Mode. ■ If no EEPROM is detected, the AT2LP uses the values in the factory-programmable (fused) memory space. See Fused Memory Data on page 20 for more information. This is not a valid mode of operation if no factory programming has been done. ■ If an EEPROM signature of 0x4D4D is found, the CY7C68300C/CY7C68301C uses the same pinout and EEPROM format as the CY7C68300A (EZ-USB AT2+). ■ If an EEPROM signature of 0x534B is found, the AT2LP uses the values stored in the EEPROM to configure the USB descriptors for normal operation. ■ If an EEPROM is detected, but an invalid signature is read, the AT2LP defaults into Board Manufacturing Test Mode. Figure 9. Operational Mode Selection Flow Check I2C Bus No EEPROM Found? Yes No Signature 0x534B? Signature 0x4D4D? Yes Yes Set EZ-USB AT2+ (CY7C68300A) Pinout Set EZ-USB AT2LP Pinout VBUS_ATA_ENABLE Load Fused Memory Data (AT2LP Pinout) No Pin HIGH? Yes ARESET# Pin LOW? No Yes DD7 Pin Set HIGH ARESET# Pin HIGH? No Yes Board Manufacturing Test Mode Document Number: 001-05809 Rev. *Q Normal Mass Storage Mode Page 19 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Fused Memory Data command for EEPROM accesses (CfgCB) and one for board level testing (MfgCB), as described in the following sections. 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 applications to avoid the need for an external EEPROM in some designs. Contact your local Cypress Semiconductor sales office for more information on this feature. There is a convenient method available for starting the AT2LP in Board Manufacturing Test Mode to enable 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. 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 to identify the device as your company’s product. CfgCB The cfg_load and cfg_read vendor-specific commands are passed down through the bulk pipe in the CBWCB portion of the CBW. The format of this CfgCB is shown as follows. Byte 0 is a vendor-specific command designator whose value is configurable 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. 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 such as powered and configured. The USB descriptors are returned according to the values stored in the external 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. The data transferred to the EEPROM must be in the format specified in Table 11 on page 23 of this data sheet. Maximum data transfer size is 255 bytes. 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 enable 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 ATAPI 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 (bmCBWFlags) of the CBW (refer to Table 7). Table 7. Command Block Wrapper Bits Offset 7 6 5 4 3 0–3 DCBWSignature 4–7 dCBWTag 8–11 (08h–0Bh) 0 bwCBWFLAGS Dir 14 (0Eh) 1 dCBWDataTransferLength 12 (0Ch) 13 (0Dh) 2 Obsolete Reserved (0) Reserved (0) Reserved (0) 15–30 (0Fh1Eh) Document Number: 001-05809 Rev. *Q bCBWLUN bCBWCBLength CBWCB (CfgCB or MfgCB) Page 20 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 8. Example CfgCB Offset CfgCB Byte Description 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. Byte0 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. 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. 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 10. Mfg_read and Mfg_load Data Format Byte Bits Read/Load 0 7 R/L Table 9. Example MfgCB Offset MfgCB Byte Description Bits 7 6 5 4 3 2 1 0 0 1 0 bVSCBSignature (set in configuration bytes) 0 0 1 0 0 1 0 0 1 bVSCBSubCommand (hardcoded 0x27) 0 0 1 0 0 1 1 1 1 2–15 2–15 Reserved (must be zero) 0 0 0 0 0 0 0 0 6 R 5:4 R/L Document Number: 001-05809 Rev. *Q DA2 CS#[1:0] 3 R/L DRVPWRVLD 2:1 R/L DA[1:0] 0 R INTRQ 7 L DD[15:0] High Z Status 0 = High Z all 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# 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 I/O 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. Function ARESET# 0 R/L DIOW# 2 7:0 R/L DD[7:0] 3 7:0 R/L DD[15:8] Page 21 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C EEPROM Organization 2 The contents of the recommended 256-byte (2048-bit) I C EEPROM are 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 (such as 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 CY4615B kit can be used to edit and program these values into an AT2LP-based product (refer to Figure 10). The ‘AT2LP Primer’ tool can be used to program AT2LP-based products in a manufacturing environment and provides for serial number randomization. See Board Manufacturing Test Mode on page 20 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 devices that are internally byte-addressed memories. It is recommended that the address pins be set this way even on EEPROMs that may indicate that the address pins are internal no-connects. Figure 10. Snapshot of ‘AT2LP Blaster’ Utility Document Number: 001-05809 Rev. *Q Page 22 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 11. Configuration Data Organization Byte Address Configuration Item Name Configuration Item Description Required Contents Variable 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 I2C EEPROM signature byte 0. This byte must be 0x53 for proper AT2LP pin configuration. 0x53 0x01 EEPROM signature byte 1 I2C EEPROM signature byte 1. This byte must be 0x4B for proper AT2LP pin configuration. 0x4B 0x02 APM Value ATA Device Automatic Power Management Value. If an 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. 0x00 0x03 Reserved Must be set to 0x00. 0x00 0x04 bVSCBSignature Value Value in the first byte of the CBW CB field that designates that the CB is to be decoded as vendor-specific ATA commands instead of the ATAPI command block. See Functional Overview on page 16 for more detail on how this byte is used. 0x24 0x07 0x05 Reserved Bits 7:6 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. 1 = 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 enables 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 Specification enables 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 Number: 001-05809 Rev. *Q Page 23 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 11. Configuration Data Organization (continued) Byte Address 0x06 0x07 Configuration Item Name Configuration Item Description 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. ATA UDMA Enable Bit 7 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. If 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 UDMA 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’. Reserved Bits 7:3 Must be set to ‘0’. Multiword DMA mode Bit 2 This bit enables multiword DMA support. If this bit is set and the drive supports it, multiword 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 Number: 001-05809 Rev. *Q Required Contents Variable Contents 0xD4 0x07 Page 24 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 11. Configuration Data Organization (continued) Byte Address 0x08 Configuration Item Name Configuration Item Description BUTTON_MODE Bit 7 Button mode (100-pin package only). Sets ATAPUEN, PWR500# and DRVPWRVLD to 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 (such as 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 High 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 High 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 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, such as CompactFlash 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. Document Number: 001-05809 Rev. *Q Required Contents Variable Contents 0x78 Page 25 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 11. Configuration Data Organization (continued) Byte Address 0x09 Configuration Item Name Reserved General Purpose I/O Pin Output Enable 0x0A Reserved GPIO Output Pin State Configuration Item Description Required Contents Variable Contents Bits 7:6 Reserved. Must be set to zero. Bits 5:0 GPIO[5:0] Input and output control. GPIOs can be individually set as inputs or outputs using these bits. 0 = High 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 0x0A. 0x00 Bits 7:6 Reserved. Must be set to zero. 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 0x00 0x0B LUN0 Identify String This byte is a pointer to the start of a 24 byte ASCII (non-Unicode) string in the EEPROM that is used as the LUN0 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. 0x00 0x0C LUN1 Identify String This byte is a pointer to the start of a 24 byte ASCII (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. 0x00 0x0D Delay After Reset Number of 20 ms ticks to wait between AT2LP startup or reset, and the first attempt to access any drives. 0x00 0x0E Reserved Bits 7:5 Must be set to zero. 0x00 Bus Powered Flag Bit 4 Enable bus powered HDD support. This bit enables the use of DRVPWRVLD features without reporting the LUN0 device as removable media. 0 = LUN0 is removable media or DRVPWRVLD is disabled 1 = LUN0 device is bus powered and non-removable Enable CF UDMA 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 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 LUN0 present; no ATA bus search 10 = Assume LUN0 and LUN1 present; no ATA bus search 11 = Assume LUN0 and LUN1 present; no ATA bus search Document Number: 001-05809 Rev. *Q Page 26 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 11. Configuration Data Organization (continued) Byte Address 0x0F Configuration Item Name Configuration Item Description Required Contents 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 enables the AT2LP to be used in designs where the drive may be physically removed (such as docking stations or port replicators). 0 = Search ATA bus on VBUS_ATA_ENABLE assertion 1 = No ATA bus search on VBUS_ATA_ENABLE assertion Reserved Must be set to 0x00 0x00 Variable Contents Device Descriptor 0x10 bLength Length of device descriptor in bytes 0x12 0x11 bDescriptor Type Descriptor type. 0x01 0x12 bcdUSB (LSB) USB Specification release number in BCD 0x00 0x13 bcdUSB (MSB) 0x02 0x14 bDeviceClass Device class 0x00 0x15 bDeviceSubClass Device subclass 0x00 0x16 bDeviceProtocol Device protocol 0x00 0x17 bMaxPacketSize0 USB packet size supported for default pipe 0x40 0x18 idVendor (LSB) 0x19 idVendor (MSB) Vendor ID. Cypress’ Vendor ID may only be used for evaluation purposes, and not in released products. Your Vendor ID 0x1A idProduct (LSB) Product ID 0x1B idProduct (MSB) Your Product ID 0x1C bcdDevice (LSB) Device release number in BCD LSB (product release number) 0x1D bcdDevice (MSB) Device release number in BCD MSB (silicon release number) Your release number 0x1E iManufacturer Index to manufacturer string. This entry must equal half of the address value where the string starts or 0x00 if the string does not exist. 0x53 0x1F iProduct Index to product string. This entry must equal half of the address value where the string starts or 0x00 if the string does not exist. 0x69 0x20 iSerialNumber Index to serial number string. This entry must equal half of 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. 0x75 0x21 bNumConfigurations Number of configurations supported 1 for mass storage: 2 for HID: 3 for CSM 0x03 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 (MSB) USB Specification release number in BCD 0x02 0x26 bDeviceClass Device class 0x00 0x27 bDeviceSubClass Device subclass 0x00 0x28 bDeviceProtocol Device protocol 0x00 0x29 bMaxPacketSize0 USB packet size supported for default pipe 0x40 Document Number: 001-05809 Rev. *Q Page 27 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 11. Configuration Data Organization (continued) Byte Address Configuration Item Name Configuration Item Description Required Contents 0x2A bNumConfigurations Number of configurations supported 0x01 0x2B bReserved Reserved for future use. Must be set to zero 0x00 Variable Contents Configuration Descriptor 0x2C bLength Length of configuration descriptor in bytes 0x09 0x2D bDescriptorType Descriptor type 0x02 0x2E bTotalLength (LSB) bTotalLength (MSB) Number of bytes returned in this configuration. This includes the configuration descriptor plus all the interface and endpoint descriptors. 0x20 0x2F 0x30 bNumInterfaces Number of interfaces supported 0x01 0x31 bConfiguration Value The value to use as an argument to Set Configuration to select the configuration. This value must be set to 0x01. 0x32 iConfiguration Index to the configuration string. This entry must equal half of the address value where the string starts, or 0x00 if the string does not exist. 0x00 0x33 bmAttributes Device attributes for this configuration Bit 7 Reserved. Must be set to ‘1’ Bit 6 Self powered. See Table 4 on page 15 for reported value Bit 5 Remote wakeup. Must be set to ‘0’ Bits 4–0 Reserved. Must be set to ‘0’ 0xC0 0x34 bMaxPower Maximum power consumption for this configuration. Units used are mA*2 (i.e., 0x31 = 98 mA, 0xF9 = 498 mA). The value entered here is only used by the 56-pin packages and affect the reported value of bit 6 of address 0x33 in that case. See Table 4 on page 15 for a description of what value is reported to the host by the AT2LP. 0x01 0x00 0x01 Interface and Endpoint Descriptors Interface Descriptor 0x35 bLength Length of interface descriptor in bytes 0x36 bDescriptorType Descriptor type 0x04 0x37 bInterfaceNumber Interface number 0x00 0x38 bAlternateSetting Alternate setting 0x00 0x39 bNumEndpoints Number of endpoints 0x3A bInterfaceClass Interface class 0x3B bInterfaceSubClass Interface subclass 0x3C bInterfaceProtocol Interface protocol 0x3D iInterface Index to first interface string. This entry must equal half of the address value where the string starts or 0x00 if the string does not exist. 0x09 0x02 0x08 0x06 0x50 0x00 USB Bulk-Out Endpoint 0x3E bLength Length of this descriptor in bytes 0x07 0x3F bDescriptorType Endpoint descriptor type 0x05 0x40 bEndpointAddress This is an out endpoint, endpoint number 2. 0x02 0x02 0x41 bmAttributes This is a bulk endpoint. 0x42 wMaxPacketSize (LSB) 0x43 wMaxPacketSize (MSB) Maximum data transfer size. To be set by speed (Full speed 0x0040; high-speed 0x0200) 0x44 bInterval High speed interval for polling (maximum NAK rate) Document Number: 001-05809 Rev. *Q 0x00 0x02 0x00 Page 28 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 11. Configuration Data Organization (continued) Byte Address Configuration Item Name Configuration Item Description Required Contents Variable Contents 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) 0x4A wMaxPacketSize (MSB) Maximum data transfer size. Automatically set by AT2 (Full speed 0x0040; high-speed 0x0200) 0x4B bInterval High speed interval for polling (maximum NAK rate) 0x00 0x02 0x00 (Optional) HID Interface Descriptor 0x4C bLength Length of HID interface descriptor 0x09 0x4D bDescriptorTypes Interface descriptor type 0x04 0x4E bInterfaceNumber Number of interfaces (2) 0x02 0x4F 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 bInterfaceSubSubClass Sub Sub class 0x00 0x54 iInterface Index of string descriptor 0x00 USB Interrupt In Endpoint 0x5E bLength Length of this descriptor in bytes 0x07 0x5F 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) 0x64 bInterval 0x00 Interval for polling (max NAK rate) 0x10 (Optional) HID Descriptor 0x55 bLength Length of HID descriptor 0x09 0x56 bDescriptorType Descriptor Type HID 0x21 HID Class Specification release number (1.10) 0x10 0x57 bcdHID (LSB) 0x58 bcdHID (MSB) 0x59 bCountryCode Country Code 0x00 0x5A bNumDescriptors Number of class descriptors (1 report descriptor) 0x01 0x01 0x5B bDescriptorType Descriptor Type 0x22 0x5C wDescriptorLength (LSB) Length of HID report descriptor 0x22 0x5D wDescriptorLength (MSB) 0x00 Terminator Descriptors 0x65 Terminator Document Number: 001-05809 Rev. *Q 0x00 Page 29 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 11. Configuration Data Organization (continued) Byte Address Configuration Item Name Configuration Item Description Required Contents Variable Contents (Optional) HID Report Descriptor 0x66 Usage_Page Vendor defined 0x67 0x68 0x69 0xFF Usage Vendor defined 0x09 Collection Application 0xA1 Usage Vendor defined 0x09 0x6A 0x6B 0xA5 0x6C 0x6D 0x06 0xA0 0x01 0x6E 0xA6 Input Report 0x6F Usage Vendor defined 0x70 0x71 Logical_Minimum –128 0x72 0x73 Logical_Maximum 127 Report_Size 8 bits 0x75 0x08 Report_Count 2 fields 0x78 0x79 0x25 0x7F 0x76 0x77 0x15 0x80 0x74 0x75 0x09 0xA7 0x95 0x02 Input Input (Data, Variable, Absolute) 0x7A 0x81 0x02 Output Report 0x7B Usage Usage - vendor defined Logical_Minimum Logical Minimum (–128) 0x15 Logical_Maximum Logical Maximum (127) 0x25 Report_Size Report Size 8 bits 0x75 Report_Count Report Count 2 fields 0x95 Output Output (Data, Variable, Absolute) 0x91 End Collection 0xC0 0x7C 0x7D 0xA9 0x7E 0x7F 0x80 0x80 0x81 0x7F 0x82 0x83 0x08 0x84 0x85 0x09 0x02 0x86 0x02 0x87 Standard Content Security Interface Descriptor (optional) 0x88 bLength Byte length of this descriptor 0x09 0x89 bDescriptorType Interface Descriptor type 0x0D 0x8A bInterfaceNumber Number of interface 0x02 Document Number: 001-05809 Rev. *Q Page 30 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 11. Configuration Data Organization (continued) Byte Address Configuration Item Name Configuration Item Description Required Contents Variable Contents 0x8B bAlternateSetting Value used to select an alternate setting for the interface identified in prior field 0x00 0x8C bNumEndpoints 0x02 0x8D bInterfaceClass Number of endpoints used by this interface (excluding endpoint 0) that are CSM dependent 0x0D 0x8E bInterfaceSubClass Must be set to zero 0x00 0x8F bInterfaceProtocol Must be set to zero 0x00 0x90 iInterface Index of a string descriptor that describes this Interface 0x00 Channel Descriptor 0x91 bLength Length of this descriptor in bytes 0x09 0x92 bDescriptorType Channel descriptor type 0x22 0x93 bChannelID Number of the channel must be a zero-based value that is unique across the device 0x00 0x94 bmAttributes Bits7:5 Reserved. Must be set to zero 0x01 Bits 4:0 0x95 bRecipient Identifier of the target recipient 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) D6...D4: Reserved and set to zero D3...D0: Endpoint number 0x00 0x96 bRecipientAlt Alternate setting for the interface to which this channel applies 0x00 0x97 bRecipientLogicalUnit Recipient Logical Unit 0x00 0x98 bMethod Index of a class-specific CSM descriptor that describes one of the Content Security Methods (CSM) offered by the device 0x01 0x99 bMethodVariant CSM variant descriptor 0x00 CSM Descriptor 0x9A bLength Byte length of this descriptor 0x06 0x9B bDescriptorType CSM descriptor type 0x23 0x9C bMethodID Index of a class-specific CSM descriptor that describes on of the Content Security Methods offered by the device 0x01 0x9D iCSMDescriptor Index of string descriptor that describes the Content Security Method 0x00 0x9E bcdVersion (LSB) CSM descriptor version number 0x10 0x9F bcsVersion (MSB) 0xA0 Terminator 0x02 0x00 USB String Descriptor–Index 0 (LANGID) 0xA1 bLength LANGID string descriptor length in bytes 0x04 0x03 0xA2 bDescriptorType Descriptor type 0xA3 LANGID (LSB) 0xA4 LANGID (MSB) Language supported. The CY7C68300B supports one LANGID value. Document Number: 001-05809 Rev. *Q 0x09 0x04 Page 31 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 11. Configuration Data Organization (continued) Byte Address Configuration Item Name Configuration Item Description Required Contents Variable Contents USB String Descriptor–Manufacturer 0xA5 bLength String descriptor length in bytes (including bLength) 0xA6 bDescriptorType Descriptor type 0x2C 0xA7 bString Unicode character LSB ’C’ 0x43 0xA8 bString Unicode character MSB 0x00 0x03 0xA9 bString Unicode character LSB ’y’ 0x79 0xAA bString Unicode character MSB 0x00 0xAB bString Unicode character LSB ’p’ 0x70 0xAC bString Unicode character MSB 0x00 0xAD bString Unicode character LSB ’r’ 0x72 0xAE bString Unicode character MSB 0x00 0xAF bString Unicode character LSB ’e’ 0x65 0xB0 bString Unicode character MSB 0x00 0xB1 bString Unicode character LSB ’s’ 0x73 0xB2 bString Unicode character MSB 0x00 0xB3 bString Unicode character LSB ’s’ 0x73 0xB4 bString Unicode character MSB 0x00 0xB5 bString Unicode character LSB ’ ’ 0x20 0xB6 bString Unicode character MSB 0x00 0xB7 bString Unicode character LSB ’S’ 0x53 0xB8 bString Unicode character MSB 0x00 0xB9 bString Unicode character LSB ’e’ 0x65 0xBA bString Unicode character MSB 0x00 0xBB bString Unicode character LSB ’m’ 0x6D 0xBC bString Unicode character MSB 0x00 0xBD bString Unicode character LSB ’i’ 0x69 0xBE bString Unicode character MSB 0x00 0xBF bString Unicode character LSB ’c’ 0x63 0xC0 bString Unicode character MSB 0x00 0xC1 bString Unicode character LSB ’o’ 0x6F 0xC2 bString Unicode character MSB 0x00 0xC3 bString Unicode character LSB ’n’ 0x6E 0xC4 bString Unicode character MSB 0x00 0xC5 bString Unicode character LSB ’d’ 0x64 0xC6 bString Unicode character MSB 0x00 0xC7 bString Unicode character LSB ’u’ 0x75 0xC8 bString Unicode character MSB 0x00 0xC9 bString Unicode character LSB ’c’ 0x63 0xCA bString Unicode character MSB 0x00 0xCB bString Unicode character LSB ’t’ 0x74 0xCC bString Unicode character MSB 0x00 0xCD bString Unicode character LSB ’o’ 0x6F Document Number: 001-05809 Rev. *Q Page 32 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 11. Configuration Data Organization (continued) Byte Address 0xCE Configuration Item Name Configuration Item Description Required Contents Variable Contents bString Unicode character MSB 0x00 0xCF bString Unicode character LSB ’r’ 0x72 0xD0 bString Unicode character MSB 0x00 String descriptor length in bytes (including bLength) 0x2C USB String Descriptor–Product 0xD1 bLength 0xD2 bDescriptorType Descriptor type. 0xD3 bString Unicode character LSB 0x03 0xD4 bString Unicode character MSB 0x00 0xD5 bString Unicode character LSB ’S’ 0x53 0xD6 bString Unicode character MSB 0x00 0xD7 bString Unicode character LSB ’B’ 0x42 ’U’ 0x55 0xD8 bString Unicode character MSB 0x00 0xD9 bString Unicode character LSB ’2’ 0x32 0xDA bString Unicode character MSB 0x00 0xDB bString Unicode character LSB ’.’ 0x2E 0xDC bString Unicode character MSB 0x00 0xDD bString Unicode character LSB ’0’ 0x30 0xDE bString Unicode character MSB 0x00 0xDF bString Unicode character LSB ’ ’ 0x20 0xE0 bString Unicode character MSB 0x00 0xE1 bString Unicode character LSB ’D’ 0x53 0xE2 bString Unicode character MSB 0x00 0xE3 bString Unicode character LSB ’i’ 0x74 0xE4 bString Unicode character MSB 0x00 0xE5 bString Unicode character LSB ’s’ 0x6F 0xE6 bString Unicode character MSB 0x00 0xE7 bString Unicode character LSB ’k’ 0x72 0xE8 bString Unicode character MSB 0x00 USB String Descriptor–Serial Number (Note The USB Mass Storage Class 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. 0xE9 bLength String descriptor length in bytes (including bLength). 0xEA bDescriptor Type Descriptor type. 0x22 0x03 0XEB bString Unicode character LSB ’1’ 0x31 0XEC bString Unicode character MSB 0x00 0XED bString Unicode character LSB ’2’ 0x32 0XEE bString Unicode character MSB 0x00 0XEF bString Unicode character LSB ’3’ 0x33 0XF0 bString Unicode character MSB 0x00 0xF1 bString Unicode character LSB ’4’ 0x34 0xF2 bString Unicode character MSB 0x00 0xF3 bString Unicode character LSB ’5’ 0x35 0xF4 bString Unicode character MSB 0x00 Document Number: 001-05809 Rev. *Q Page 33 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Table 11. Configuration Data Organization (continued) Byte Address Configuration Item Name Configuration Item Description Required Contents Variable Contents 0xF5 bString Unicode character LSB ’6’ 0x36 0xF6 bString Unicode character MSB 0x00 0xF7 bString Unicode character LSB ’7’ 0x37 0xF8 bString Unicode character MSB 0x00 0xF9 bString Unicode character LSB ’8’ 0x38 0xFA bString Unicode character MSB 0x00 0xFB bString Unicode character LSB ’9’ 0x39 0xFC bString Unicode character MSB 0x00 0xFD bString Unicode character LSB ’0’ 0x30 0xFE bString Unicode character MSB 0x00 0xFF bString Unicode character LSB ’A’ 0x41 0Xxx bString Unicode character MSB 0x00 0Xxx bString Unicode character LSB ’B’ 0x42 0Xxx bString 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.) 0Xxx Device name byte 1 ASCII Character ’C’ 0x43 0Xxx Device name byte 2 ASCII Character ’y’ 0x79 0Xxx Device name byte 3 ASCII Character ’p’ 0x70 0Xxx Device name byte 4 ASCII Character ’r’ 0x72 0Xxx Device name byte 5 ASCII Character ’e’ 0x65 0Xxx Device name byte 6 ASCII Character ’s’ 0x73 0Xxx Device name byte 7 ASCII Character ’s’ 0x73 0Xxx Device name byte 8 ASCII Character ’ ’ 0x20 0Xxx Device name byte 9 ASCII Character ’C’ 0x43 0Xxx Device name byte 10 ASCII Character ’u’ 0x75 0Xxx Device name byte 11 ASCII Character ’s’ 0x73 0Xxx Device name byte 12 ASCII Character ’t’ 0x74 0Xxx Device name byte 13 ASCII Character ’o’ 0x6f 0Xxx Device name byte 14 ASCII Character ’m’ 0x6d 0Xxx Device name byte 15 ASCII Character ’ ’ 0x20 0Xxx Device name byte 16 ASCII Character ’N’ 0x4e 0Xxx Device name byte 17 ASCII Character ’a’ 0x61 0Xxx Device name byte 18 ASCII Character ’m’ 0x6d 0Xxx Device name byte 19 ASCII Character ’e’ 0x65 0Xxx Device name byte 20 ASCII Character ’ ’ 0x20 0Xxx Device name byte 21 ASCII Character ’L’ 0x4c 0Xxx Device name byte 22 ASCII Character ’U’ 0x55 0Xxx Device name byte 23 ASCII Character ’N’ 0x4e 0Xxx Device name byte 24 ASCII Character ’0’ 0x30 0Xxx Unused ROM Space Amount of unused ROM space varies depending on strings. 0xFF Note More than 0X100 bytes of configuration are shown for example only. The AT2LP only supports addresses up to 0xFF. Document Number: 001-05809 Rev. *Q Page 34 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Programming the EEPROM LOAD_CONFIG_DATA There are three methods of programming the EEPROM: ■ Stand-alone EEPROM programmer 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. ■ Vendor-specific USB commands, listed in Table 12 Legal values for wValue are as follows: ■ In-system programming (for example, bed-of-nails tester) ■ 0x0000 Internal Config bytes, address range 0x2 – 0xF ■ 0x0002 External I2C memory device Any vendor-specific USB write request to the serial ROM device configuration space simultaneously update internal configuration register values as well. If the I2C device is programmed without vendor specific USB commands, the AT2LP must be synchronously 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 enable the AT2LP to address up to 256 bytes of EEPROM data. Internal Config byte writes must be constrained to addresses 0x2 through 0xF, 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 (I2C memory device) remains unchanged. Table 12. EEPROM-related Vendor-Specific Commands Label bmRequestType bRequest LOAD_CONFIG_DATA 0x40 0x01 READ_CONFIG_DATA 0xC0 0x02 wValue 0x0000 Data Source wIndex 30x02 – 0x0F wLength Data Length Starting Address Data Length Data Configuration Data Configuration Data READ_CONFIG_DATA This USB request enables 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 follows: ■ 0x0000 Configuration bytes, addresses 0x0 – 0xF only ■ 0x0002 External I2C memory device Illegal values for wValue result in an undefined operation. Attempted reads from an I2C memory device when none is connected result in an undefined operation. Attempts to read configuration bytes with starting addresses greater than 0xF also, result in an undefined operation. Document Number: 001-05809 Rev. *Q Page 35 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Absolute Maximum Ratings Operating Conditions Exceeding maximum ratings may impair the useful life of the device. These user guidelines are not tested. TA (Ambient Temperature Under Bias) Commercial ................................................... 0 C to +70 C Automotive ................................................. –40 C to +85 C Storage Temperature ............................... –65 C to +150 C Supply Voltage .........................................+3.00 V to +3.60 V Ambient Temperature with Power Applied Commercial ................................................... 0 C to +70 C Automotive ................................................. –40 C to +85 C Ground Voltage ................................................................ 0 V Fosc (Oscillator or Crystal Frequency) ...24 MHz ± 100 ppm, Parallel Resonant Supply Voltage to Ground Potential .............–0.5 V to +4.0 V DC Input Voltage to Any Input Pin .............................. 5.25 V DC Voltage Applied to Outputs in High Z State .................................... –0.5 V to VCC + 0.5 V Power Dissipation .................................................... 300 mW Static Discharge Voltage ......................................... > 2000 V Max Output Current Per I/O Port (D0-D7, D8-15, ATA control) ....................................... 10 mA DC Characteristics Parameter Min Typ Max Unit Supply voltage 3.00 3.3 3.60 V VCC Ramp Supply ramp up 0 V to 3.3 V 200 – – s VIH Input High voltage 2 – 5.25 V VIL Input Low voltage –0.5 – 0.8 V II Input leakage current – – ±10 A VIH_X Crystal input HIGH voltage 2 – 5.25 V VIL_X Crystal input LOW voltage –0.5 – 0.8 V VOH Output voltage High IOUT = 4 mA 2.4 – – V VOL Output voltage Low IOUT = –4 mA – – 0.4 V VCC Description Conditions 0 < VIH < VCC IOH Output current High – – 4 mA IOL Output current Low – – 4 mA CIN Input pin capacitance All but DPLUS/DMINUS – – 10 pF DPLUS/DMINUS – – 15 pF ISUSP ICC Suspend current Connected – 0.5 1.2 mA CY7C68300C/CY7C68320C Disconnected – 0.3 1.0 mA Suspend current Connected – 300 380 A CY7C68301C/CY7C68321C Disconnected – 100 150 A Supply current USB High Speed – 50 85 mA USB Full Speed – 35 65 mA – 43 – mA 5.0 – – ms 200 – – s IUNCONFIG Unconfigured current Current before device is granted full amount requested in bMaxPower TRESET Reset time after valid power VCC > 3.0 V Pin reset after power up Document Number: 001-05809 Rev. *Q Page 36 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C AC Electrical Characteristics ATA Timing Characteristics USB Transceiver Characteristics The ATA interface supports ATA PIO modes 0, 3, and 4, Ultra DMA modes 2, 3, and 4, and multiword DMA mode 2, according to 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 in the AT2LP configuration space and the data reported by the drives in response to an IDENTIFY DEVICE command. Complies with the USB 2.0 specification for full- and high speed modes of operation. Ordering Information Part Number Status Package Type GPIO Pins CY7C68300C-56PVXC – 56-pin SSOP Pb-free for self and bus powered designs – CY7C68300C-56LTXC – 56-pin QFN Sawn Pb-free for self and bus powered designs – CY7C68320C-100AXC – 100-pin TQFP Pb-free for self and bus powered designs CY4615B – EZ-USB AT2LP Reference Design Kit 6 NA Ordering Code Definitions CY 7C683XXC - XXXX X X Temperature Range: X = C or A; C = Commercial; A = Automotive Grade X = Pb-free Package Type: XXXX = 56PV or 56LT or 100A; 56PV = 56-pin SSOP; 56LT = 56-pin QFN; 100A =100-pin TQFP Part Identifier Company ID: CY = Cypress Document Number: 001-05809 Rev. *Q Page 37 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Package Diagrams Figure 11. 100-pin TQFP (14 × 20 × 1.4 mm) Package Outline, 51-85050 ș2 ș1 ș SYMBOL DIMENSIONS MIN. NOM. MAX. A A1 1.60 0.05 0.15 NOTE: 1. ALL DIMENSIONS ARE IN MILLIMETERS. 2. BODY LENGTH DIMENSION DOES NOT INCLUDE MOLD PROTRUSION/END FLASH. A2 1.35 1.40 1.45 D 15.80 16.00 16.20 MOLD PROTRUSION/END FLASH SHALL D1 13.90 14.00 14.10 E 21.80 22.00 22.20 NOT EXCEED 0.0098 in (0.25 mm) PER SIDE. BODY LENGTH DIMENSIONS ARE MAX PLASTIC E1 19.90 20.00 20.10 R1 0.08 0.20 R2 0.08 0.20 ș 0° 7° ș1 0° ș2 11° 13° 12° 0.20 c b 0.22 0.30 0.38 L 0.45 0.60 0.75 L1 L2 L3 e BODY SIZE INCLUDING MOLD MISMATCH. 3. JEDEC SPECIFICATION NO. REF: MS-026. 1.00 REF 0.25 BSC 0.20 0.65 TYP 51-85050 *G Document Number: 001-05809 Rev. *Q Page 38 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Package Diagrams (continued) Figure 12. 56-pin SSOP (300 Mils) Package Outline, 51-85062 51-85062 *F Figure 13. 56-pin QFN ((8 × 8 × 1.0 mm) 6.1 × 6.1 E-Pad (Subcon Punch Type)) Package Outline, 51-85144 51-85144 *J Document Number: 001-05809 Rev. *Q Page 39 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Package Diagrams (continued) Figure 14. 56-pin QFN ((8 × 8 × 1.0 mm) 4.5 × 5.2 E-Pad (Sawn)) Package Outline, 001-53450 001-53450 *E Document Number: 001-05809 Rev. *Q Page 40 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C General PCB Layout Recommendations for USB Mass Storage Designs Quad Flat Package No Leads (QFN) Package Design Notes The following recommendations must be followed to ensure reliable high performance operation: 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 × 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. ■ Use at least a 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. ■ Connect the USB connector shell and signal ground as near to the USB connector as possible. ■ Use bypass or flyback capacitors on VBUS near the connector. ■ Keep DPLUS and DMINUS trace lengths to within 2 mm of each other in length, with a preferred length of 20 to 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. ■ Isolate the DPLUS and DMINUS traces from all other signal traces by no less than 10 mm. Source for recommendations: ■ EZ-USB FX2LP PCB Design Recommendations www.cypress.com/?docID=4696 ■ High-Speed USB Platform Design Guidelines http://www.usb.org/developers/docs/hs_usb_pdg_r1_0.pdf 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, and so on. 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 enable at least 50% solder coverage. The thickness of the solder paste template must be 5 mil. It is recommended that ’No Clean,’ type 3 solder paste is used to mount 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 Cu Fill PCB Material Via hole for thermally connecting the QFN to the circuit board ground plane. Document Number: 001-05809 Rev. *Q 0.013” dia PCB Material This figure only shows the top three layers of the circuit board: Top Solder, PCB Dielectric, and the Ground Plane Page 41 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C 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. Proper Power-Up Sequence Figure 17. X-Ray Image of the Assembly 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 use separate power supplies for the CY7C68300C/CY7C68301C and the ATA/ATAPI device are not recommended. IDE Removable Media Devices The AT2LP 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 or reinsert media 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. Devices With Small Buffers The size of the drive’s buffer can greatly affect the overall data transfer performance. Ensure that 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 to follow is: (approx min buffer) = (data rate) * (seek time + rotation time + other) where ‘other’ may include things such as the time required to switch heads and power up a laser. Drives with buffers that are too small to handle the extra data may perform considerably slower than expected. Document Number: 001-05809 Rev. *Q Page 42 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Acronyms Acronym Document Conventions Description EEPROM Electrically Erasable Programmable Read-Only Memory I/O Input/Output LSB Units of Measure Symbol Unit of Measure °C degree Celsius mA milliampere Least Significant Bit MHz megahertz MSB Most Significant Bit µA microampere PCB Printed Circuit Board µF microfarad QFN Quad Flat No-leads µs microsecond SSOP Shrink Small-Outline Package µW microwatt TQFP Thin Quad Flat Pack ms millisecond USB Universal Serial Bus mV millivolt mW milliwatt ns nanosecond ppm parts per million Document Number: 001-05809 Rev. *Q pF picofarad V volt W watt Page 43 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Errata This section describes the errata for the EZUSB-AT2LP™ CY7C68300C/301C/320C/321C (AT2LP) silicon. Details include errata trigger conditions, available workaround, and silicon revision applicability. Please contact your local Cypress sales representative if you have further questions. Part Numbers Affected Part Number Package Type Operating Range CY7C68300C All Commercial CY7C68301C All Commercial CY7C68320C All Commercial CY7C68321C All Commercial AT2LP Qualification Status In production. AT2LP Errata Summary 1. PIO mode-3 data recovery path does meet spec timings in AT2LP Description The ATA/ATAPI-6 standard specifies the data recovery timings for each of the Read (DIOR)/Write (DIOW) data transfer modes such as PIO mode-0, 1, 2, 3, 4. As per the standard for PIO mode-3 this timing value is 70 ns. In AT2LP the actual value measured is out of spec limits. ■ Implication There is no observed effect due to this behavior but only the waveforms were measured to be out of spec limits. ■ Workaround None ■ Status If the PIO mode-3 is required to use in the application the user is suggested to move to FX2LP-to-ATA reference design (CY4611B) kit. The timing error can be fixed in this kit by modifying the GPIF firmware waveforms. ■ Document Number: 001-05809 Rev. *Q Page 44 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Document History Page Description Title: CY7C68300C/CY7C68301C/CY7C68320C/CY7C68321C, EZ-USB AT2LP™ USB 2.0 to ATA/ATAPI Bridge Document Number: 001-05809 Rev. ECN No. Orig. of Change Submission Date ** 409321 GIR 12/14/2005 New data sheet. *A 611658 ARI / KKU 12/15/2006 Minor grammatical corrections across the document. Removed GPIO2_nHS pin and its related information in all instances across the document. Updated Pin Diagrams: Added figure “56-pin SSOP Pinout (CY7C68320C/CY7C68321C)”. Updated Figure 4 (Corrected part numbers). Updated Figure 5 (Corrected part numbers). Updated Pin Descriptions: Replaced “GPIO2_nHS” with “GPIO2” in “Pin Name” column. Updated Operating Modes: Updated Operational Mode Selection Flow: Updated description. Updated Figure 9. Updated Fused Memory Data: Updated description. Updated EEPROM Organization: Updated Table 11. Updated Ordering Information (Updated part numbers). Updated to new template. *B 2717536 DPT 06/11/2009 Updated Ordering Information (Updated part numbers). Updated Package Diagrams: spec 51-85144 – Changed revision from *F to *G. Added spec 001-53450 Rev. **. *C 2733311 NMMA 07/08/2009 Updated Additional Resources: Updated link. Updated Ordering Information: No change in part numbers. Updated details in “Package Type” and “GPIO Pins” columns. Updated Package Diagrams: Replaced with correct diagram for spec 51-85062 *C. *D 2755364 VIVG 08/28/2009 Added Automotive Temperature Range related information in all instances across the document. Updated Features: Updated Features (CY7C68320C/CY7C68321C only): Added “Automotive AEC Grade Option (–40 °C to 85 °C)”. Added Note “Automotive part information is preliminary.” and referred the same note in “Automotive AEC Grade Option (–40 °C to 85 °C)”. Updated Ordering Information (Updated part numbers). *E 2813871 VIVG / PYRS 11/25/2009 Updated Features: Updated Features (CY7C68320C/CY7C68321C only): Removed Note “Automotive part information is preliminary.” and its reference. *F 2896245 VRD 03/19/2010 Updated Ordering Information (Updated part numbers). Updated Package Diagrams: spec 51-85050 – Changed revision from *B to *C. spec 51-85062 – Changed revision from *C to *D. spec 001-53450 – Changed revision from ** to *B. *G 2956403 NMMA 06/19/2010 Updated Ordering Information (Updated part numbers). Document Number: 001-05809 Rev. *Q Description of Change Page 45 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Document History Page (continued) Description Title: CY7C68300C/CY7C68301C/CY7C68320C/CY7C68321C, EZ-USB AT2LP™ USB 2.0 to ATA/ATAPI Bridge Document Number: 001-05809 Rev. ECN No. Orig. of Change Submission Date *H 3124965 NMMA 01/03/2011 Updated Pin Diagrams: Removed figure “56-Pin SSOP Pinout (CY7C68320C/CY7C68321C)”. Updated Ordering Information: Updated part numbers. Added Ordering Code Definitions. Added Acronyms and Units of Measure. Updated to new template. Completing Sunset Review. *I 3489506 NMMA 01/10/2011 Removed CY7C68321A part related information in all instances across the document. Replaced CY4615C with CY4615B in all instances across the document. Updated Pin Diagrams: Updated Figure 5 (Updated caption only). Updated Ordering Information (Updated part numbers). Updated Package Diagrams: spec 51-85050 – Changed revision from *C to *D. spec 51-85062 – Changed revision from *D to *E. spec 51-85144 – Changed revision from *H to *I. Completing Sunset Review. *J 3578709 NMMA 04/11/2012 Updated Pin Descriptions: Updated description above table. Updated Ordering Information (Updated part numbers). *K 3625641 NMMA 05/24/2012 Updated Package Diagrams: Replaced with correct diagram for spec 51-85050 *D. *L 3847849 YHB / NMMA 12/20/2012 Updated Ordering Information (Updated part numbers). Updated Package Diagrams: spec 51-85062 – Changed revision from *E to *F. spec 001-53450 – Changed revision from *B to *C. *M 3955864 NIKL 04/05/2013 Added Errata. *N 4072998 NIKL 07/23/2013 Added Errata footnotes in all instances across the document. Updated Introduction: Added Note 1 and referred the same note in “PIO mode 3”. Updated Ordering Information (Included a column “Status” and updated the status of CY7C68320C-100AXA as NRND). Updated to new template. *O 4584934 NIKL 12/02/2014 Updated Package Diagrams: spec 51-85050 – Changed revision from *D to *E. spec 001-53450 – Changed revision from *C to *D. Completing Sunset Review. *P 6079528 HPPC 02/23/2018 Updated Package Diagrams: spec 51-85050 – Changed revision from *E to *G. spec 51-85144 – Changed revision from *I to *J. Updated to new template. *Q 6564132 HPPC 05/02/2019 Updated Ordering Information: Updated part numbers. Removed Note “The General Purpose inputs can be enabled on ATAPUEN, PWR500#, and DRVPWRVLD with EEPROM byte 8, bit 7 on CY7C68320C/CY7C68321C.” and its reference. Updated Package Diagrams: spec 001-53450 – Changed revision from *D to *E. Updated to new template. Document Number: 001-05809 Rev. *Q Description of Change Page 46 of 47 CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C Sales, Solutions, and Legal Information Worldwide Sales and Design Support Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. To find the office closest to you, visit us at Cypress Locations. PSoC® Solutions Products Arm® Cortex® Microcontrollers Automotive cypress.com/arm cypress.com/automotive Clocks & Buffers Interface cypress.com/clocks cypress.com/interface Internet of Things Memory cypress.com/iot cypress.com/memory Microcontrollers cypress.com/mcu PSoC cypress.com/psoc Power Management ICs Cypress Developer Community Community | Projects | Video | Blogs | Training | Components Technical Support cypress.com/support cypress.com/pmic Touch Sensing cypress.com/touch USB Controllers Wireless Connectivity PSoC 1 | PSoC 3 | PSoC 4 | PSoC 5LP | PSoC 6 MCU cypress.com/usb cypress.com/wireless © Cypress Semiconductor Corporation, 2005–2019. This document is the property of Cypress Semiconductor Corporation and its subsidiaries (“Cypress”). This document, including any software or firmware included or referenced in this document (“Software”), is owned by Cypress under the intellectual property laws and treaties of the United States and other countries worldwide. Cypress reserves all rights under such laws and treaties and does not, except as specifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with Cypress governing the use of the Software, then Cypress hereby grants you a personal, non-exclusive, nontransferable license (without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code form, to modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organization, and (b) to distribute the Software in binary code form externally to end users (either directly or indirectly through resellers and distributors), solely for use on Cypress hardware product units, and (2) under those claims of Cypress’s patents that are infringed by the Software (as provided by Cypress, unmodified) to make, use, distribute, and import the Software solely for use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation of the Software is prohibited. TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE OR ACCOMPANYING HARDWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. No computing device can be absolutely secure. Therefore, despite security measures implemented in Cypress hardware or software products, Cypress shall have no liability arising out of any security breach, such as unauthorized access to or use of a Cypress product. CYPRESS DOES NOT REPRESENT, WARRANT, OR GUARANTEE THAT CYPRESS PRODUCTS, OR SYSTEMS CREATED USING CYPRESS PRODUCTS, WILL BE FREE FROM CORRUPTION, ATTACK, VIRUSES, INTERFERENCE, HACKING, DATA LOSS OR THEFT, OR OTHER SECURITY INTRUSION (collectively, “Security Breach”). Cypress disclaims any liability relating to any Security Breach, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from any Security Breach. In addition, the products described in these materials may contain design defects or errors known as errata which may cause the product to deviate from published specifications. To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without further notice. Cypress does not assume any liability arising out of the application or use of any product or circuit described in this document. Any information provided in this document, including any sample design information or programming code, is provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality and safety of any application made of this information and any resulting product. “High-Risk Device” means any device or system whose failure could cause personal injury, death, or property damage. Examples of High-Risk Devices are weapons, nuclear installations, surgical implants, and other medical devices. “Critical Component” means any component of a High-Risk Device whose failure to perform can be reasonably expected to cause, directly or indirectly, the failure of the High-Risk Device, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from any use of a Cypress product as a Critical Component in a High-Risk Device. You shall indemnify and hold Cypress, its directors, officers, employees, agents, affiliates, distributors, and assigns harmless from and against all claims, costs, damages, and expenses, arising out of any claim, including claims for product liability, personal injury or death, or property damage arising from any use of a Cypress product as a Critical Component in a High-Risk Device. Cypress products are not intended or authorized for use as a Critical Component in any High-Risk Device except to the limited extent that (i) Cypress’s published data sheet for the product explicitly states Cypress has qualified the product for use in a specific High-Risk Device, or (ii) Cypress has given you advance written authorization to use the product as a Critical Component in the specific High-Risk Device and you have signed a separate indemnification agreement. Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB, F-RAM, and Traveo are trademarks or registered trademarks of Cypress in the United States and other countries. For a more complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respective owners. Document Number: 001-05809 Rev. *Q Revised May 2, 2019 Page 47 of 47
CY7C68300C-56PVXC 价格&库存

很抱歉,暂时无法提供与“CY7C68300C-56PVXC”相匹配的价格&库存,您可以联系我们找货

免费人工找货