Cypress.com: Documentation http://www.cypress.com/?app=search&searchType=advanced&id%3D190 AN65209 - Getting Started with FX2LP™ http://www.cypress.com/?rID=48371 If you are looking at FX2LP for the first time, this is an excellent place to start. In this application note, you learn to build a project for FX2LP and explore its various development tools. This note also provides background information on USB 2.0 and guides you to the appropriate documentation to accelerate in-depth learning about FX2LP.

]]>
Tue, 07 May 2013 11:42:07 -0600
AN61345 - Designing with EZ-USB FX2LP™ Slave FIFO Interface using FPGA http://www.cypress.com/?rID=43046 An FX2LP-FPGA interface is implemented to add High-Speed USB connectivity for FPGA based applications, such as data acquisition, industrial control and monitoring, and image processing. The FX2LP functions in synchronous Slave-FIFO mode and the FPGA acts as the master. This application note also provides a sample FX2LP firmware for Slave-FIFO implementation and a sample VHDL and Verilog project for FPGA implementation.

]]>
Tue, 07 May 2013 11:41:22 -0600
AN4067 - Endpoint FIFO Architecture of EZ-USB FX1/FX2LP™ http://www.cypress.com/?rID=12926 This application note describes the FIFO architecture of the EZ-USB FX1, the full speed USB microcontroller and the EZ-USB FX2LP„·, the high-speed USB microcontroller. The purpose of this application note is to help the user understand the very basics of the FX1/FX2LP and get familiar with the terminologies used while describing the data flow in FX1/FX2LP. The application note addresses and discusses the following:

  • Three modes of operation of the FX1/FX2LP
  • Endpoint Configuration and Multiple Buffering
  • Three Domains that form the basic component of the FIFO architecture
  • Arming and committing endpoint buffers
  • Endpoint operation in manual vs. auto mode
]]>
Thu, 02 May 2013 05:30:16 -0600
Difference between FX2LP™ Port I/O, GPIF, and Slave FIFO Modes - KBA83522 http://www.cypress.com/?rID=79305 Answer: The key difference is that in the Port I/O mode, devices can use the FX2LP CPU to process USB data directly, without the need of a Master control. The GPIF interface is the master when you use the GPIF mode, and the Slave FIFO mode requires an external master, such as an FPGA.


FX2LP was designed to be used in either one of the modes: Port I/O, Slave FIFO, or GPIF. For more information, refer to the application note Endpoint FIFO Architecture of EZ-USB FX1/FX2(TM) - AN4067.


It is possible to switch from one mode to another. Before switching from slave FIFO to GPIF or vice versa, you must make sure that there is no data transfer in progress as far as the physical interface is concerned or for that master on the USB end (host is not sending or receiving data from any of the endpoint).


You must make sure that the FIFO is reset and the device is in a state (no data activity in progress). When this is done, you may switch from one mode to the other. Switching from one mode of operation to another is not an intended feature, but something that you may do as long as the device is in a stable state.

]]>
Thu, 02 May 2013 05:24:30 -0600
Read and Write to EZ-USB® Internal Memory (AN21xx/FX/FX1/FX2/FX2LP™) - KBA87109 http://www.cypress.com/?rID=79304 Answer: You can use the A0 vendor command to read and write to the internal memory of EZ-USB (AN21xx/FX/FX1/FX2/FX2LP). For this vendor command to work, the CPU of the device must be in reset. To put the CPU in reset, send the A0 vendor command with E600 (for FX1/FX2/FX2LP; for older parts like FX use 7F92) as value and 01 as data. To bring the CPU out of reset, send 00 as data.


For reading and writing to the external memory you can download vend_ax example to the device, and then use the A3 vendor command. Both these vendor commands use Value field to specify the memory location.


Note Install CY3684 FX2LP and CY3681 FX2 development kits for a different version of vend_ax (file path:C:\Cypress\USB\Examples).

]]>
Thu, 02 May 2013 04:58:25 -0600
Converting Error Codes into Strings Using CyAPI.lib - KBA84115 http://www.cypress.com/?rID=42713 The error codes can be converted into strings by using the CCyUSBDevice::UsbdStatusString(ULONG stat, PCHAR s). The variable ‘stat’ is the UsbdStatus error code obtained from NtStatus and ‘s’ holds the converted meaningful string.

-->

Answer: Error codes can be converted into strings using:

CCyUSBDevice::UsbdStatusString(ULONG stat, PCHAR s)

Where:
‘stat’ is the UsbdStatus error code obtained from NtStatus
‘s’ holds the converted string

]]>
Mon, 15 Apr 2013 05:00:40 -0600
Debugging Over JTAG with FX2LP - KBA84114 http://www.cypress.com/?rID=42807 The FX2LP does not support debugging over JTAG. If your USB requirement is only full speed, then an alternative is the PSoC3 which supports JTAG debugging. FX2 supports only serial port debugging.

-->

Answer: FX2LP does not support debugging over JTAG, it only support serial port debugging. PSoC3 supports JTAG debugging and is an alternative if you only require full-speed USB.

For more details on serial port debugging with FX2LP refer to AN58009.

]]>
Mon, 15 Apr 2013 04:43:56 -0600
I2C Clock Stretching in FX2LP - KBA84113 http://www.cypress.com/?rID=40035 The FX2LP I2C controller supports clock stretching. Once the master(FX2LP) drives SCL low, external slave devices can hold SCL low to extend clock-cycle times.
 

-->

Answer: Yes, the FX2LP I2C controller supports clock stretching. Once the master (FX2LP) drives SCL low, external slave devices can hold SCL low to extend clock-cycle times.

]]>
Mon, 15 Apr 2013 03:27:26 -0600
USB High Speed Host - KBA87002 http://www.cypress.com/?rID=78225 Answer: Cypress offers an embedded high-speed (HS) On-The-Go (OTG) host in the FX3, Bay, and Benicia products. The term "embedded host" means that it works only with a targeted list of peripherals. The embedded host in FX3, Bay, and Benicia supports Mass Storage Class (MSC) and Human Interface Device (HID) device class natively. For all other device classes, a pass-through mode is enabled such that an applications processor that is connected to FX3, Bay, or Benicia can support any required device class.

]]>
Fri, 12 Apr 2013 07:30:59 -0600
Reference Design for the Image Sensor Interface with FX2/FX3 - KBA87007 http://www.cypress.com/?rID=78223 Answer: Cypress does have a reference design for FX3, but there is no reference design for FX2. Cypress offers an FX3 HD 720p camera kit solution to customers. There is also a third party reference design. For more information, go to http://www.cypress.com/?id=3526&rtID=432.

]]>
Fri, 12 Apr 2013 07:21:50 -0600
LINUX Drivers for USB Devices - KBA87010 http://www.cypress.com/?rID=78217 Answer: Cypress does not directly provide drivers. In the LINUX community, there are examples of driving EZ-USB FX1, FX2, and FX3. We do provide an application note AN73609, which shows how to interface the FX2LP and FX3 to these drivers.

]]>
Fri, 12 Apr 2013 05:17:36 -0600
WINDOWS Drivers for Cypress USB Products - KBA87000 http://www.cypress.com/?rID=78215 Answer: Yes. Click on this link for SuiteUSB 3.4, which is a set of USB development tools for Visual Studio. You can use these tools to create .NET Windows applications for all Cypress USB 2.0 families.

]]>
Fri, 12 Apr 2013 05:04:47 -0600
AN60081 - Interfacing Samsung MuxOneNand to Cypress USB Controllers http://www.cypress.com/?rID=40975 Introduction

The EZ-USB FX2LP™ is a versatile, USB 2.0 compliant High Speed USB controller from Cypress. FX2LP has an 8051 core and a highly configurable interface (GPIF) to external memory devices and other peripherals or controllers. Cypress also provides a configurable Firmware Frameworks written in C, which implements a fully compliant USB interface for FX2LP.

]]>
Tue, 02 Apr 2013 03:57:37 -0600
AN76348 - Differences in Implementation of EZ-USB® FX2LP™ and EZ-USB FX3 Applications http://www.cypress.com/?rID=61948 Through the use of several example applications, you learn about the differences between FX3 and FX2LP at the architectural, hardware level, and firmware framework levels.

Introduction

Cypress EZ-USB FX3 is the USB 3.0 peripheral controller, with highly integrated and flexible features that allow you to add USB 3.0 functionality to any system.

]]>
Wed, 27 Mar 2013 02:14:00 -0600
NX2LP™ NAND Programming Utility Does Not Detect NAND Flash on Windows 7 - KBA85453 http://www.cypress.com/?rID=77219 Answer: Run the programming utility on Windows 7 as administrator to ensure compatibility with Windows XP.

]]>
Fri, 22 Mar 2013 05:26:02 -0600
Startup I2C Clock Rate for EZ-USB® FX2LP™ - KBA85384 http://www.cypress.com/?rID=34580 Answer: The bus frequency defaults to approximately 100 kHz for compatibility, but you can configure it to run at 400 kHz for devices that support the higher speed. Setting bit 0 of I2CTL (E67A) register to 1 causes EZ-USB to drive SCL at approximately 400 kHz. When the CPU begins to run, firmware can modify the I2CTL.0 bit.

]]>
Fri, 22 Mar 2013 00:45:08 -0600
I2C Read using FX2™ and FX2LP™ - KBA85382 http://www.cypress.com/?rID=40050 Answer: I2C read implementation is illustrated in the file i2c.c, which is available in the path \Cypress\USB\Target\Lib\LP\i2c.c.

In this file, the implementation of read occurs in the ISR. The I2C_Read function sends the Read Command and changes the I2C.PktStatus to I2C_PRIME. The I2C enters the ISR every time a byte of data is successfully transferred when the DONE bit is set High.

When the following section of code is executed for the first time, the data that has been read is stored to I2CPckt.dat and the status is changed to I2C_RECEIVING:

case I2C_PRIME:
I2CPckt.dat[I2CPckt.count] = I2DAT;
I2CPckt.status = I2C_RECEIVING;
if(I2CPckt.length == 1) // may be only one byte read
I2CS |= bmLASTRD;
break;

To read more data, the following section of the code is executed the next time the ISR is serviced:

case I2C_RECEIVING:
if(I2CPckt.count == I2CPckt.length - 2)
I2CS |= bmLASTRD;
if(I2CPckt.count == I2CPckt.length - 1)
{
I2CS |= bmSTOP;
I2CPckt.status = I2C_IDLE;
}
I2CPckt.dat[I2CPckt.count] = I2DAT;
++I2CPckt.count;
break;
]]>
Fri, 22 Mar 2013 00:38:09 -0600
Updating FIFOADR Signals in FX2LP™ - KBA85379 http://www.cypress.com/?rID=44387 Answer: Yes, you can update FIFOADR signals at tFAH after sampling the last data. You do not have to wait for SLWR signals to go HIGH.

]]>
Fri, 22 Mar 2013 00:19:51 -0600
ESD Protection for EZ-USB® FX2LP™ - KBA85383 http://www.cypress.com/?rID=39845 Answer: Yes, the FX2LP has ESD protection up to 2 kV. This information is available in section 5 of the FX2LP datasheet.

For information on how to increase the ESD protection, refer to page 10 of the document titled High Speed USB Platform Design Guidelines at the USB-IF website www.usb.org.

]]>
Fri, 22 Mar 2013 00:13:53 -0600
Linux Support for FX2LP™ and other USB Peripherals, such as AN2131/FX/FX1/FX2 - KBA85499 http://www.cypress.com/?rID=77096 Answer: Yes, Cypress provides a development package in Linux with FX3™. You can use the same package for FX2LP. You can use the FX3 drivers CyUSB3.sys instead of CyUSB.sys for your development.

To download the package, go to www.cypress.com/?rID=57990. Download the file: “FX3 SDK for Linux platforms - This is a Tar archive containing the FX3 firmware libraries and examples, the ARM GNU tool chain, Eclipse IDEs (x64 and x86 versions) and the CyUSB suite for Linux platforms.” Ignore the FX3 firmware files.

Refer to the documents cyusb_linux_user_guide.pdf and cyusb_linux_programmers_guide.pdf, which will get installed in the docs folder along with the software development kit at the location cyusb_linux_1.0.2/ docs.

]]>
Thu, 21 Mar 2013 03:04:53 -0600
SFRs associated with EZ-USB® FX2LP™ Serial Ports - KBA83526 http://www.cypress.com/?rID=77086 Answer: These are the SFRs for FX2LP serial ports. For more information, see the corresponding register tables in the EZ-USB Technical Reference Manual:


PCON (SFR 0x87) Bit 7, Serial Port 0 rate control SMOD0 (Table 14-13)

SCON0 (SFR 0x98) Serial Port 0 control (Table 14-11)

SBUF0 (SFR 0x99) Serial Port 0 transmit/receive buffer

EICON (SFR 0xD8) Bit 7, Serial Port 1 rate control SMOD1 (Table 14-12)

SCON1 (SFR 0xC0) Serial Port 1 control (Table 14-14)

SBUF1 (SFR 0xC1) Serial Port 1 transmit/receive buffer

T2CON (SFR 0xC8) Baud clock source for modes 1 and 3 (Table 14-5)

UART230 (0xE608) High-Speed Baud Rate Generator enable (Section 14.3.2)

Note: The registers PCON and EICON include functionalities that are not part of the serial interface.

]]>
Thu, 21 Mar 2013 01:20:00 -0600
CY7C68034 - IBIS http://www.cypress.com/?rID=77011 Wed, 20 Mar 2013 04:51:16 -0600 AN14558 - Implementing I/O Bit-Bang SPI Interface with EZ-USB FX2LP™ http://www.cypress.com/?rID=49544 AN14558 shows you how to implement the I/O Bit-Bang SPI interface. It uses the EZ-USB FX2LP™ as a SPI Master and a SPI Serial Flash (M25P40) as an SPI slave. The example project has a host application gives you access to the flash.

]]>
Tue, 19 Mar 2013 04:20:02 -0600
AN58764 - Implementing a Virtual COM Port using FX2LP http://www.cypress.com/?rID=40248 This application note explains how to implement a virtual COM port device using the standard Windows driver in FX2LP. This information helps in easy migration from UART to USB. The example code is provided with the application note, along with the required descriptors, class specific request handling, and the INF file required for enumeration. ]]> Tue, 19 Mar 2013 01:00:59 -0600 EZ-USB® FX2™ Technical Reference Manual and Datasheet - KBA83525 http://www.cypress.com/?rID=28709 Answer: Install EZ-USB_devtools_version_261700.zip from the CY3681 EZ-USB FX2 Development Kit in your default directory. The FX2 Technical Reference Manual is available at C:\Cypress\USB\doc\FX2\FX2 TechRefManual.pdf. The datasheet is available at C:\Cypress\USB\doc\FX2\38-08012.pdf (CY7C68013).

]]>
Mon, 18 Mar 2013 06:21:32 -0600
"Install driver for Cypress AT2LP RC42” and “Install driver for Cypress AT2LP RC58" Error Messages - KBA84340 http://www.cypress.com/?rID=38494 Answer: These error messages are not related to the Cypress device, but rather the EEPROM attached to your hard drive. The contents of the EEPROM may have been corrupted. Cypress has prepared this document to help you recover your hard drive.


Note: Cypress does not manufacture hard drives. Cypress is not responsible for the recovery of the hard drive. If the information presented in the document does not solve your problem, please contact the HARD Disk Drive Manufacturer for further assistance.

]]>
Thu, 28 Feb 2013 15:43:19 -0600
AN58986 - NAND Flash Page Reader for NX2LP Based Mass Storage Devices http://www.cypress.com/?rID=49145 Overview

In this application note, a host application is developed in VC# to demonstrate reading and writing to the pages of a NAND Flash interfaced to an NX2LP/NX2LP-Flex device. This can be used to read from and write to Nand flashes interfaces to NX2LP, by specifying physical addresses. The host application is specific to NX2LP/NX2LP-Flex based mass storage devices because it communicates to the device using vendor specific requests. Vendor specific requests issued through the application are implemented in the NX2LP/NX2LP-Flex firmware.
 

]]>
Fri, 15 Feb 2013 03:54:48 -0600
AN78446 - Interrupt Handling in EZ-USB® FX2LP™ http://www.cypress.com/?rID=64207 Introduction

EZ-USB® FX2LP™ incorporates 13 interrupt sources in its interrupt architecture, five standard 8051 interrupts and eight additional EZ-USB interrupts.

Standard 8051 Interrupts:

  • IE0(INT0): External Interrupt0
  • IE1(INT1): External Interrupt1
  • RI_0 & TI_0: USART1 Interrupt
  • TF0: Timer0 Overflow
  • TF1: Timer1 Overflow


Additional EZ-USB interrupts:

  • TF2: Timer2 Overflow
  • PF1: Wake up pin(WU2)
  • RI_1 & TI_1: UART 1 Transmit and receive
  • USBINT(INT2): USB specific Interrupt
  • I2CINT(INT3): I2C Bus Interrupt
  • IE4(INT4): External Interrupt 4
  • IE5(INT5): External Interrupt 5
  • IE6(INT6): External Interrupt 6
     

For more, see pdf.

]]>
Fri, 08 Feb 2013 05:36:44 -0600
Reset Problems When Re-programming the 24LC64 EEPROM on the FX2 - KBA83436 http://www.cypress.com/?rID=26148 Answer: The reason is that this utility defaults to a 0xB2 load (for example, it writes the first byte as 0xB2 in the EEPROM), which is for the older EZ-USB chips. To avoid this error, follow these steps:

  1. In the µVision2 Editor, click ‘Options for Target’ and then select the ‘Output’ Tab. Ensure that the following path is described in the ‘ Run User Program #1’:

     

    ..\..\..\Bin\hex2bix -i -f 0xC2 -o fw.iic fw.hex

  2. If at power-on-reset, the EZ-USB detects an EEPROM connected to its I2C with the value 0xC2 at address zero, the EZ-USB loads the firmware in EEPROM into an on-chip RAM. It also sets the RENUM bit to ‘1’, causing standard device requests to be handled by the firmware instead of the default USB device.
]]>
Thu, 31 Jan 2013 23:31:35 -0600
CY3687 MoBL-USB FX2LP18 Development Kit http://www.cypress.com/?rID=14300

-->

 

The development kits for the MoBL-USB FX2LP18(TM) family provide complete hardware and software solutions for accelerating the firmware and device driver development for all the products in the family. The development kits use the actual silicon for the entire development. Cypress's software utilities and example firmware allow the user to generate USB traffic in hours, not weeks!
 

Cypress includes an evaluation version of the 8051 Keil Software Tools in the USB 2.0 development kit. The evaluation version of the C-Compiler lets the designer write 8051 microcontroller applications in C and still get the efficiency and speed of assembly language. Advanced features from Keil tools include the ability to single step through code. This makes it easy to detect errors, handle source level debugging, and set breakpoints. With the ability to debug code one line at a time and to quickly compile and one-step download new code, developers have a more efficient means to complete firmware faster than using emulators. The supplied Keil tools are fully functional, but are limited in object size to 4 kilobytes.

 

New! The new generation of the General Programmable Interface (GPIF) Tool is available. Download GPIF Designer now!


Hardware Description

The kit includes the following: MoBL-USB development board with CY7C68053-56BAXC, peripheral board for prototyping, USB cable, and an RS232 9-pin to 9-pin cable.

For part details you can access the MoBL-USB(R) FX2LP18 Technical Reference Manual (TRM) at:
http://www.cypress.com/?rID=14666
]]>
Fri, 18 Jan 2013 06:29:14 -0600
Code/Memory Banking Using EZ-USB® - AN58170 http://www.cypress.com/?rID=40118
The EZ-USB® family of chips has an 8051 core. The 8051 core has a 16-bit address line and is only able to access 64 KB of memory. However, the firmware size sometimes exceeds 64 KB This application note describes methods of overcoming this 64 KB limitation and also demonstrates the implementation of one such method.
]]>
Thu, 17 Jan 2013 05:28:50 -0600
CY3688 MoBL-USB™ TX2UL Development Kit http://www.cypress.com/?rID=17668

The TX2UL is the industry's smallest Hi-Speed USB PHY and supports both High-Speed (480Mbits/sec) and Full-Speed (12Mbits/sec) modes. TX3LP18 answers the need for a ULPI interfaced Hi-Speed USB2.0 transceiver for use with next generation processors. Its small packaging and low power consumption make it a perfect solution for mobile applications.

Design and integrate TX2UL into your platform today with the help of the MoBL-USB™ TX3LP18 Development Kit. The CY3688 can be connected to any existing development platform with a ULPI interface, enabling system designers to easily integrate high-speed USB functionalities into their applications.

CY3688 board features include: the TX2UL device itself, USB connector, ULPI connector and three separate power measurement test points. To provide more flexibility in the configuration of the board, jumper options are available to toggle power supply and ULPI controller options.

Hardware Description:

Kit contents include:

  • MoBL-USB™ TX2UL DVK Board
  • Power supply
  • USB cable
  • Quick Start Booklet
  • Complete documentation CD including a comprehensive user guide as well as board schematic and layout

To order, please contact your local sales distributor.

]]>
Tue, 15 Jan 2013 04:55:01 -0600
Implementing an 8-Bit Parallel MPEG2-TS Interface Using Slave FIFO Mode in FX2LP - AN58069 http://www.cypress.com/?rID=39714 The example code uses EZ-USB FX2LP™ (CY7C68013/14/15/16) at the receiver end and a data generator as the source for the data stream. The hardware connections and example code are included with this application note. In addition, this application note describes a design example that uses this interface.

Introduction

The EZ-USB FX2LP is an excellent solution if you want to a high-performance high-speed USB to a design. In applications similar to a TV dongle, an MPEG2-TS to USB Bridge is critical. The EZ-USB FX2LP not only takes care of glueless logic, but also makes it easier for the designer to complete the design. This application note addresses the hardware connections and example firmware required to implement the MPEG2-TS interface using the Slave FIFO mode.

]]>
Thu, 10 Jan 2013 04:32:52 -0600
AN50963 - EZ-USB® FX1™/FX2LP™ Boot Options http://www.cypress.com/?rID=34253 Thu, 27 Dec 2012 01:06:17 -0600 AN58009 - Serial (UART) Port Debugging of FX1/FX2LP Firmware http://www.cypress.com/?rID=39786 This application note describes the code to be added to FX2LP firmware for serial port debugging. This code enables the developer to print debug messages and real-time values of variables to the HyperTerminal program on a Windows computer or to capture it in a file using the UART in FX2LP.

]]>
Wed, 26 Dec 2012 08:02:17 -0600
CY3684 EZ-USB FX2LP Development Kit http://www.cypress.com/?rID=14321


The development kits for the EZ-USB FX2LP™ family provide complete hardware and software solutions for accelerating the firmware and device driver development for all the products in the family. The development kits use the actual silicon for the entire development. Cypress's software utilities and example firmware allow the user to generate USB traffic in hours, not weeks!

Cypress includes an evaluation version of the 8051 Keil Software Tools in the USB 2.0 development kit. The evaluation version of the C-Compiler lets the designer write 8051 microcontroller applications in C and still get the efficiency and speed of assembly language. Advanced features from Keil tools include the ability to single step through code. This makes it easy to detect errors, handle source level debugging, and set breakpoints. With the ability to debug code one line at a time and to quickly compile and one-step download new code, developers have a more efficient means to complete firmware faster than using emulators. The supplied Keil tools are fully functional, but are limited in object size to 4 kilobytes.
 

New! The new generation of the General Programmable Interface (GPIF) Tool is available. Download GPIF Designer now!

 

For part delails you can access the EZ-USB® Technical Reference Manual (TRM) at http://www.cypress.com/?rID=38232.

For software collaterals download SuiteUSB (http://www.cypress.com/?rID=34870)


Hardware Description

The kit includes the following: EZ-USB development board with CY7C68013A-128AXC, peripheral board for prototyping, USB cable, and an RS232 9-pin to 9-pin cable.

Related Datasheet: CY7C68013A
]]>
Fri, 21 Dec 2012 03:54:53 -0600
Building Custom .nx2 File - KBA83970 http://www.cypress.com/?rID=38831 Answer: New .nx2 file may be built using BldNx2.exe utility that comes with CY3686 SDK. The hex file selection for the custom .nx2 file desired, which is to be downloaded onto the NX2LP Flex Kit, is made on the basis of the page size of the NAND Flash, the NX2LP is interfacing with. The BldNx2.exe requires two separate set of firmware: 512-NAND firmware inand_fw.hex and either 2K-NAND firmware, nand_mc2k.hex or 4K-NAND firmware, nand_mc4k.hex.

]]>
Thu, 20 Dec 2012 02:45:23 -0600
Utilization of the Unused GPIF Control Lines - KBA83964 http://www.cypress.com/?rID=38449 Answer: No, triggering of the GPIF does not change the state of the unused control lines. This is an advantage in a situation when we are using only a few of the GPIF control lines. Let us say, of the 6 available control lines, we are using only 2 for GPIF and the rest 4 can be used for other purposes. When the GPIF is idle, we can manipulate (enable and drive a value) the state of the unused 4 control lines using the GPIFIDLECTL register. Even when the GPIF is triggered, the unused control lines will retain the value they were initialized to in the GPIFIDLECTL register.

]]>
Thu, 20 Dec 2012 02:38:31 -0600
FX2LP does not enumerate for Firmware (code+xdata) of Size Greater than 16 K - KBA83973 http://www.cypress.com/?rID=39838 Answer: Check in your .m51 file where the compiler is placing the descriptor files. The issue might be that the compiler is putting the descriptor table into external memory. When this happens fw.c relocates the descriptor table to memory location 0x0080 where it overwrites some portion of the code. This might cause error in enumeration or incorrect functioning of some part of code. You can specify the starting location of your code memory after leaving space for the interrupt vector tables and the descriptor table.


For example, in the BL51 locate tab, you can specify your code to begin at a location greater than (0x0080 + length of your descriptor table). Here, 0x0000 - 0x0080 will contain the interrupt vector table. For example if the length of your descriptor table is 80h, you can safely start your code from 0x120h.

]]>
Thu, 20 Dec 2012 02:09:24 -0600
Multiple FX2LP Devices Connected to Host - KBA83974 http://www.cypress.com/?rID=39823 Answer: The iSerialNumber byte in the DeviceDescriptor can be used to uniquely identify the devices even if the devices have the same VID/PID.

]]>
Thu, 20 Dec 2012 01:54:16 -0600
AN70983 - EZ-USB FX2LP™ Bulk Transfer Application in C# Using SuiteUSB C# Library (CyUSB.dll) http://www.cypress.com/?rID=53165 The content of “AN70983 - EZ-USB FX2LP™ Bulk Transfer Application in C# Using SuiteUSB C# Library (CyUSB.dll)” is now available in the Cypress USBSuite Application Development Guide. Please refer to this guide for more details on developing applications using CyUSB.dll/CyAPI.lib libraries.-->

Overview

Cypress EZ-USB FX2LP™ is one of the most popular programmable high-speed USB controllers in the industry. This application note has two parts.

Host application: This application is built on the Microsoft Visual C# 2008 platform. The application communicates to BULK IN and BULK OUT endpoints of  FX2LP™ using the interfaces given by CyUSB.dll. The CyUSB.dll, in-turn communicates internally with the Cypress USB driver CyUSB.sys, for talking to these endpoints.

Target firmware: This describes related firmware residing on target, which transfers the data sent from the host application on BULK OUT endpoint to the BULK IN endpoint, for sending it back to the host application in loopback fashion.

 

]]>
Wed, 19 Dec 2012 03:04:43 -0600
AN70486 - EZ-USB® FX2LP™ Host Application in VC++ 2008 Using Suite USB Library (CyUSB.dll) http://www.cypress.com/?rID=53167 The content of “AN70486 - EZ-USB® FX2LP™ Host Application in VC++ 2008 Using Suite USB Library (CyUSB.dll)” is now available in the Cypress USBSuite Application Development Guide. Please refer to this guide for more details on developing applications using CyUSB.dll/CyAPI.lib libraries.

-->

Overview

AN70486 describes a host application built on the Microsoft Visual C++ 2008 platform that uses CyUSB.dll to communicate with Cypress USB driver, CyUSB.sys. The host application communicates with the BULK IN and BULK OUT endpoints of FX2LP, using the interfaces provided by the APIs of CyUSB.dll. The CyUSB.dll in-turn communicates internally with Cypress USB driver (CyUSB.sys), for talking to these endpoints. This host application implements the transfer only with devices that pass the particular VID/PID identification. The example device used in this application note is the Bulkloop device. The firmware that is attached along with this application note causes a loop back of data inside the device. Thus this host application, with the attached Bulkloop device, demonstrates the loopback of data.

 

]]>
Wed, 19 Dec 2012 03:02:48 -0600
Interfacing SRAM with FX2LP over GPIF - AN57322 http://www.cypress.com/?rID=39392 It describes how to create read and write waveforms using the GPIF Designer. This application note is also useful as a reference to connect FX2LP to other SRAMs.

Introduction

The GPIF is an 8-bit or 16-bit programmable parallel interface that helps to reduce system costs by providing a glueless interface between the EZ-USB FX2LP™ and an external peripheral. It is a highly configurable and flexible piece of hardware that allows you to get the most out of your USB 2.0 design. GPIF fits into applications that need an external mastering device to exchange information.

]]>
Wed, 28 Nov 2012 23:52:45 -0600
FX2LP DMB-T/H TV Dongle Reference Design Guide http://www.cypress.com/?rID=37775 FX2LP_Top
FX2LP_Bottom



The Cypress FX2LP and Legend Silicon based DMB-TH TV Dongle Reference Design consists of all files required for the complete design. It has a tuner from ADI, which tunes the RF signal to the Legend Silicon demodulator. This sends the TV signals in MPEG2_TS stream to Cypress FX2LP, which then sends them to the PC through the USB interface. In the PC, the BDA driver forwards the data from the USB to the Media Player application where it is played.

Reference Design Contents:
  1. Schematics in .pdf and .dsn format
  2. Gerber files
  3. Bill of Materials
  4. Firmware source code
  5. Driver Object Code
  6. Reference Design Guide
     
OS Supported: The above given reference design has been tested with Windows XP/32 bit platform and WHQL certified. The process of testing with other OS platforms are underway and will be updated once it is done.

Note: We recommend the users not to use the reference design with any other OS Platform other than Win XP32.

For more information about the entire design , please contact your local Cypress sales office.
]]>
Wed, 21 Nov 2012 22:29:03 -0600
CY3686 EZ-USB NX2LP-Flex™ USB 2.0 Development Kit http://www.cypress.com/?rID=14320

CY3686 EZ-USB NX2LP-Flex Development Kit

The CY3686 EZ-USB NX2LP-Flex(TM) USB 2.0 Development Kit is designed to accelerate your development of a NAND flash based USB 2.0 application featuring industry's first and only programmable USB 2.0 NAND controller (CY7C68033 and CY7C68034). Design a feature-rich thumbdrive with fingerprint sensor or GPS or add NAND storage to your DVB card. NX2LP-flex eliminates the need of EEPROMs in your firmware based designs!

The combination of revolutionary hardware and programming utility software provides the designer with complete development and manufacturing support. This development kit allows scalable testing and evaluation of the Cypress EZ-USB NX2LP-Flex NAND Flash Controller device (CY7C68033 and CY7C68034) with different NAND flash devices. The hardware platform is designed to support between 1-8 single-device NAND flash chips, or 1-4 dual-device NAND flash chips for scalable density testing.

Additionally, Cypress includes a Device Programming Utility to assist in the manufacturing environment. This programming utility allows easy NAND flash configuration during the design and manufacturing process. Use NX2LP-Flex Release Notes.pdf as your starting point.

Kit Contents

This kit includes the following items:
  • EZ-USB NX2LP-Flex DVK Platform Board
  • EZ-USB FX2LP Base Board
  • Prototyping Board
  • EZ-USB NX2LP-Flex DVK CD-ROM - CD-ROM provides kit documentation, hardware schematics and bills of materials, development tools, and Manufacturing programming tools (see CD-ROM Contents below)
  • USB Cable - USB type A-to-type B cable connects the USB host PC to the DVK board
  • Documentation Packet - Contains welcome letter and selected documentation
     
Software Contents
  • Firmware Source and Object Code (supports 512, 2K and 4K page sized NAND devices)
  • Manufacturing Tools
  • GPIF_Designer Tool
     
Documentation Contents
  • EZ-USB NX2LP-Flex Customer Welcome Letter
  • EZ-USB NX2LP-Flex Development Kit User's Guide
  • EZ-USB NX2LP-Flex Firmware Design Notes
  • EZ-USB NX2LP-Flex Datasheet
  • EZ-USB FX2LP Datasheet
  • EZ-USB FX2LP-DVK User's Guide
  • USB Mass Storage Test Guide

Note: MfgTool_Directory_Update_Nov_2012.zip contains following updates

  • CY3686 Firmware fix for Toshiba 2K SLC NAND parts (TC58NVG0S3ETA00, TC58DVG02D5TA00).
  • Added new SLC part-Spansion -S34ML01G1 to the compatibility list.
Refer Readme.txt for more details.
]]>
Tue, 06 Nov 2012 23:45:08 -0600
AN74505 - EZ-USB® FX2LP™ - Developing USB Application on MAC OS X using LIBUSB http://www.cypress.com/?rID=59674 Introduction

AN74505 describes a host application built on the MAC OS platform that uses libusb. The host application (Cocoa Application) communicates with the BULK IN and BULK OUT endpoints of FX2LP, using the interfaces provided by the APIs of libusb. This host application implements the transfer only with devices that pass the particular VID/PID(=0x04B4/0x1004) identification.

Cypress also provides a Cypress SuperSpeed Suite for MacOS platforms, which includes a Cypress API wrapper based on LibUSB. The Wrapper library for MacOS can be downloaded from this link http://www.cypress.com/?rID=57990

]]>
Mon, 05 Nov 2012 03:38:54 -0600
RESERVED Pin of FX2/FX2LP - KBA83346 http://www.cypress.com/?rID=71317 Answer: The RESERVED pin of FX2/FX2LP USB device is used for internal testing and verification, and should be connected to GND in the design.

]]>
Tue, 30 Oct 2012 02:48:46 -0600
Gerber Files of CY3684 FX2LP Development Kit – KBA83343 http://www.cypress.com/?rID=71318 Answer: The Gerber files can be found in the link CY3684 EZ-USB FX2LP Development Kit in the zip file PDC-9086-A.zip.

]]>
Tue, 30 Oct 2012 02:46:26 -0600
Thermal Via for FX2/FX2LP 56-pin QFN Package Part - KBA83341 http://www.cypress.com/?rID=57539 Answer: Yes, you should have to use the thermal via when designing the PCB layout for FX2/FX2LP 56-pin QFN package part. The thermal via is used for the thermal design consideration of FX2/FX2LP 56-pin QFN package part. The design of the land area for the exposed paddle is critical to proper thermal transfer. A copper fill is to be designed into the PCB and under the QFN package in order to assist thermal transfer. The heat is transferred to the solid signal ground plane of the board over these vias.

You can diminish the number of vias for better routing the trace of other signal layers, but it will affect the performance of thermal efficiency. Normally we use a 5×5 array of 25 thermal vias in the exposed paddle. We recommend that there should have to be at least 4×4 array of 16 thermal vias in the exposed pad.

]]>
Thu, 25 Oct 2012 05:59:15 -0600
Can AT2LP be used for SATA Drives - KBA83342 http://www.cypress.com/?rID=49309 Answer: No, AT2LP cannot be used for SATA drives. It only supports PATA drives. The PATA interface on AT2LP enables the use of hard disk drives (HDD), Compact Flash, and solid state drives (SSD) in your design.

]]>
Thu, 25 Oct 2012 00:42:09 -0600
Errata Document for CY7C68001 EZ-USB SX2(TM) http://www.cypress.com/?rID=14343 This document describes the errata for the EZ-USB SX2/CY7C68001. Details include errata trigger conditions, available workarounds, and silicon revision applicability. This document should be used to compare to the data sheet for this device to fully describe the device functionality.

]]>
Mon, 22 Oct 2012 04:51:50 -0600
FX1/FX2LP - Vendor Request Example - KBA82848 http://www.cypress.com/?rID=26603 Answer: Cypress provides an example Vend_ax with the CY3684 development kit contents, which demonstrates the implementation of vendor command handlers. After installing the CY3684 DVK SIO successfully, you could find the Vend_ax example in the directory: “C:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.0\Firmware\Vend_ax”. Furthermore, we also have an application note “Vendor Command Design Guide for FX2LP - AN45471” to demonstrate how to use the vendor commands

]]>
Thu, 18 Oct 2012 03:30:42 -0600
AN66806 - Getting Started with EZ-USB® FX2LP™ GPIF http://www.cypress.com/?rID=12937 This document describes the architecture and implementation of FX2LP GPIF, and discusses application usage models and debugging strategies. One end-to-end example is also discussed to reinforce GPIF concepts and provide you with a concrete design example. Note: This application note was previously titled EZ-USB FX2LP GPIF Design Guide.

Introduction

The GPIF is a programmable parallel interface that provides a glue-less interface between the EZ-USB® FX2LP™ and an external peripheral. GPIF enables various applications that require FX2LP to function as a master to an external device over a parallel interface. A wide variety of protocols can be implemented using GPIF like EIDE/ATAPI, printer, parallel port (IEEE P1284), Utopia, etc. This document describes the architecture and implementation of FX2LP GPIF, and discusses application usage models and debugging strategies. One end-to-end example is also discussed to reinforce GPIF concepts and provide a concrete design example.

]]>
Tue, 16 Oct 2012 01:42:15 -0600
AN73609 - EZ-USB® FX2LP™/ FX3™ Developing Bulk-Loop Example on Linux http://www.cypress.com/?rID=57610 Introduction

This document and the accompanying software demonstrate how simple user-mode, using the libusb, Linux applications can communicate directly to EZ-USB based USB devices, without any need to write a kernel device driver. The author assumes the reader has a working knowledge of Linux and gone through FX2LP documentation as well as windows based FX2LP tools/utilities.



Cypress also provides a CyUSB Suite for Linux platforms, which includes a Cypress API wrapper based on LibUSB. Host application examples are also provided. The FX3 SDK for Linux, v1.2.1 can be downloaded from this link http://www.cypress.com/?rID=57990

]]>
Mon, 15 Oct 2012 04:24:14 -0600
To Detect When a Self-Powered USB Device is Plugged - KBA82850 http://www.cypress.com/?rID=70461 Answer: The best way to detect, when the USB cable of self-powered device is plugged in, is to monitor VBUS with one of the I/O port pins. VBUS can be either monitored in the main loop or another popular method is to setup an interrupt timer to a fixed interval, and in the interrupt ISR look at the port pin (VBUS). You can then take the appropriate action depending on the state of VBUS. For more details on implementing VBUS monitoring, refer to application note “Monitoring the EZ-USB FX2LP™ VBUS - AN15813”.

]]>
Thu, 11 Oct 2012 01:18:04 -0600
C Compiler for FX2/FX2LP - KBA82844 http://www.cypress.com/?rID=70455 Answer: Cypress does not provide any C compiler for FX1/FX2LP. Cypress recommends Keil uVision compiler for FX1/FX2LP. The Cypress development kit CY3684 has the Keil evaluation version with 4K code size limit.

]]>
Thu, 11 Oct 2012 00:15:55 -0600
No drive letter appears when binding NX2LP/NX2LP-Flex/AT2/AT2LP device to Cypress manufacturing drivers http://www.cypress.com/?rID=38852 The device is bound to cypress manufacturing driver just to program the EEPROM connected to the device with the appropriate configuration information. So the device is not bound to a mass storage driver and hence drive letter does not appear in windows. When the device is bound to mass storage driver, drive letter will appear.
Note:- With AT2/AT2LP series and the older ISD300xx series of mass storage solutions, mass storage driver for earlier OSes of windows are provided. So confusion between mass storage driver and manufacturing driver occurs sometimes.

]]>
Wed, 10 Oct 2012 08:24:14 -0600
Guide to Boot EZ-USB from External Parallel Memory - AN55037 http://www.cypress.com/?rID=38168 The content of AN55037 is now available in the application note AN50963 - EZ-USB® FX1™/FX2LP™ Boot Options

]]>
Fri, 05 Oct 2012 03:17:15 -0600
Alternative compilers for FX2 http://www.cypress.com/?rID=55162 Cypress does not support for third party compilers other than Keil. However, IAR provides support for FX2LP as well as the header files for the same. More details regarding this can be found  at www.iar.com/en/Products/IAR-Embedded-Workbench/8051/Supported-devices/Cypress.

]]>
Mon, 01 Oct 2012 03:55:33 -0600
CY7C68033/CY7C68034: EZ-USB® NX2LP-Flex™ Flexible USB NAND Flash Controller http://www.cypress.com/?rID=14187 EZ-USB® NX2LP-Flex™ Flexible USB NAND Flash Controller

CY7C68033/CY7C68034 Silicon Features

  • Certified compliant for bus- or self-powered USB 2.0 operation (TID# 40490118)
  • Single-chip, integrated USB 2.0 transceiver and smart SIE
  • Ultra low power – 43 mA typical current draw in any mode
  • Enhanced 8051 core
    • Firmware runs from internal RAM that is downloaded from NAND Flash at startup
    • No external EEPROM required
  • 15 KBytes of on-chip code/data RAM
    • Default NAND firmware – 8 kB
    • Default free space – 7 kB
  • For more, see pdf
     

Overview

Cypress Semiconductor Corporation’s EZ-USB® NX2LP-Flex (CY7C68033/CY7C68034) is a firmware-based, programmable version of the EZ-USB NX2LP (CY7C68023/CY7C68024), which is a fixed-function, low power USB 2.0 NAND Flash controller. By integrating the USB 2.0 transceiver, serial interface engine (SIE), enhanced 8051 microcontroller, and a programmable peripheral interface in a single chip, Cypress has created a very cost-effective solution that enables feature-rich NAND Flash-based applications.

]]>
Thu, 20 Sep 2012 08:01:09 -0600
AN4078 - Migrating From EZ-USB® FX2™ to EZ-USB FX2LP™ http://www.cypress.com/?rID=12968 The EZ-USB FX2LP(TM) is a next-generation USB high-speed controller. EZ-USB FX2LP enhances the functionality of the EZUSB FX2(TM) while minimally effecting existing designs. This application note serves two purposes:

  1. Assist in migrating existing EZ-USB FX2 (also referred to as FX2 in this application note) applications to EZ-USB FX2LP (also referred to as FX2LP in this application note).
  2. Assist the designers familiar with FX2 in creating FX2LP based applications.

A summary of the main items to consider while replacing the FX2 in an existing application with an FX2LP part is provided. The changes are categorized into required essential changes for all FX2LP applications migrating from FX2 and other applications based changes that might be required in your application due to additional enhanced feature in FX2LP.

]]>
Tue, 11 Sep 2012 04:54:05 -0600
CY3686 EZ-USB® NX2LP-Flex™ Development Kit Guide http://www.cypress.com/?rID=43628 The Cypress Semiconductor EZ-USB® NX2LP-Flex™ Controller chip (CY7C68033) is a programmable USB NAND controller based on the FX2LP (CY7C68013A) silicon. The NX2LP-Flex architecture enables USB data transfer rates of over 53 MB for every second. This is the maximum allowable USB 2.0 bandwidth, while still using a low-cost 8051 microcontroller in a small 56-pin QFN  package While both CY7C68033 and CY7C68034 are functionally similar, the latter is more appropriate for battery-powered applications because of its low standby power consumption.

The CY3686 EZ-USB NX2LP-Flex Development Kit (DVK) is provided to customers for evaluating and developing NAND Flash USB mass storage applications using the NX2LP-Flex controller. The CY3686 NX2LP-Flex DVK is a combination of two development platforms:

  • The CY3684 EZ-USB FX2LP-DVK, based on Cypress's most popular USB 2.0 general purpose microcontroller, the EZ-USB FX2LP
  • The NX2LP-Flex development board, based on Cypress's NAND flash controller EZ-USB
    NX2LP-Flex

This enables users to integrate their custom application with NAND flash solutions.

]]>
Wed, 29 Aug 2012 01:19:12 -0600
AN45197 - Using the Hex2bix Conversion Utility http://www.cypress.com/?rID=17627 This application note is removed and the Hex2bix utility tool is present under C:\Cypress\USB\bin once the CY3684 EZ-USB FX2LP Development Kit is installed. The following link has the CY3684 FX2LP Development kit CD content: http://www.cypress.com/?rID=14321. This includes the Hex2Bix tool. A detailed description of how to go about using the Hex2Bix utility is available in the readme.txt file in C:\Cypress\USB\Util\Hex2Bix. The source code of this utility is also present in the same folder.

]]>
Tue, 28 Aug 2012 05:22:01 -0600
AN63787 - EZ-USB® FX2LP™ GPIF and Slave FIFO Configuration Examples Using 8-bit Asynchronous Interface http://www.cypress.com/?rID=45850 Tue, 28 Aug 2012 02:20:58 -0600 EZ-USB® FX2LPTM/FX2LP18 56-Ball BGA PCB Layout Guidelines http://www.cypress.com/?rID=12719 The 56-ball VFBGA version of the FX2LPTM(CY7C68013A) or FX2LP18(CY7C68053) USB microcontroller chips is a smaller package version of the QFN package. The 56-ball package meets the needs of space sensitive printed circuit board (PCB) designs. This application note provides guidelines for designing a PCB with either FX2LP(CY7C68013A) or FX2LP18(CY7C68053).

-->

The 56-ball VFBGA version of the FX2LPTM(CY7C68013A) or FX2LP18(CY7C68053) USB microcontroller chips is a smaller package version of the QFN package. The 56-ball package meets the needs of space sensitive printed circuit board (PCB) designs. Please visit CY3687 MoBL-USB FX2LP18 development kit webpage www.cypress.com/go/cy3687. Install the kit contents. Refer to /Hardware directory for reference Gerber and PCB layout files and /Documentation directory for guidelines on PCB layout.

]]>
Wed, 22 Aug 2012 06:04:14 -0600
AN46860 - Schematic Review Checklist for West Bridge® Astoria™ http://www.cypress.com/?rID=12963
West Bridge® Astoria™ is a USB and mass storage peripheral control device that contains three main ports: processor interface (P-port), mass storage support (S-port), and USB interface (U-port). This application note discusses the hardware recommendations and guidelines to design a system using Astoria.

]]>
Tue, 14 Aug 2012 04:41:13 -0600
AN023 - USB Compliance Testing Overview http://www.cypress.com/?rID=12995 One of the secrets to USB’s success has been the compliance-testing program. This program verifies that your device meets the specification and works well with other USB devices.

]]>
Fri, 10 Aug 2012 03:24:37 -0600
AN15456 - Guide to Successful EZ-USB(R) FX2LP(TM) and EZ-USB FX1(TM) Hardware Design and Debug http://www.cypress.com/?rID=12956 This application note outlines a process that catches many of the most likely causes of EZ-USB® FX2LP™ and EZ-USB FX1™ hardware problems. It also facilitates the process of catching potential problems before building a board and assists in the debugging when getting a board up and running.

]]>
Fri, 10 Aug 2012 02:58:50 -0600
Troubleshooting USB 2.0 Signal Quality - AN13632 http://www.cypress.com/?rID=12947 AN13632 describes problems that can occur when measuring the signal quality of the universal serial bus (USB) 2.0. Its purpose is to help the designer isolate setup issues from design issues.

]]>
Fri, 10 Aug 2012 02:57:56 -0600
Mac OS X: Getting Started with USB - AN1105 http://www.cypress.com/?rID=12929 Developing USB drivers for Mac OS X is completely different than developing USB drivers on Mac OS 9. This application notes describe how to develop USB driver for Mac OS X. Include introducing the kernel of Mac OS X and driver architecture. Some useful example codes also be attached.

]]>
Fri, 10 Aug 2012 02:57:09 -0600
AN64408 - Getting Started with NX2LP-Flex(TM) http://www.cypress.com/?rID=46712

This application note presents the features and the resources available to speed EZ-USB NX2LP-Flex™ based design from concept to production.

]]>
Wed, 08 Aug 2012 13:04:56 -0600
CY7C68023, CY7C68024: EZ-USB NX2LP™ USB 2.0 NAND Flash Controller http://www.cypress.com/?rID=14185 EZ-USB NX2LP™ USB 2.0 NAND Flash Controller

Features

  • High (480-Mbps) or Full (12-Mbps) Speed USB Support
  • Both Common NAND Page Sizes Supported
    • 512 bytes — Up to 1 Gbit Capacity
    • 2K bytes — Up to 8 Gbit Capacity
  • Eight Chip Enable Pins
    • Up to 8 NAND Flash Single Device Chips
    • Up to 4 NAND Flash Dual Device Chips
  • Industry Standard ECC NAND Flash Correction
    • 1 bit per 256 correction
  • For more, see pdf
     

Introduction

The EZ-USB NX2LP™ (NX2LP) implements a USB 2.0 NAND Flash controller. This controller adheres to the Mass Storage Class Bulk-Only Transport Specification. The USB port of the NX2LP is connected to a host computer directly or through the downstream port of a USB hub. Host software issues commands and data to the NX2LP and receives status and data from the NX2LP using standard USB protocol.

]]>
Mon, 30 Jul 2012 07:05:22 -0600
CY7C68300C, CY7C68301C, CY7C68320C, CY7C68321C: EZ-USB AT2LP™ USB 2.0 to ATA/ATAPI Bridge http://www.cypress.com/?rID=14189 EZ-USB AT2LP™ USB 2.0 to ATA/ATAPI Bridge

Features

  • 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
  • Certified Compliant for USB 2.0 (TID# 40490119), the USB Mass Storage Class, and the USB Mass Storage Class Bulk-Only Transport (BOT) Specification
  • Operates at High-Speed (480 Mbps) or Full-Speed (12 Mbps) USB
  • Complies with ATA/ATAPI-6 Specification
  • Supports 48-bit Addressing for Large Hard Drives
  • Supports ATA Security Features
  • Supports any ATA Command with the ATACB Function
  • Supports Mode for BIOS Boot Support
  • For more, see pdf
     

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.

]]>
Mon, 30 Jul 2012 06:45:06 -0600
CY7C68001: EZ-USB SX2™ High Speed USB Interface Device http://www.cypress.com/?rID=34693 EZ-USB SX2™ High Speed USB Interface Device

Features

  • USB 2.0-Certified Compliant
    • Test ID number 40000713 on USB-Implementor’s Form (USB-IF) integrators list
  • Operates at High (480 Mbps) or full (12 Mbps) Speed
  • Supports Control Endpoint 0:
    • Used for handling USB device requests
  • Supports four Configurable Endpoints that share a 4-KB FIFO Space
    • Endpoints 2, 4, 6, 8 for application-specific control and data
  • Standard 8- or 16-bit external master interface
    • Glueless interface to most standard microprocessors DSPs, ASICs, and FPGAs
  • For more, see pdf


Introduction

The EZ-USB SX2™ USB interface device is designed to work with any external master, such as standard microprocessors, DSPs, ASICs, and FPGAs to enable USB 2.0 support for any peripheral design. SX2 has a built in USB transceiver and Serial Interface Engine (SIE), along with a command decoder for sending and receiving USB data.

]]>
Mon, 30 Jul 2012 06:37:30 -0600
CY7C68013A, CY7C68014A, CY7C68015A, CY7C68016A: EZ-USB® FX2LP™ USB Microcontroller High-Speed USB Peripheral Controller http://www.cypress.com/?rID=38801 EZ-USB® FX2LP™ USB Microcontroller High-Speed USB Peripheral Controller

Features

  • USB 2.0 USB IF high speed certified (TID # 40460272)
  • Single chip integrated USB 2.0 transceiver, smart SIE, and enhanced 8051 microprocessor
  • Fit, form, and function compatible with the FX2
    • Pin compatible
    • Object code compatible
    • Functionally compatible (FX2LP is a superset)
  • Ultra low power: ICC No more than 85 mA in any mode
    • Ideal for bus and battery powered applications
  • Software: 8051 code runs from:
    • Internal RAM, which is downloaded through USB
    • Internal RAM, which is loaded from EEPROM
    • External memory device (128 pin package)
  • For more, see pdf

Functional Overview

USB Signaling Speed

FX2LP operates at two of the three rates defined in the USB Specification Revision 2.0, dated April 27, 2000:

  • Full speed, with a signaling bit rate of 12 Mbps
  • High speed, with a signaling bit rate of 480 Mbps

FX2LP does not support the low speed signaling mode of 1.5 Mbps.

]]>
Mon, 30 Jul 2012 06:14:24 -0600
CY7C68053: MoBL-USB™ FX2LP18 USB Microcontroller http://www.cypress.com/?rID=13637 MoBL-USB(TM) FX2LP18 USB Microcontroller

Features

  • USB 2.0 - USB-IF High-Speed and Full-Speed Compliant (TID# 40000188)
  • Single-chip integrated USB 2.0 transceiver, smart SIE, and enhanced 8051 microprocessor
  • Ideal for mobile applications (cell phone, smart phones, PDAs, MP3 players)
    • Ultra low power
    • Suspend current: 20 μA (typical)
  • Software: 8051 code runs from:
    • Internal RAM, which is loaded from EEPROM
  • 16 kBytes of on-chip Code/Data RAM
  • Four programmable BULK/INTERRUPT/ISOCHRONOUS endpoints
  • For more, see pdf
     

Functional Overview

Cypress Semiconductor Corporation's MoBL-USB(TM) FX2LP18 (CY7C68053) is a low voltage (1.8 volt) version of the EZ-USB(R) FX2LP (CY7C68013A), which is a highly integrated, low-power USB 2.0 microcontroller. By integrating the USB 2.0 transceiver, serial interface engine (SIE), enhanced 8051 microcontroller, and a programmable peripheral interface in a single chip, Cypress has created a very cost-effective solution that provides superior time-to-market advantages with low power to enable bus powered applications.      More...

]]>
Fri, 27 Jul 2012 03:50:20 -0600
Configuring a Xilinx Spartan-3E FPGA Over USB Using EZ-USB FX2LP™ - AN63620 http://www.cypress.com/?rID=46029

This application note demonstrates a technique for dynamically configuring a Field Programmable Gate Array (FPGA) over USB using EZ-USB FX2LP, a high-speed USB peripheral controller. Once the FPGA is configured, FX2LP can act as a high speed data-path between the USB host and the FPGA. This capability of FX2LP(CY7C68013A) helps FPGA based USB applications like logical analyzers, oscilloscopes, image processing and high-speed data acquisition.

]]>
Tue, 24 Jul 2012 03:48:47 -0600
AN4053 - Streaming Data Through Isochronous or Bulk Endpoints on EZ-USB® FX2™ and EZ-USB FX2LP™ http://www.cypress.com/?rID=12967
This application note provides brief background information on what is involved while designing for a streaming application using the EZ-USB FX2(TM) or the EZ-USB FX2LP(TM) part. It provides information on streaming data through bulk endpoints, isochronous endpoints, and high-bandwidth isochronous endpoints along with pitfalls to consider and avoid while using the FX2/FX2LP for designing high-bandwidth applications.

]]>
Tue, 24 Jul 2012 03:27:52 -0600
AN6077 - Implementing an 8-Bit Asynchronous Interface with FX2LP™ http://www.cypress.com/?rID=12946 AN6077 discusses how to configure the general programmable interface (GPIF) and slave FIFOs of the EZ-USB FX2LP™ to implement an 8-bit asynchronous interface. The GPIF is a programmable 8- or 16-bit parallel interface that reduces system costs by providing a glueless interface between the EZ-USB FX2LP and different types of external peripherals. The GPIF allows the EZ-USB FX2LP to perform local bus mastering to external peripherals implementing a wide variety of protocols. For example, EIDE/ATAPI, printer parallel port (IEEE P1284), Utopia, and other interfaces are supported using the GPIF block of the EZ-USB FX2LP. In this example, it masters the slave FIFO interface of another EZ-USB FX2LP.

]]>
Tue, 24 Jul 2012 03:26:38 -0600
Firmware Optimization in EZ-USB® - AN61244 http://www.cypress.com/?rID=43047

The EZ-USB® family of chips has an 8051 core and uses the standard 8051 instruction set. However, it has a few enhancements compared to the standard 8051. This application note describes firmware optimization methods in EZ-USB. Some of these methods are common for any processor and some specific to the 8051 core of EZ-USB.

]]>
Tue, 24 Jul 2012 03:17:33 -0600
Setting Up, Using, and Troubleshooting the Keil(TM) Debugger Environment - AN42499 http://www.cypress.com/?rID=12960 This application note is a step-by-step beginner's guide to using the Keil Debugger. This guide covers the serial cable connection from PC to SIO-1/0, the monitor code download, and required project settings. Additionally, the guidelines to start and stop a debug session, set breakpoints, step through code, and solve potential problems are considered.

]]>
Tue, 24 Jul 2012 03:14:49 -0600
AN5078 - EZ-USB Hardware - Design considerations for EEPROM usage http://www.cypress.com/?rID=12948 EZ-USB® downloads firmware automatically into the on-chip RAM from the EEPROM connected to it. The purpose of this application note is to present recommended design guidelines for assuring the data integrity of serial EEPROM devices when used in EZ-USB designs.

]]>
Tue, 24 Jul 2012 03:10:33 -0600
AN1193 - Using Timer Interrupt in Cypress EZ-USB® FX2LP™ Based Applications http://www.cypress.com/?rID=12919 The assumption is made that one has a general understanding of how interrupts work within the 8051 concept. When this program is run, you should be able to light the seven-segment LED on the FX2LP Development Board (CY3684) with a 0-9 count, and control the step rate (1s - 5s) using BULK OUT endpoint transfers from the EZ-USB Control Panel.

]]>
Mon, 23 Jul 2012 03:38:15 -0600
AN1168 - High-speed USB PCB Layout Recommendations http://www.cypress.com/?rID=12982 This application note details guidelines for designing, controlled-impedance; high-speed USB printed circuit boards to comply with the USB specification. This note is applicable to all Cypress high-speed USB solutions. Some Cypress high-speed USB chips have separate application notes that address chip-specific PCB design guidelines.

]]>
Mon, 23 Jul 2012 03:33:34 -0600
Monitoring the EZ-USB FX2LP(TM) VBUS - AN15813 http://www.cypress.com/?rID=12961 This application note explains the purpose and methods of monitoring VBUS from the upstream connector using the EZ-USB FX2LP.

]]>
Mon, 23 Jul 2012 03:24:47 -0600
SPI Implementation Using Serial Mode-0 of EZ-USB FX2LP™ - AN67442 http://www.cypress.com/?rID=49176 This application note describes the implementation of serial peripheral interface (SPI) protocol using the FX2LP UART port in serial mode 0. This demonstration uses FX2LP as the SPI master for transferring data to and from an AT25080A EEPROM device. The example code includes functions to the Write/Read byte to and from AT25080A EEPROM.

]]>
Mon, 23 Jul 2012 02:56:26 -0600
EZ-USB FX2LP™/AT2LP™ Reset and Power Considerations - AN064 http://www.cypress.com/?rID=12959 The Cypress EZ-USB FX2LP(TM) is a USB 2.0 high-speed device. It contains an 8051, 16K of program/data memory, 4K of endpoint buffers and a General Programmable Interface (GPIF) block. The EZ-USB AT2LP(TM) is a USB 2.0 high-speed ATA/ATAPI bridge chip. Both these chips have similar power and reset needs. This application note refers to the FX2LP, but is also applicable to AT2LP.

]]>
Wed, 18 Jul 2012 01:52:23 -0600
Using A Resonator For USB - AN6070 http://www.cypress.com/?rID=12953 The basic requirement in this series of part is that the crystal requirements are driven by the USB specification requirement for bit rate stability. The primary control of this is the clock input.

]]>
Wed, 18 Jul 2012 01:49:38 -0600
AN4051 - FX2LP GPIF Flow State Feature for UDMA http://www.cypress.com/?rID=12951 This appnote introduces the "flow state" feature to the GPIF.  The motivation behind this feature was to extend GPIF to handle ATAPI UDMA. It was therefore created with UDMA in mind, but is not limited to UDMA. By covering UDMA as a subset of its capabilities, the likelihood of capturing other bus protocols is heightened, giving it a value and lifetime that extends beyond just UDMA. This is in keeping with the basic philosophy of GPIF.

]]>
Wed, 18 Jul 2012 01:47:00 -0600
QTP 092902: Automotive USB FX2LP (AT2LP) C8QR-3R Technology, Fab 4 http://www.cypress.com/?rID=39577 Fri, 13 Jul 2012 06:40:43 -0600 Astoria DMB-T/H Storage TV Dongle Reference Design Guide http://www.cypress.com/?rID=37776 ASTORIA_Top
ASTORIA_Bottom



The Cypress West Bridge Astoria and Legend Silicon based DMB-TH TV Dongle Reference Design consists of all files required for the complete design. It has a tuner from ADI, which tunes the RF signal to the Legend Silicon demodulator. This sends the TV signals in MPEG2_TS stream to Cypress West Bridge Astoria, which then sends them to the PC through the USB interface. In the PC, the BDA driver forwards the data from the USB to the Media Player application where it is played. Apart from TV streaming capabilities, the design also has capabilities to interface to removable or embedded media such as SD, MMC, and Managed NAND. The design enumerates as a composite device with two interfaces:

  1. Mass Storage
  2. TV Streaming Device
     
Reference Design Contents:

  1. Schematics in .pdf and .dsn format
  2. Gerber files
  3. Bill of Materials
  4. Firmware Hex & IIC files
  5. Driver Object Code
  6. Reference Design Guide
     
For more information about the design, please contact your local Cypress sales office.

Note: The firmware given with the design is just a Demo firmware. The Driver is not WHQL Certified yet.The process of WHQL Certification is underway and will be updated once it is done.
]]>
Thu, 12 Jul 2012 01:30:07 -0600
AN52970 - Windows Hardware Quality Labs (WHQL) Signing Procedure for Customer Modified Cypress USB Driver Files http://www.cypress.com/?rID=36676  

 

Application Note "AN52970 - Windows Hardware Quality Labs (WHQL) Signing Procedure for Customer Modified Cypress USB Driver Files" not available now.

 

Please review knowledge base article in this link to learn about "Windows Hardware Certification Process for Customer Modified Cypress USB Driver Files".

]]>
Tue, 10 Jul 2012 01:52:03 -0600
Windows Hardware Certification Process for Customer Modified Cypress USB Driver Files http://www.cypress.com/?rID=65775 Cypress supplies a digitally signed driver with its reference designs and development kits. The signature on the driver files is invalidated when customer-specific information (VID, PID, strings, and so on) are added to the driver files. The following steps allow customers to obtain the ‘Certified for Windows’ logo digital signature by passing Microsoft’s Windows® Hardware Quality Labs (WHQL) testing for customer-modified Cypress USB driver files. More information on the logo programs offered by Microsoft (including cost, debug procedure etc.) is available at http://msdn.microsoft.com/en-us/windows/hardware/gg463010 and http://msdn.microsoft.com/en-us/windows/hardware/gg487530

 

Driver Signing for Windows Hardware Certification

A complete beginning-to-end walkthrough of how to digitally sign drivers is provided by Microsoft and is available at http://www.microsoft.com/whdc/winlogo/drvsign/kmcs_walkthrough.mspx

 

FAQs

Question 1: I get the following error while binding my device to CyUSB.sys in Windows 7/Vista 64-bit environment, “Windows encountered a problem installing the driver software for your device” or usage of CyUSB.sys in Vista 64-bit operating system gives Code 39 error (Code 52 in the case of Windows 7). What do these errors mean? How can they be resolved?

Answer: CyUSB.sys downloaded through our website is an unsigned driver. This error reported while an unsigned driver used in 64-bit operating systems in normal mode. Following are the steps to disable driver signature enforcement in 64-bit operating system:

a) During boot-up press F8.

b) In the list of options that appear select “Disable driver signature enforcement”.

This should resolve the issues.

Note: In the case of Windows Vista 64-bit operating system the error message is “Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)”. In the case of Windows 7 64-bit operating system it is "Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52)".

Question 2: What is the signing procedure when script files are used?

Answer:When script files are used, the Inf file should contain both VID/PID combinations while signing the driver. The procedure for signing the procedure is the same as that for regular drivers. The script file (.spt file) will need to be shipped along with the Inf/Sys files.

]]>
Tue, 10 Jul 2012 00:57:27 -0600
CY4615B - Hi-speed USB 2.0-to-ATA/ATAPI Bus-Powered Reference Design (with EZ-USB AT2LP) http://www.cypress.com/?rID=14404 High-Speed USB to ATA (Advanced Technology Attachment)

Develop your mass storage bridge solution in hours, not weeks, using the Cypress EZ-USB AT2LP(TM)! Leveraging our existing mass storage expertise, the EZ-USB AT2LP adds large capacity drive support and ATA interrupt request (IRQ) support, all in an easy-to-use, low-cost configurable device.

Features:

  • Single-chip interface to any ATA/ATAPI or CompactFlash (Microdrives & CF) device
  • Support for ATA-6 specification for large capacity drives
  • Support for up to UDMA mode 4
  • Completely reconfigurable board to support self-powered or bus-powered applications
  • Compatibility with Windows and Mac OS class drivers, Cypress drivers available
  • Tri-state-able output lines
  • Configurable EEPROM

This reference design supports the EZ-USB AT2LP (CY7C68320/CY7C68300B) products from Cypress. It replaces the CY4615A Reference Design Kit.


Hardware Description
 

This reference design kit includes:

  • Evaluation Board with CY7C68320 (EZ-USB AT2LP)
  • ATA cable
  • 40-pin to 44-pin adapter
  • "Y" power adapter cable
  • USB cable
  • CY4615B Release Notes
  • EZ-USB AT2LP Datasheet
  • CD-ROM containing:
    - Hardware design databases for 2 different board layouts
               - Schematics
               - Bill of Materials
               - Gerber files
               - OrCAD files
    - EEPROM programming software
    - Manufacturing software
    - Other technical support documents

Looking for drivers? Check here for:

Windows Driver
Mac OS 9 Driver
Mac OS X Driver
DOS driver: We have EHCI and mass storage support available for DOS.  Please contact your sales representative or field applications engineer to get it.

Documentation for the kit is included with the software download on this page.

]]>
Tue, 29 May 2012 23:46:17 -0600
Vendor Command Design Guide for the FX2LP - AN45471 http://www.cypress.com/?rID=34485 Vendor commands are used to issue commands to a device, by which tasks unique to an application are accomplished. This application note demonstrates how you can quickly design USB vendor commands to perform specific features of products. In addition, using the Cypress CyConsole utility to issue vendor commands is also explained.

]]>
Tue, 29 May 2012 05:56:50 -0600
CY4611B - USB 2.0 USB to ATA Reference Design http://www.cypress.com/?rID=14406 CY4611B - USB 2.0 USB to ATA Reference Design

Updated to rev 2.5 on 9/1/2005. Now with Cypress's new EZ-USB FX2LP device enabling bus-powered operation and improved support for removable devices.            

This reference design features the new EZ-USB FX2LP(TM) which enables bus-powered mass storage applications that take advantage of the high bandwidth capability of USB 2.0. This design supports ATA (Advanced Technology Attachment) specification modes through UDMA-100 for the highest performance USB mass storage solution available. The General Programmable Interface (GPIF) of the FX2LP allows glueless connection to the attached drive. This design provides all the materials necessary for production with the most flexible, highest-performance solution available.

Supported Interfaces: USB to ATA

  • IDE (Integrated Drive Electronics): 3.5" and 2.5" hard drives, Compact Flash and micro-drives. 
  • ATAPI: CD-ROM/R/RW, DVD-ROM/RAM/RW, ZIP, LS-120, and other ATAPI devices

Key Features

  • Single-chip bus-powered interface to any mass storage device
  • Support for PIO and UDMA modes through UDMA Mode 5 (UDMA-100)
  • High transfer rate that is limited only by USB 2.0 bandwidth
  • Field-upgradable firmware
  • Large internal RAM that allows data buffer and quad-buffer bulk endpoints
  • Support for Windows and Mac OS class drivers
  • Windows 98 driver
  • Shorter development time with complete reference design kit

Looking for drivers?  Check here for:

Hardware Description

The reference design kit includes:

1. EZ-USB FX2LP Mass Storage Reference Design Board
2. USB, UDMA, and Y" power adapter cables
3. CD-ROM - Software

a. Firmware source and object code
b. Manufacturing Tools
c. License Agreement

4. CD-ROM - Documentation

a. Reference design board schematic, BOM
b. USB to ATA Reference Design Errata
c. USB to ATA Reference Design Board Operating Instructions
d. USB to ATA Reference Design Notes
 

AT2LP Datasheet

]]>
Mon, 28 May 2012 05:22:41 -0600
Silicon Errata for EZ-USB® FX2LP™ CY7C68013A/14A/15A/16A Rev. B http://www.cypress.com/?rID=14344 Details include errata trigger conditions, available workarounds, and silicon revision applicability. This document in conjunction with the datasheet for this device fully describes the device functionality. Please contact your local Cypress Sales Representative if you have further questions.

]]>
Wed, 09 May 2012 03:56:07 -0600
ACM mode of FX2LP http://www.cypress.com/?rID=50829  

It can be put in CDC-ACM mode but you have to write the descriptors accordingly.The Communication Device Class(CDC) is a device level definition and is used by the host to properly identify a communication device that may present several different types of interfaces.The CDC ACM driver exposes the USB device as a virtual modem or a virtual  COM port to the operating system.For more information on the implementaion refer to AN58764:Implementing a Virtual COM Port in FX2LP
]]>
Mon, 30 Apr 2012 04:04:39 -0600
SX2's response to SET_INTERFACE request http://www.cypress.com/?rID=50762  

SET_INTERFACE is a standard EP0 request with no data phase. Though SET_INTERFACE is a standard EP0 request it needs to be handled by external master to perform all the changes in Endpoint configuration. So SX2 notifies the external master with the SETUP interrupt.
    
In case of other non-standard EP0 requests with no data stage, external master is notified with the SETUP interrupt, and the external master can accept the packet and complete the handshake phase by writing zero to the byte count register. SX2 waits for the external master to write zero into byte count register before acknowledging it.
 
But unlike the case of non-standard EP0 requests with no data phase, SX2 doesn't wait for external master to write zero into byte count register in the case of SET_INTERFACE. Instead SX2 acknowledges the transfer by itself.    
 
As per the USB protocol, standard EP0 Device requests without a data stage must be completed in 50ms. If it is not responded to within 50ms, the host will reset the device. To avoid this, SX2 is made to 'ACK' the SET_INTERFACE by itself, without waiting for the external master to write zero into the byte count register.
 
So, if the SET_INTERFACE request is followed by another EP0 request, unless the firmware is fast enough to read the SETUP packet of SET_INTERFACE before the host writes into register,0x32, with the SETUP PACKET of the next command, the commands will get mixed up. Either by making firmware fast enough to read the first setup packet before the arrival of the next setup packet, or having the host issue the second command after the first command has been attended to, can help you to read both the setup packets, without mixing them up.
 
]]>
Mon, 30 Apr 2012 03:59:17 -0600
Electrical specification of USB interface of FX2LP http://www.cypress.com/?rID=37485 In the FX2LP datasheet it is mentioned that the USB transceiver has been declared to be "USB 2.0-compliant in full- and high-speed modes". This means that the USB transceiver complies with the electrical specifications of USB2.0 specification. The required electrical specification can be found in Table 7-2 and 7-7 of the USB2.0 specification.

 

]]>
Tue, 13 Mar 2012 06:47:11 -0600