background image

EZ-USB Development Kit User Guide, Doc. # 001-66390 Rev. *D

87

EZ-USB Development Kit Firmware Examples

        AUTOPTRL2 = 0x00;

        count = (EP2BCH << 8) + EP2BCL;

        for( i = 0x0000; i < count; i++ )

        {

           EXTAUTODAT2 = EXTAUTODAT1;

        }

        // Source is external RAM

        APTR1H = 0x28;

        APTR1L = 0x00;

        // Destination is EP6IN

        AUTOPTRH2 = MSB( &EP6FIFOBUF );

        AUTOPTRL2 = LSB( &EP6FIFOBUF );

        count = (EP2BCH << 8) + EP2BCL;

        for( i = 0x0000; i < count; i++ )

        {

           EXTAUTODAT2 = EXTAUTODAT1;

        }

        EP6BCH = EP2BCH;  

        SYNCDELAY;  

        EP6BCL = EP2BCL;        // arm EP6IN

        SYNCDELAY;                    

        EP2BCL = 0x80;          // re(arm) EP2OUT

     }

  } 

Similarly, endpoint EP4 destination and the EP8 source buffer is commonly defined as the external
RAM memory-0x2A00.

Note

 For EZ-USB FX1, the above steps can be repeated with a data transfer length of 64 bytes

instead of 512 bytes.

8.7.2

Building Bulkext fIrmware Example Code for EZ-USB RAM Memory and EEPROM

Click on the 

Build

 

Target

 button at the top right corner of the IDE. The total code bytes of the

Bulkext

 firmware example is less than the 4-k code limit Keil µVision2 IDE, provided along with the

kit. The output of the 

Build

 

Target

 is the 

bulkext.hex

 and 

bulkext.iic

 files.

8.7.3

Method to Download Firmware Image to EZ-USB Internal RAM and EEPROM

Refer to 

Method to Download Firmware Image to EZ-USB Internal RAM Memory on page 69

 and fol-

low a similar procedure to download 

bulkext.hex

 to the RAM memory and 

bulkext.iic

 to Large

EEPROM using 

Cyconsole/CyControlCenter

. The 

bulkext.hex

 and 

bulkext.iic

 files are located

at 

<Installed_directory>\<Version>\Firmware\Bulkext

. After downloading, the firm-

ware re-enumerates with the PC using its internal VID/PID-0x04B4/0x1004.

Содержание CY3674

Страница 1: ...CY3674 CY3684 EZ USB Development Kit User Guide Doc 001 66390 Rev D Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 800 858 1810 Phone Intnl 408 943 2600 www cypress com...

Страница 2: ...ansferable license to copy use modify create derivative works of and compile the Cypress Source Code and derivative works for the sole purpose of creating custom soft ware and or firmware in support o...

Страница 3: ...1 Introduction 19 3 2 Schematic Summary 19 3 3 Jumpers 20 3 4 EEPROM Select and Enable Switches SW1 and SW2 20 3 5 Interface Connectors 22 3 6 ATA Connector P8 25 3 7 U2 22v10 Gate Array Logic GAL 25...

Страница 4: ...5 EZUSB_Resume 42 5 4 2 6 I2C Routines 42 6 Cypress USB Drivers for EZ USB Kits 43 6 1 Cypress USB Signed Driver Package for EZ USB Devices 43 6 2 Drivers for Firmware Examples and Default EZ USB Conf...

Страница 5: ...nload Firmware Image to EZ USB Internal RAM and External EEPROM76 8 4 4 Binding Cypress USB Driver for the Downloaded Firmware Image 76 8 4 5 Testing the pingnak Firmware Functionality 76 8 5 Bulkloop...

Страница 6: ...89 8 10 LEDcycle Firmware Example 89 8 11 Dev_IO Firmware Example 89 8 12 extr_intr Firmware Example 90 8 12 1 Testing the Example 91 8 13 Vend_ax Example 91 8 13 1 Testing the vend_ax Example 92 8 14...

Страница 7: ...nction is required both chips are generically referred to as EZ USB throughout this document 1 2 Kit Contents The following list shows the components supplied in the EZ USB DVK They represent most of...

Страница 8: ...ction 2 2 Schematic Summary B 06 06 2012 NMMA The document has to be updated with the OOB review comments C 06 29 2012 NMMA Minor text edits Updated correct path Start All programs Cypress Cypress Sui...

Страница 9: ...t installer ISO file for CY3684 and CY3674 Create an installer CD DVD or extract the ISO using WinRar and install the executables 2 Click Install CY3684 EZ USB FX2LP DVK to start the installation as s...

Страница 10: ...select the installation type that best suits your requirement The drop down menu has three options Typical Complete and Custom as shown in Figure 2 3 In the current installer all three installation t...

Страница 11: ...wnloaded and installed as shown in Figure 2 4 Wait until all the packages are downloaded and installed successfully Figure 2 4 Installation Page 6 The Keil uVision2 trial version IDE triggers at this...

Страница 12: ...user name and company name credentials as shown in Figure 2 6 to proceed with the installation Figure 2 6 Keil User Information lnput Window 8 The Keil software proceeds with the installation and cop...

Страница 13: ...is used to create State machine waveforms to communicate between the EZ USB device and devices such as FPGA image sensors FIFO and so on If the software is already installed in the PC then the instal...

Страница 14: ...USB 3 4 7 package install shield is triggered after the GPIF designer software installa tion If the software is already installed in the PC then the installer will not trigger the installation If the...

Страница 15: ...ext The default directory of the SuiteUSB is C Cypress Cypress Suite USB 3 4 7 The default directory can be changed at this stage Click Next after selecting the directory Click the Install button in t...

Страница 16: ...e Doc 001 66390 Rev D Getting Started Figure 2 12 SuiteUSB User Login Window 13 The CY3684 EZ USB FX2LP development Kit Finish window appears after installing the kit con tent Keil software GPIF Desig...

Страница 17: ...ser Guide Doc 001 66390 Rev D 17 Getting Started Figure 2 13 CY3684 Finish Window Note The procedure to install the CY3674 installer is similar to CY3684 2 2 Install Hardware No hardware installation...

Страница 18: ...18 EZ USB Development Kit User Guide Doc 001 66390 Rev D Getting Started...

Страница 19: ...14 and are available in PDF format in the DVK hardware directory With the exception of the EZ USB chip the development boards in the FX2LP and FX1 DVKs are identical and are referred to generically as...

Страница 20: ...n in Table 3 2 Jumper Function Default Notes JP1 JP10 Connects 3 3 V power to the EZ USB chip IN 1 2 JP2 Powers the on board 3 3 V regulator from USB Vbus pin IN 1 2 To operate the board in self power...

Страница 21: ...ff down position This electrically disconnects any EEPROMs that occupy the EEPROM sockets U5 and U6 The OFF mode is useful to start up EZ USB in a manner using internal VID PID that binds the developm...

Страница 22: ...scilloscopes Table 3 3 shows the logic analyzer pod pin designations The EZ USB signals on P1 P6 are arranged to fulfill the following requirements High speed EZ USB strobe signals PSEN WR CLKOUT IFCL...

Страница 23: ...PB4 15 16 PB3 FD 3 FD 2 PB2 17 18 PB1 FD 1 FD 0 PB0 19 20 GND Alternate Default P2 Default Alternate NC 1 2 3 3V NC 3 4 RDY1 SLWR SLRD RDY0 5 6 CTL5 CTL4 7 8 CTL3 FLAGC CTL2 9 10 CTL1 FLAGB FLAGA CTL...

Страница 24: ...2 9 10 PLD1 N C 11 12 D7 D6 13 14 D5 D4 15 16 D3 D2 17 18 D1 D0 19 20 GND Alternate Default P5 Default Alternate NC 1 2 3 3 V IFCLK 3 4 A15 A14 5 6 A13 A12 7 8 A11 A10 9 10 A9 A8 11 12 A7 A6 13 14 A5...

Страница 25: ...2v10 GAL provides a general purpose glue logic on the board It provides the AND gate required to combine the PSEN and READ signals adds memory map support debug LEDs and provides three spare outputs f...

Страница 26: ...ing a standard 64 KB RAM without requiring external decoding to inhibit access to the bottom 16 Kb The second column 24K gap enables the external RAM only for access to its upper 32 KB This configurat...

Страница 27: ...the data byte U10 uses its I O pins as inputs connected to S2 S5 according to the following table U9 has the group address 0100 and is strapped to unit address 000 Therefore to read the switch values...

Страница 28: ...he bot tom pin of the connector and the GAL I O pin is the top pin Figure 3 3 Indicator LED Positions The low address byte is don t care This means you can efficiently add software test points using t...

Страница 29: ...674 kit is C Cypress USB CY3674_EZ USB_FX1_DVK and for the CY3684 kit it is C Cypress USB CY3684_EZ USB_FX2LP_DVK In further sections the default installation directory is referred to as Installed_dir...

Страница 30: ...a For EZ USB FX1 Product FamilY pdf Errata for EZ USB FX1 IC EZ USB FX1 Datasheet pdf Datasheet for EZ USB FX1 IC 2 FX2LP CY3684 Migrating From EZ USB FX2 To EZ USB FX2LP AN4078_C pdf Application note...

Страница 31: ...irmware using the script file CyLoad spt For more details about this driver go to Chapter 6 Table 4 3 List of Firmware Example in EZ USB Development Kits S No Firmware Example Description 1 hid_kb Exa...

Страница 32: ...implement different vendor commands Table 4 4 List of Hardware Files in EZ USB Development Kits S No Files Description 1 CY3684_Board_Layout brd CY3674_Board_Layout brd This file is EZ USB developmen...

Страница 33: ...tory S No Sub directory File Description 1 FW Lp Fw c periph c dscr a51 fw uv2 This directory contains basic framework project source files used to develop the firmware examples in the EZ USB devel op...

Страница 34: ...34 EZ USB Development Kit User Guide Doc 001 66390 Rev D Development Kit Contents...

Страница 35: ...t peripheral device By linking a minimal descriptor table it is possible to build a fully compliant Device Framework USB Specification Chapter 9 At startup the frameworks initialize all its internal s...

Страница 36: ...36 EZ USB Development Kit User Guide Doc 001 66390 Rev D EZ USB Firmware Frameworks Figure 5 1 Firmware Frameworks Flowchart...

Страница 37: ...ain files in the frameworks Table 5 1 Files in Firmware Frameworks File Name Description FW C This is the main frameworks source file It contains main the task dispatcher and the SETUP command handler...

Страница 38: ...rom responding to device requests and USB suspend events If a large amount of processing time is required it must be split up to execute in multiple calls to TD_Poll 5 3 1 3 TD_Suspend BOOL TD_Suspend...

Страница 39: ...rameworks implement the Set Configuration device request The register array SETUPDAT contains the current eight byte setup command By default the frame works parses the descriptor table to determine t...

Страница 40: ...peed and every 125 uS at high speed The only action for this interrupt in the default frameworks code is to clear the interrupt 5 3 3 3 ISR_Ures void ISR_Ures void interrupt 0 This function is called...

Страница 41: ...d bat also assembles the usbjmptb a51 file to create usbjmptb obj This file contains the jump table for the USB INT2 and GPIF INT4 auto vectored interrupts See the EZ USB Technical Ref erence Manual T...

Страница 42: ...ce remote wake up This function should be called following a USB suspend It automatically determines if the wake up is result of a USB resume or a remote wake up and generates the K state accordingly...

Страница 43: ...SB 2 0 device 6 1 Cypress USB Signed Driver Package for EZ USB Devices The EZ USB FX1 FX2LP kits contain Microsoft certified signed driver packages for different pur poses Following is the snapshot of...

Страница 44: ...conditions are stringent in Windows Vista and Windows 7 64 bit configurations To temporar ily avoid driver loading problems with the edited INF file press F8 during the Windows machine re boot and se...

Страница 45: ...ware wizard window pops up allowing you to update the corresponding driver path as shown in Figure 6 4 Table 6 1 List of VID PID used in EZ USB Kits S No VID PID Functional Description 1 0x04B4 0x8613...

Страница 46: ...dware wizard Window options differ in Windows Vista and Windows 7 OS platforms If the hardware wizard window does not pop up then type devmgmt msc directly in the vacant box in Windows Start Locate th...

Страница 47: ...ad spt Cyload cat CyLoad inf and cyusb sys These are basic files required to automate the process of firmware download using script files and INF files For more details refer to Firmware Download usin...

Страница 48: ...Cypress Cypress Suite USB 3 4 7 CyConsole Alternately the tool can be accessed at Windows Start All Programs Cypress Cypress SuiteUSB 3 4 7 Follow these steps to generate and play the script Figure 6...

Страница 49: ...n Options 1 Connect a USB A to B cable between the Windows PC USB Host port and the EZ USB FX1 FX2LP board J1 connector The board should have SW2 switched to the side marked as NO EEPROM 2 The EZ USB...

Страница 50: ...numerates with this VID PID and script file is automatically triggered by Windows OS 5 CyLoad spt The script file which automates firmware downloading to a EZ USB device Following is the snapshot of C...

Страница 51: ...adFW Files AddReg CyLoad AddReg CyLoad HW AddReg CyLoad AddReg Guid CYLoad Services Addservice CyLoad 2 CyLoad AddService CyLoad NT CopyFiles CyLoadFW Files AddReg CyLoad AddReg CyLoad NT HW AddReg Cy...

Страница 52: ...so copied in a similar manner to Windows OS System folders defined under DestinationDirs section The VID PID 0x04B4 0x0084 which is part of the INF file is linked to Cyload spt The windows OS automati...

Страница 53: ...evice 3 4 5 000 This string confirms that auto firmware download using CyLoad spt was successful Note The EEPROM image can also be downloaded using CyControlCenter 6 3 3 Keil Debug Monitor Download us...

Страница 54: ...54 EZ USB Development Kit User Guide Doc 001 66390 Rev D Cypress USB Drivers for EZ USB Kits...

Страница 55: ...he section Script File Genera tion using the Cyscript Tool on page 47 2 hex2bix exe The utlity is used to convert the RAM image hex files to the equivalent EEPROM images iic For detailed options of he...

Страница 56: ...reamer Streamer Both these applications continuously stream Bulk and Iso chronous data in the OUT and IN directions The OUT and IN endpoints act as sink and source of data that is the received data on...

Страница 57: ...ess including the firmware binary embedded inside it After firmware download is complete click the Stop Recording button to save the entire download into a script file xxx spt To verify the script loa...

Страница 58: ...USB kits to help you debug the firmware through the UART port After the kit software installation the Keil monitor programs are located at Installed_directory Version Target Monitor Load Mon This but...

Страница 59: ...yConsole chm and CyConsole pdf at C Cypress Cypress Suite USB 3 4 7 CyConsole A sample demon stration of this utility while using firmware examples is provided in the section EZ USB Develop ment Kit F...

Страница 60: ...49 Data transfers Using the tool the USB packet data can be transferred over an endpoint The procedure is explained in the CyControlCenter pdf file located at C Cypress Cypress Suite USB 3 4 7 CyUSB...

Страница 61: ...Bulk or Isochronous In OUT endpoint Vary the Packets per Xfer and Xfers to Queue parameters and verify the throughput for different Bulk and Isochronous endpoints across dif ferent alternate interfac...

Страница 62: ...Queue parameters and verify the throughput for different Bulk and Isochronous endpoints across different alternate interfaces Note The maximum data allowed per transfer is 64 KB for Bulk and Isochron...

Страница 63: ...then detects the board and the relevant buttons on the exe are enabled To program small EEPROM images such as FX1_C0 iic FX2LP_CO iic and CyLoad iic select the SW2 EEPROM and SW1 SMALL EEPROM setting...

Страница 64: ...64 EZ USB Development Kit User Guide Doc 001 66390 Rev D USB PC Host Utilities and SuiteUSB Applications...

Страница 65: ...copied from the OUT endpoint buffer to external RAM and then to the IN endpoint buffer It loops back EP2OUT to EP6IN and EP4OUT to EP8IN 4 Bulksrc Contains bulk endpoint endless source sink firmware...

Страница 66: ...ect snapshot in the IDE Figure 8 1 hid_kb Project View in keil uVision2 IDE The firmware example detects if any of the four push buttons are pressed on the development board and sends the relevant fi...

Страница 67: ...0x0F if oldbuttons buttons 0 Change in button state if buttons 1 Shift EP1INBUF 0 0 else EP1INBUF 0 2 if buttons 2 a EP1INBUF 2 0 else EP1INBUF 2 4 if buttons 4 b EP1INBUF 3 0 else EP1INBUF 3 5 if bu...

Страница 68: ...patible firmware image the Keil IDE invokes the hex2bix exe utility to convert the output file hid_kb hex into hid_kb iic Right click on Target1 in the Project Window and select Options for Target Tar...

Страница 69: ...board to a Windows PC USB Host controller port The EZ USB device enu merates with the default VID PID 2 Before programming the EEPROM image file iic select SW2 EEPROM and SW1 LARGE EEPROM as switch s...

Страница 70: ...b project contains firmware for a HID class keyboard device Interface class HID 03 and subclass 00 and uses the Microsoft native HID driver instead of Cypress generic USB driver 8 2 5 Testing the hid_...

Страница 71: ...s the list of registers that need this delay function when writing to them The OUT endpoints after they are configured need to be armed to accept packets from the host Because the endpoints are double...

Страница 72: ...ommit EP6IN by specifying the number of bytes the host can read from EP6 SYNCDELAY EP2BCL 0x80 re arm EP2OUT The EP6 In Bulk NAK Flag bit in the IbnFlag variable is cleared The EP6 In Bulk NAK interru...

Страница 73: ...console CyControlCenter After download the firmware re enumerates with the PC using its internal VID PID 0x04B4 0x1004 8 3 4 Binding Cypress USB Driver for the Downloaded Firmware Image The IBN projec...

Страница 74: ...ne by the following statements EP2CFG 0xA2 SYNCDELAY EP4CFG 0xA0 SYNCDELAY EP6CFG 0xE2 SYNCDELAY EP8CFG 0xE0 The key characteristics of each endpoint are as follows Endpoint 2 OUT Bulk double buffered...

Страница 75: ...ese two registers give the byte count of the data transferred to the FIFO in an OUT transaction as long as the data is not committed to the peripheral side This data pointer initial ization and loadin...

Страница 76: ...nd EEPROM Click on Build Target button at the top right corner of the IDE The total code bytes of the pingnak firmware example is less than the 4 k code limit Keil Vision2 IDE provided along with the...

Страница 77: ...n continuously transmit data to EP2 and EP4 and the transfer always succeeds The data present in the buffers of EP2 and EP4 at any point of time will be the latest two packets of data sent from the ho...

Страница 78: ...o pointer is initialized to the first byte of the endpoint 2 FIFO buffer The second auto pointer is initialized to the first byte of the endpoint 6 FIFO buffer The number of bytes to be transferred is...

Страница 79: ...Z USB RAM memory The output of the Build Target is bulkloop hex relevant for downloading to EZ USB RAM memory Firmware output for external EEPROM To generate EEPROM compatible firmware Image the Keil...

Страница 80: ...e 45 to manually bind the driver using Windows Hardware Wizard If the binding process is performed for anyone of the previous firmware examples the process can be skipped for this example 8 5 5 Testin...

Страница 81: ...a transfer length of 64 Bytes 8 5 5 2 Test using Cybulk Application The Bulkloop firmware can be tested using this C application For 32 bit Windows OS the CyBulk can be accessed at C Cypress Cypress S...

Страница 82: ...kloop C NET Application The Bulkloop firmware can be tested using the Bulkloop C NET application which is located at Start All Programs Cypress Cypress SuiteUSB 3 4 7 Bulkloop Select the Bulkloop OUT...

Страница 83: ...2 SYNCDELAY EP4CFG 0xA0 SYNCDELAY EP6CFG 0xE2 SYNCDELAY EP8CFG 0xE0 After configuration the OUT endpoints are armed to accept data from the host An OUT endpoint is said to be armed if it is ready to a...

Страница 84: ...UF APTR1L LSB EP4FIFOBUF AUTOPTRH2 MSB myBuffer AUTOPTRL2 LSB myBuffer myBufferCount EP4BCH 8 EP4BCL for i 0x0000 i myBufferCount i EXTAUTODAT2 EXTAUTODAT1 SYNCDELAY EP4BCL 0x80 re arm EP4OUT If the E...

Страница 85: ...004 8 6 4 Binding Cypress USB Driver for the Downloaded Firmware Image The Bulksrc firmware uses vendor class 0xFF with VID PID 0x04B4 1004 This example should bind with the Cypress generic USB driver...

Страница 86: ...Project window The only difference between the Bulkloop and Bulkext examples is the source and destination buffer memory address of the Bulk endpoint pairs EP2 EP6 and EP4 EP8 In Bulk loop the endpoin...

Страница 87: ...nstead of 512 bytes 8 7 2 Building Bulkext fIrmware Example Code for EZ USB RAM Memory and EEPROM Click on the Build Target button at the top right corner of the IDE The total code bytes of the Bulkex...

Страница 88: ...12 byte Bulk OUT ISR_Ep6inout EP8 512 byte Bulk OUT ISR_Ep8inout 8 8 2 Building EP_Interrupts Firmware Example Code for EZ USB RAM and EEPROM Click on Build Target button at the top right corner of th...

Страница 89: ...rmware Example This example is used to test the connectivity between EZ USB IC and general purpose LED D2 D5 Ensure all four jumpers on JP3 are shorted to observe the LED glowing ON and OFF before dow...

Страница 90: ...alling edge triggered and active high interrupts are rising edge trig gered In the example the following register configurations are done in extr_int c for setting up the interrupts INT0 and INT1 PORT...

Страница 91: ...Method to Download Firmware Image to External I2C EEPROM on page 69 8 12 1 Testing the Example The function generator can be set to generate a square wave of a known frequency use a low fre quency fo...

Страница 92: ...for reading the data on the control endpoint Click on Vend Req The following figure summarizes the entire operation Figure 8 10 A2 Vendor Command Read Operation using Cyconsole Observe the contents re...

Страница 93: ...rol endpoint Click on Transfer Data button Figure 8 12 summarizes the entire operation Figure 8 12 A2 Vendor Command Read Operation using CyControlCenter To write the contents to small EEPROM select D...

Страница 94: ...utton and observe the RAM memory getting programmed Figure 8 14 summarizes the entire operation Figure 8 14 A3 Vendor Command Read Operation using CyControlCenter To read the contents from RAM memory...

Страница 95: ...ummarizes the command trigger using CyControlCenter Figure 8 17 A8 Vendor Command Operation using CyControlCenter 5 0xA9 command Read Write Large EEPROM To read write the contents of Large EEPROM U5 s...

Страница 96: ...18 A9 Vendor Command Operation using CyControlCenter 6 0xAA 0xAB Setting I2C interface frequency Using this command the I2C interface frequency can be set to 100 kHz or 400 kHz Figure 8 19 summarizes...

Страница 97: ...for the relevant Windows OS can be cho sen with respect to this path as follows a Windows2000 w2k x86 b Windows XP 32 bit wxp x86 c Windows XP 64 bit wxp x64 d Windows Vista 32 bit wlh vista x86 e Wi...

Страница 98: ...onitor script file 8 Open Keil Vision2 IDE by selecting Start Programs Keil Vision2 Open the dev_io project file at Installed_directory Version Firmware dev_io as shown in Figure 8 20 and Figure 8 21...

Страница 99: ...Firmware Examples Figure 8 22 Serial Ports List in Device Manager Window 10 Click on Project Options for Target Target1 in Keil Vision2 IDE and select the Debug Tab in the new pop up window as shown...

Страница 100: ...er and select the relevant COM port for the UART cable connected to SIO 1 port as shown in Figure 8 25 and Figure 8 26 Figure 8 25 Settings Button for Keil Debug Monitor Figure 8 26 UART Settings for...

Страница 101: ...f dev_io c file in Keil uVision2 IDE 15 Use the Step Over button to step through the code by selecting View Debug Toolbar Figure 8 29 Enabling Debug Toolbar View in Keil 16 View the output window to v...

Страница 102: ...Debug Toolbar View in Keil 18 Set a breakpoint by selecting the first line in the case KEY_F2 section which is in file dev_io c To set or remove a breakpoint double click the line or right click on t...

Страница 103: ...sion2 IDE Figure 8 33 Run button in Keil 20 Now press F3 on the development board the KEY_F2 label equates to the F3 button Program execution halts in the Keil IDE and the LED does not increment 21 Pr...

Страница 104: ...104 EZ USB Development Kit User Guide Doc 001 66390 Rev D EZ USB Development Kit Firmware Examples...

Страница 105: ...for EZ USB development boards CY3674_Board_Layout brd CY3684_Board_Layout brd This is an editable layout file for EZ USB development boards The file can be viewed using the Allegro PCB software Proto...

Страница 106: ...ce 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 applicatio...

Страница 107: ...ng with pitfalls to consider and avoid while using the FX2 FX2LP for designing high bandwidth applications AN67442 SPI Implementation Using Serial Mode 0 of EZ USB FX2LP This application note describe...

Страница 108: ...ow to build an application on Visual C to send bulk data out and receive it back over a bulk endpoint of FX2LP which is developed using Cypress SuiteUSB C library CyUSB dll for creating Windows applic...

Страница 109: ...ch tasks unique to an applica tion are accomplished This application note demonstrates how you can quickly design USB ven dor commands to perform specific features of products In addition using the Cy...

Страница 110: ...110 EZ USB Development Kit User Guide Doc 001 66390 Rev D Resources...

Страница 111: ...tches addr A15 A14 A13 A12 A11 nRD high nibble of the address bus RD equations The 3681 board turns PF0 on at 0x80xx reads and off at 0x81xx reads This board turns PF0 on at 0x8xxx reads and off at 0x...

Страница 112: ...mem selects and strobes OFF 0 1 0 1 1 1 1 0 01 top of mem for rd or psen 0 1 1 1 0 0 0 0 PSEN only 0 1 1 0 1 0 0 0 RD only 0 1 1 1 1 0 1 0 Neither RD or PSEN 1 1 0 1 0 0 0 0 11 top and bot mem for rd...

Страница 113: ...EZ USB Development Kit User Guide Doc 001 66390 Rev D 113 A 2 Board Layout...

Страница 114: ...uFd 0805 R78 10K TP5 GND 0805 C6 0 1 uFd 0805 R74 390 0805 C40 0 1 uFd 0805 R16 22 0805 R28 100K a b f g e d c U9 HDSP E101 1 2 3 9 10 6 7 8 11 13 14 a f an1 dec c nc e d g b an2 0805 C20 0 1 uFd 3216...

Страница 115: ...ted in quickly Q5 Where is the EZ USB data sheet A5 See Installed_directory Version Documentation EZ USB FX1 Data sheet pdf for the CY3674 and Installed_directory Version Documentation EZ USB R FX2LP...

Страница 116: ...ariables which can be done by run ning the batch file Installed_directory Version Bin setenv bat before typing build Again if the kit software or Keil tools are installed to a non default location you...

Страница 117: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Cypress Semiconductor CY3674...

Отзывы: