Cypress EZ-USB Series 2100 Guía de usuario

Busca en linea o descarga Guía de usuario para Redes Cypress EZ-USB Series 2100. Cypress EZ-USB Series 2100 User`s guide Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 239
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente

Indice de contenidos

Pagina 1 - AYO DE 2007

ESCUELA TÉCNICA SUPERIOR DE INGENIEROS INGENIERÍA DE TELECOMUNICACIÓN Especialidad Electrónica de Comunicaciones PROYECTO FINAL DE CARRERA

Pagina 3 - PROYECTO FINAL DE CARRERA:

EZ-USB SX2 Development Kit Manual - Getting StartedPage 16 Rev 2.0 If you plan to download xmaster.hex, you should not “#define NO_RENUM” (which is t

Pagina 4

EZ-USB SX2™ Development Kit Manual Page 175.2 Other Firmware ExamplesThe table below describes three firmware examples that show you how to use an ex

Pagina 5 - Índice general

EZ-USB SX2 Development Kit Manual - Getting StartedPage 18 Rev 2.0 nector or an external power supply. After code development and debug, the mating p

Pagina 6 - 4 ÍNDICE GENERAL

EZ-USB SX2™ Development Kit Manual Page 196.4 EEPROM Select-Jumper JP4The SX2 chip contains an I²C-compatible “boot load” controller. The boot load c

Pagina 7 - II Anexos 75

EZ-USB SX2 Development Kit Manual - Getting StartedPage 20 Rev 2.0 6.5 Interface ConnectorsSix 20-pin headers P1-P6 on the SX2 Development Board hav

Pagina 8 - 6 ÍNDICE GENERAL

EZ-USB SX2™ Development Kit Manual Page 21Tables 4 and 5 show the Pinout for P8 and P9. Table 5. P8 Pinout P8 PinoutPin # Name Description1TV892+5V3

Pagina 9

EZ-USB SX2 Development Kit Manual - Getting StartedPage 22 Rev 2.0 Table 6. Pin 9 Pinout P9 PinoutPin # Name Description1+5V23.3V3 SLRD SLRD is the

Pagina 10

EZ-USB SX2™ Development Kit Manual Page 236.7 Indicators—Power and StatusLED D1 is connected to the PCB 5 volt supply, which is normally supplied fro

Pagina 11 - Objetivo y alcance

EZ-USB SX2 Development Kit Manual - Getting StartedPage 24 Rev 2.0

Pagina 12 - 1.3. Posibles ampliaciones

Cypress Semiconductor, Personal Communications Division 3901 North First Street San Jose, CA 95134-1599 www.cypress.com EZ-USB SX2 SIEMaster User’s G

Pagina 13 - 1.3. POSIBLES AMPLIACIONES 11

Capítulo 1Objetivo y alcance1.1. Justifica ción de la necesidad de este ProyectoGran parte de los sistemas electrónicos que un ingeniero pueda desarrol

Pagina 14

Cypress Disclaimer Agreement The information in this document is subject to change without notice and should not be construed as a commitment by C

Pagina 15 - Estructura de la Memoria

i Table of Contents 1.0 Purpose ...

Pagina 17 - Capítulo 3

SX2 SIEMaster User’s Guide v1.0 Page 1 1.0 Purpose Cypress designed the SIEMaster Utility so that you can examine the basic functions of the E

Pagina 18 - 3.2. Definici ones previas

SX2 SIEMaster User’s Guide Page 2 SX2 SIEMaster User’s Guide v1.0 2.0 Hardware Setup The steps to configure the hardware for use with SIEMaster are

Pagina 19 - Facilidad de uso

SX2 SIEMaster User’s Guide v1.0 Page 3 3.0 Using SIEMaster SIEMaster’s GUI has seven function areas—Default Enumeration, Custom Enumeration, Int

Pagina 20

SX2 SIEMaster User’s Guide Page 4 SX2 SIEMaster User’s Guide v1.0 2. In the Read group box, click on the Read button with the default value 01: IF

Pagina 21

SX2 SIEMaster User’s Guide v1.0 Page 5 4. In the Read group box, again click on the Read button with the default value 01: IFCONFIG selected in

Pagina 22 - 3.5. División de tar eas

SX2 SIEMaster User’s Guide Page 6 SX2 SIEMaster User’s Guide v1.0 3.2 Custom Enumeration SIEMaster allows you to perform a custom enumeration inst

Pagina 23

SX2 SIEMaster User’s Guide v1.0 Page 7 1. Start SIEMaster, perform a default enumeration, and clear the EnumOK interrupt. 2. Start Control Pan

Pagina 24

10 CAPÍTULO 1. OBJETIVO Y ALCANCEen cambio, Cypress proporciona otro kit de desarrollo, que contiene el integrado EZ-USB SX2 (C7C68001). Pero, incluso

Pagina 25 - 3.8. Transferencias bulk

SX2 SIEMaster User’s Guide Page 8 SX2 SIEMaster User’s Guide v1.0 5. Enter the data phase byte count in the Value field adjacent to the selected

Pagina 26

SX2 SIEMaster User’s Guide v1.0 Page 9 3.6 Read Setup The Setup group box contains functions for reading USB Control Transfer as well as functio

Pagina 27 - Descripción del kit

SX2 SIEMaster User’s Guide Page 10 SX2 SIEMaster User’s Guide v1.0 5. Switch to the Control Panel, change the VendReq direction indicator Dir to

Pagina 28

SX2 SIEMaster User’s Guide v1.0 Page 11 3.7 Transfer Endpoint Zero Data SIEMaster contains functions for reading from and writing to Endpoint Ze

Pagina 29 - Esquemas PCB

SX2 SIEMaster User’s Guide Page 12 SX2 SIEMaster User’s Guide v1.0 4.0 Summary The SIEMaster Utility is a development tool that allows you to easi

Pagina 30

SX2 SIEMaster User’s Guide v1.0 Page 13 5.0 Document Revision History Description Title: EZUSB SX2 SIEMaster User’s Guide: A Programming and Tes

Pagina 32

EZ-USB SX2™ High-Speed USB Interface DeviceCY7C68001Cypress Semiconductor Corporation • 198 Champion Court • San Jose, CA 95134-1709 • 408-943-2600Do

Pagina 33 - 5.2. REQUISITOS PREVIOS 31

CY7C68001Document #: 38-08013 Rev. *H Page 2 of 422.2 IntroductionThe EZ-USB SX2™ USB interface device is designed to workwith any external master, s

Pagina 34

CY7C68001Document #: 38-08013 Rev. *H Page 3 of 42• 0xC4: This initial byte tells the SX2 that this is a valid EE-PROM with configuration information

Pagina 35

1.3. POSIBLES AMPLIACIONES 11Consideraciones de d iseñ o ele ctrónico.Ambos p untos se dejan para posteriores Proyectos.

Pagina 36

CY7C68001Document #: 38-08013 Rev. *H Page 4 of 42or resuming or that a self-powered device has been pluggedin or unplugged. If the SX2 is bus-powere

Pagina 37 - SIEMaster. Modo 1 B

CY7C68001Document #: 38-08013 Rev. *H Page 5 of 423.6.3 Endpoint Configurations (High-speed Mode) Endpoint 0 is the same for every configuration as i

Pagina 38

CY7C68001Document #: 38-08013 Rev. *H Page 6 of 42or 16- bit operation by an internal configuration bit, and anOutput Enable signal SLOE enables the

Pagina 39

CY7C68001Document #: 38-08013 Rev. *H Page 7 of 423.7.8 Command ProtocolAn address of [1 0 0] on FIFOADR [2:0] will select thecommand interface. The

Pagina 40

CY7C68001Document #: 38-08013 Rev. *H Page 8 of 424.0 EnumerationThe SX2 has two modes of enumeration. The first mode isautomatic through EEPROM boo

Pagina 41

CY7C68001Document #: 38-08013 Rev. *H Page 9 of 42PKTEND pin does not apply to Endpoint 0. The only way tosend a short or zero length packet is by wr

Pagina 42

CY7C68001Document #: 38-08013 Rev. *H Page 10 of 42In order to read the status of this register, the external mastermust do the following sequence of

Pagina 43

CY7C68001Document #: 38-08013 Rev. *H Page 11 of 426.2 56-pin QFN CY7C6800156-pin QFNGNDVCCGNDDMINUSSLWRDPLUSVCCAGNDSLRDAVCCXTALINXTALOUTIFCLKRESERVE

Pagina 44

CY7C68001Document #: 38-08013 Rev. *H Page 12 of 426.3 CY7C68001 Pin DefinitionsTable 6-1. SX2 Pin DefinitionsQFNPinSSOPPin Name Type Default Descri

Pagina 45

CY7C68001Document #: 38-08013 Rev. *H Page 13 of 421 8 SLRD Input N/A SLRD is the input-only read strobe with programmable polarity (POLAR.3) for the

Pagina 46

12 CAPÍTULO 1. OBJETIVO Y ALCANCE

Pagina 47

CY7C68001Document #: 38-08013 Rev. *H Page 14 of 427.0 Register SummaryTable 7-1. SX2 Register SummaryHex Size Name Description D7 D6 D5 D4 D3 D2 D

Pagina 48

CY7C68001Document #: 38-08013 Rev. *H Page 15 of 427.1 IFCONFIG Register 0x017.1.1 Bit 7: IFCLKSRCThis bit selects the clock source for the FIFOs. If

Pagina 49

CY7C68001Document #: 38-08013 Rev. *H Page 16 of 42These flags can be programmed to represent various FIFOflags using four select bits for each FIFO.

Pagina 50

CY7C68001Document #: 38-08013 Rev. *H Page 17 of 42b. Command data write of upper nibble of the High Byte of Register Address (0x0E)c. Command data w

Pagina 51

CY7C68001Document #: 38-08013 Rev. *H Page 18 of 42In addition, the EPxPKTLENH register has four other endpointconfiguration bits. 7.6.1 Bit 7: IN

Pagina 52

CY7C68001Document #: 38-08013 Rev. *H Page 19 of 427.7.1 DECIS: EPxPFH.7If DECIS = 0, then PF goes high when the byte count i is equalto or less than

Pagina 53

CY7C68001Document #: 38-08013 Rev. *H Page 20 of 427.10 INPKTEND/FLUSH Register 0x20This register allows the external master to duplicate thefunction

Pagina 54

CY7C68001Document #: 38-08013 Rev. *H Page 21 of 42descriptor RAM in nibble format. For complete details, refer toSection 4.0.7.16 EP0BUF Register 0x

Pagina 55 - Capítulo 6

CY7C68001Document #: 38-08013 Rev. *H Page 22 of 4211.2 Command Interface11.2.1 Command Synchronous Read Table 11-1. Command Synchronous Read Para

Pagina 56

CY7C68001Document #: 38-08013 Rev. *H Page 23 of 4211.2.2 Command Synchronous Write Table 11-3. Command Synchronous Write Parameters with Internal

Pagina 57

Capítulo 2Estructura de la MemoriaCon la intención de servir de ayuda al diseñ a dor que desee conseguir, en el me-nor tiempo posible, que el sistema

Pagina 58

CY7C68001Document #: 38-08013 Rev. *H Page 24 of 4211.2.3 Command Asynchronous Read 11.2.4 Command Asynchronous Write Table 11-5. Command Read Para

Pagina 59

CY7C68001Document #: 38-08013 Rev. *H Page 25 of 4211.3 FIFO Interface11.3.1 Slave FIFO Synchronous Read IFCLKSLRDFLAGSSLOEtSRDtRDHtOEontXFDtXFLGDA

Pagina 60

CY7C68001Document #: 38-08013 Rev. *H Page 26 of 4211.3.2 Slave FIFO Synchronous Write Table 11-9. Slave FIFO Synchronous Write Parameters with In

Pagina 61

CY7C68001Document #: 38-08013 Rev. *H Page 27 of 4211.3.3 Slave FIFO Synchronous Packet End Strobe There is no specific timing requirement that nee

Pagina 62

CY7C68001Document #: 38-08013 Rev. *H Page 28 of 42Figure 11-8 shows a scenario where two packets are beingcommitted. The first packet gets committed

Pagina 63

CY7C68001Document #: 38-08013 Rev. *H Page 29 of 4211.3.6 Slave FIFO Asynchronous Write 11.3.7 Slave FIFO Asynchronous Packet End Strobe Table 11-1

Pagina 64

CY7C68001Document #: 38-08013 Rev. *H Page 30 of 4211.3.8 Slave FIFO Asynchronous Address 11.4 Slave FIFO Address to Flags/Data Following timing is

Pagina 65

CY7C68001Document #: 38-08013 Rev. *H Page 31 of 4211.6 Sequence Diagram11.6.1 Single and Burst Synchronous Read Example Figure 11-16 shows the tim

Pagina 66

CY7C68001Document #: 38-08013 Rev. *H Page 32 of 4211.6.2 Single and Burst Synchronous Write Figure 11-18 shows the timing relationship of the SLAVE

Pagina 67

CY7C68001Document #: 38-08013 Rev. *H Page 33 of 4211.6.3 Sequence Diagram of a Single and Burst Asynchronous Read Figure 11-19 diagrams the timing r

Pagina 68

14 CAPÍTULO 2. ESTRU CTURA DE LA MEMO RIA3. También como anexo, se adjuntan distintas notas de aplicación en la Parte II.

Pagina 69

CY7C68001Document #: 38-08013 Rev. *H Page 34 of 4211.6.4 Sequence Diagram of a Single and Burst Asynchronous Write Figure 11-21 diagrams the timing

Pagina 70

CY7C68001Document #: 38-08013 Rev. *H Page 35 of 4210, //Descriptor length6, //Descriptor type0x00,0x02, //Specification Version (BCD)00, //Device cl

Pagina 71

CY7C68001Document #: 38-08013 Rev. *H Page 36 of 42//Endpoint Descriptor7, //Descriptor length5, //Descriptor type0x88, //Endpoint number, and direct

Pagina 72 - 6.7. Conclus iones

CY7C68001Document #: 38-08013 Rev. *H Page 37 of 427, //Descriptor length5, //Descriptor type0x88, //Endpoint number, and direction2, //Endpoint type

Pagina 73 - Contenido del CD-ROM

CY7C68001Document #: 38-08013 Rev. *H Page 38 of 42from the thermal pad to the PCB inner ground plane by a 5 x5 array of via. A via is a plated throu

Pagina 74 - 7.2. Notas de aplicación

CY7C68001Document #: 38-08013 Rev. *H Page 39 of 4215.0 Ordering Information16.0 Package Diagrams16.1 56-pin SSOP PackageTable 15-1. Ordering Info

Pagina 75

CY7C68001Document #: 38-08013 Rev. *H Page 40 of 42© Cypress Semiconductor Corporation, 2005. The information contained herein is subject to change

Pagina 76

CY7C68001Document #: 38-08013 Rev. *H Page 41 of 42Document History Page Description Title: CY7C68001 EZ-USB SX2™ High-Speed USB Interface DeviceDocu

Pagina 77 - Parte II

CY7C68001Document #: 38-08013 Rev. *H Page 42 of 42*D 130447 12/17/03 KKU Replaced package diagram in Figure 16-2 spec number 51-85144 with clear ima

Pagina 78

Revision August 1, 2002Cypress Semiconductor Corporation • 3901 North First Street • San Jose • CA 95134 • 408-943-2600August 1, 2002CY3682 Design No

Pagina 79 - Manuales de referencia

Capítulo 3Introducción a la arquitectura yprotocolo del Bus Serie Universal3.1. Introduc ciónComenzaremos en este capítulo proporcionando unas nocione

Pagina 80

CY3682 Design Notes2Revision : August 1, 20021718 WriteDescriptor(); //Load entire descriptor into SX21920 #endif2122 while (!enum_ok); //Wait until

Pagina 81 - Development Kit Manual

CY3682 Design Notes3Revision : August 1, 2002Figure 1. SX2 Initialization From Reset to DescriptorFigure 2. SX2 Initialization Continued

Pagina 82

CY3682 Design Notes4Revision : August 1, 2002WriteRegisterThe WriteRegister function calls the hardware specific func-tion low_level_command_write. T

Pagina 83

CY3682 Design Notes5Revision : August 1, 2002Figure 4. Read Register SequenceInterrupt Service RoutineThe Interrupt Service Routine distinguishes bet

Pagina 84

CY3682 Design Notes6Revision : August 1, 200280 case 0x04: //Enumeration complete81 enum_ok = TRUE;82 break;83 case 0x20: //Flags84 got_out_data = TR

Pagina 85

CY3682 Design Notes7Revision : August 1, 2002To complete endpoint zero data transfers, the ep0buf_readyflag is used. If the SX2 receives a setup requ

Pagina 86 - Page 2 Rev 2.0

CY3682 Design Notes8Revision : August 1, 2002163 else164 WriteRegister (0x32, 0xFF); //Stall the request165 break;166 }167 break;168 case 0x03: // **

Pagina 87

CY3682 Design Notes9Revision : August 1, 2002227 case 0xAB:228 if (setuplength > 64) //We want to handle vendor 0xAB229 WriteRegister (0x32, 0xFF)

Pagina 88 - Page 4 Rev 2.0

CY3682 Design Notes10Revision : August 1, 2002Figure 5. Setup Interrupt and AckFigure 6. Setup and EP0 Interrupts and DataData LoopbackIf there is bu

Pagina 89

CY3682 Design Notes11Revision : August 1, 2002This is a very simple data loopback example and can be ex-ercised using the EZ-USB Control Panel PC pro

Pagina 90 - Page 6 Rev 2.0

16 CAPÍTULO 3. INTRODUCCIÓN A LA ARQUITECTURA USB5. Modelo de flujo de comunicaciones USB.6. Transferencias, IRPs, tramas y paquetes.7. Transferencias

Pagina 91

CY3682 Design Notes© Cypress Semiconductor Corporation, 2002. The information contained herein is subject to change without notice. Cypress Semiconduc

Pagina 92 - Page 8 Rev 2.0

Errata Revision: *CAugust 16, 2005Errata Document for CY7C68001 EZ-USB SX2™Cypress Semiconductor Corporation • 3901 North First Street • San Jose • CA

Pagina 93

CY7C68001ERRATA DOCUMENT © Cypress Semiconductor Corporation, 2005. The information contained herein is subject to change without notice. Cypress Sem

Pagina 94 - Page 10 Rev 2.0

CY7C68001 ERRATA DOCUMENT3Document History PageDocument Title: CY7C68001 EZ-USB SX2 Rev E ErrataDocument Number: 38-17011REV. ECN NO. Issue DateOrig.

Pagina 96 - Page 12 Rev 2.0

User guide for EZ-USB Control PanelUser guide for EZ-USB Control Panel.An Overview of the EZ-Usb Control Panel.The EZ_USB Control Panel allows the use

Pagina 97 - EP4 FIFO

The Application Toolbar.The Application Toolbar has standard buttons such as Cut, Copy, Paste, Save, and Print, as well as an“About” button to get Ver

Pagina 98 - Page 14 Rev 2.0

The Properties Dialog.The General Page.The Verbose Mode option allows the user to select a more verbose output from the content of transferredmessages

Pagina 99

Exiting the Program.When the User exits by selecting "File/Exit" or by pressing the "x" in the upper right corner, the user maybe

Pagina 100 - Page 16 Rev 2.0

View Menu Commands.{menuview.gif}Window Menu Commands.{menuwind.gif}Options Menu Commands.{menuopt.gif}Tools Menu Commands.{tools.gif}The tools menu w

Pagina 101 - Flag.hex

3.3. CARACTERÍSTICAS BÁ SICAS DEL USB 17Trama: Intervalo de 1 ms (125 µs en modo high-speed, donde hablaremos d emicrotramas).Transacción: Agrupación

Pagina 102 - Page 18 Rev 2.0

Unary Operations ToolBar.{tbuna.gif}The Unary Operations need no parameters (except the possible selection of a target file).There are several such op

Pagina 103 - “Large” 8Kx8 001 24LC64/5

Isochronous Transfer ToolBar.{tbiso.gif}The Isochronous Transfer parameters are entered here.The overall size of an Iso transfer is limited to 1MB.Whe

Pagina 104 - Page 20 Rev 2.0

File Trans..: The File Transfer button allows you to select ISO or BULK endpoints as targets of a file basedoperation. When this button is pressed, Yo

Pagina 105 - P8 Pinout

Capítulo 9Notas de aplicaciónSeguidamente recogemos algunas de las notas de aplicación de mayor interéspara el chip SX2:1. SX2 Pr imer (Life After Enu

Pagina 107

Cypress Semiconductor Corporation • 3901 North First Street • San Jose, CA 95134 • 408-943-2600 Revised July 13, 2004SX2 Primer (Life After Enumerat

Pagina 108 - Page 24 Rev 2.0

SX2 Primer (Life After Enumeration) 2purpose for this is to verify that the correct data value waswritten during a command write sequence. Figure 2 s

Pagina 109 - San Jose, CA 95134-1599

SX2 Primer (Life After Enumeration) 32. Write 512 bytes into the FIFO (EP6 or EP8) from the external master.3. On the "Bulk Trans" bar of t

Pagina 111 - Table of Contents

Cypress Semiconductor Corporation • 3901 North First Street • San Jose, CA 95134 • 408-943-2600October 14, 2003, rev. 0.BEZ-USB FX2™/AT2™/SX2™Reset an

Pagina 113 - 1.0 Purpose

18 CAPÍTULO 3. INTRODUCCIÓN A LA ARQUITECTURA USBTransferencias de d atos rápidas y fiables. La fiabilida d del U SB se debe tantoal hardware como a los

Pagina 114 - 2.0 Hardware Setup

EZ-USB FX2™/AT2™/SX2™Reset and Power Considerations2Self-powered hubs will create even shorter pulses on VBUSwhen they are plugged into a host or when

Pagina 115 - 3.0 Using SIEMaster

EZ-USB FX2™/AT2™/SX2™Reset and Power Considerations3The easiest solution is to set the DISCON bit to 0, so yourdevice will pull up D+ immediately. See

Pagina 117

Revision: 1.0 April 2001Cypress Semiconductor Corporation • 3901 North First Street • San Jose • CA 95134 • 408-943-2600April 6, 2001USB Error Handlin

Pagina 119 - 3.5 Write Register

Cypress Semiconductor Corporation • 3901 North First Street • San Jose, CA 95134 • 408-943-2600December 10, 2002High-speed USB PCB Layout Recommendati

Pagina 120

High-speed USB PCB Layout Recommendations2Typical 62-mil, 4-layer PCB ExampleThe recommended stackup for a standard 62-mil (1.6-mm)thick PCB is shown

Pagina 121 - 3.6 Read Setup

High-speed USB PCB Layout Recommendations3USB PeninsulaIf the location of a USB connector is near the edge of the PCB,consider placing it on a ‘USB Pe

Pagina 122

High-speed USB PCB Layout Recommendations© Cypress Semiconductor Corporation, 2002. The information contained herein is subject to change without noti

Pagina 123

Cypress Semiconductor Corporation • 3901 North First Street • San Jose, CA 95134 • 408-943-2600January 7, 2002Bulk Transfers with the EZ-USB SX2™ Con

Pagina 124 - 4.0 Summary

3.3. CARACTERÍSTICAS BÁ SICAS DEL USB 19del sistema operativo imp lica la inclusión de drivers de clase que permitan alos programadores de aplicacione

Pagina 125

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface2• Endpoint 6 is programmed for:—IN direction— Double buffering— 512-byt

Pagina 126

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface3— Burst Mode with Level Timing— Throttle bursts on Data Request (DREQ0#

Pagina 127 - CY7C6800

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface4Connection DiagramFigure 1 shows the complete set of signal connections

Pagina 128

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface5Writing Commands to the SX2There are two types of Command Write sequenc

Pagina 129

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface6Reading Status from the SX2The SX2 INT pin provides the SH3 with two si

Pagina 130

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface7Reading OUT Packet Data from SX2 Endpoint BufferThe SH3 allocates the a

Pagina 131

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface8Writing IN Packet Data to SX2 Endpoint BufferThe SH3 allocates the addr

Pagina 132

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface9a. IFCLKSRC = 0 - external clock sourceb. 3048MHZ = 0 - ignored for ext

Pagina 133

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface10ii. PL [7:0] = 0000 0000b - Least significant byte of 512-byte packet

Pagina 134

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface1120.Set SH3 DMA Channel0 for read bursts to SX2:a. Set transfer count (

Pagina 135

20 CAPÍTULO 3. INTRODUCCIÓN A LA ARQUITECTURA USB3.4. Componentes del busLos componentes físicos del Bus Serie U ni versal son los circuitos, conector

Pagina 136

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface12DREQ0# Waveform Generation with FLAGBOUT Packet Read BurstsThe FLAGB l

Pagina 137

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface13IN Packet Write BurstsThe FLAGB line is also used to create a waveform

Pagina 138

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface14Bulk Loopback Sample Descriptors//Device Descriptor18, // Descriptor L

Pagina 139

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface150x00,// Maximum Packet Size (LSB)0x02,// Maximum Packet Size (MSB)0, /

Pagina 140

Bulk Transfers with the EZ-USB SX2™ connected to an Hitachi SH3™ DMA Interface© Cypress Semiconductor Corporation, 2003. The information contained her

Pagina 141

Cypress Semiconductor Corporation • 3901 North First Street • San Jose, CA 95134 • 408-943-2600September 9, 2003, rev. 0.ABulk Transfers with the EZ-U

Pagina 142

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface2— On FLAGB high (FIFO not empty) throttle DMA on until FLAGB low— On F

Pagina 143

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface3Connection DiagramFigure 1 shows the complete set of signal connection

Pagina 144

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface4Writing Commands to the SX2There are two types of command write sequen

Pagina 145

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface5Reading Status from the SX2The SX2 INT pin provides the XScale with t

Pagina 146

3.6. MODELO DE COMUNICACIONES US B 21Proporcionar alimentación.Intercambiar datos entre periféricos.El trabajo del host no es trivial. Por suerte, el

Pagina 147

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface6Reading OUT Packet Data from SX2 Endpoint BufferThe XScale begins allo

Pagina 148

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface7Writing IN Packet Data to SX2 Endpoint BufferThe XScale begins allocat

Pagina 149

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface8g. FLAGD/CS# = 1 – use Flag D as chip selecth. DISCON = 0 – to remain

Pagina 150

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface917.Program FIFO Empty (EF) Flags (POLAR register) for normal polarity

Pagina 151

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface10DREQ0 Waveform Generation with FLAGBOUT Packet Read BurstsThe FLAGB l

Pagina 152

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface11IN Packet Write BurstsThe FLAGB line is also used to create a wavefor

Pagina 153

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface12Bulk Loopback Sample Descriptors//Device Descriptor18, // Descriptor

Pagina 154

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface130x00,// Maximum Packet Size (LSB)0x02,// Maximum Packet Size (MSB)0,

Pagina 155

Bulk Transfers with the EZ-USB SX2™ Connectedto an Intel XScale™ DMA Interface143, // Descriptor Type – String 'C', 0,'Y', 0,&apo

Pagina 156

Bibliografía[1] Roger S. Pressman. Ingeniería del Software—Un enfoque práctico. McGraw-Hill,sexta edición, 2006.[2] Joseph Schmuller. Sams Teach Yours

Pagina 157

22 CAPÍTULO 3. INTRODUCCIÓN A LA ARQUITECTURA USB2. Los drivers cliente USB proporcionan una mem oria buffer utilizada para al-macenar datos cuando se

Pagina 158

3.8. TRANSFERENCIAS BULK 23bancho de banda depende de la latencia requerida por el dispositivo (como es espe-cificada en los descriptores del dispositi

Pagina 159

24 CAPÍTULO 3. INTRODUCCIÓN A LA ARQUITECTURA USBSoportan detección y recuperación ante errores.

Pagina 160

Capítulo 4Descripción del kit4.1. Introduc ción al kit d e desarrollo CY36 8 2El kit de d esarrollo CY3682 proporciona un entorno de desarrollo para d

Pagina 161

26 CAPÍTULO 4. DESCRIPCIÓN DEL K IT• Driver d el dispositivo de propósito general EZ-USB.• C ódigo d e muestra del firmware 8051.• Utilidad de panel de

Pagina 162

4.2. DESCRIPC IÓN DEL EZ-USB SX2 27Figura 4.1: Diagrama de bloques de la placa EZ-USB SX2.Firmware de ejemplo para el p rocesador e xterno,Esquemas PC

Pagina 163

PROYECTO FINAL DE CARRERA:Evaluación del chip EZ-USB SX2 conimplementación de transferencia bulkUSB 2.0Autor: Alejandro Raigón MuñozTutor del Proyecto

Pagina 164

28 CAPÍTULO 4. DESCRIPCIÓN DEL K IT

Pagina 165

Capítulo 5Probando el kit de desarrollo paso apaso5.1. Introduc ciónEn este capítulo anali z aremos los siguientes aspectos:1. Requisitos previos para

Pagina 166

30 CAPÍTULO 5. PROBANDO EL KIT DE DESARROLLO PASO A PASOAdemás del material proporcionado por el kit de desarrollo, se requiere que e l PCsobre el cua

Pagina 167

5.2. REQUISITOS PREVIOS 31Figura 5.1: Comprobando la presencia de controlador host USB 2.0.

Pagina 168

32 CAPÍTULO 5. PROBANDO EL KIT DE DESARROLLO PASO A PASO5.3. Instalac i ón del Panel de Control EZ-USB, Driversy DocumentaciónEl entorno d e desarroll

Pagina 169 - CY3682 Design Notes

5.4. TEORÍA DE FUNCIONAM IE NTO DEL KIT DE DESARROLLO 33Figura 5.2: Diagrama de bloques del sistema en Modo 1A.a) En la placa SX2:JP3 conectado entre

Pagina 170

34 CAPÍTULO 5. PROBANDO EL KIT DE DESARROLLO PASO A PASOFigura 5.3: Ventana del Administrador de Dispositivos en modo 1A.

Pagina 171

5.4. TEORÍA DE FUNCIONAM IE NTO DEL KIT DE DESARROLLO 35Figura 5.4: E l dispositivo de prueba ha sido conectado a un hub raíz USB 2.0.como se verá lue

Pagina 172

36 CAPÍTULO 5. PROBANDO EL KIT DE DESARROLLO PASO A PASOFigura 5.5: Respuesta de la SX2 al comando de petición de descriptor.escribir firmware. Así, el

Pagina 173

5.4. TEORÍA DE FUNCIONAM IE NTO DEL KIT DE DESARROLLO 37Figura 5.6: Diagrama de bloques del sistema en modo 1B.JP8 no conectado (la EEPROM es de 8 kil

Pagina 175

38 CAPÍTULO 5. PROBANDO EL KIT DE DESARROLLO PASO A PASOFigura 5.7: Ventana del A dministrador de Dispositivos de Windows mostrando los dispositivos U

Pagina 176

5.4. TEORÍA DE FUNCIONAM IE NTO DEL KIT DE DESARROLLO 39Figura 5.8: Propiedades de “Cypress EZ-USB Sample Device”.botón “Enumerate”, con lo que obtene

Pagina 177

40 CAPÍTULO 5. PROBANDO EL KIT DE DESARROLLO PASO A PASO(a)(b)Figura 5.9: (a) Ventana del Administrador de Dispositivos de Windows mostrando los dispo

Pagina 178

5.4. TEORÍA DE FUNCIONAM IE NTO DEL KIT DE DESARROLLO 41Figura 5.10: Transferencia de un descriptor personalizado mediante el SIEMaster.Partiendo del

Pagina 179

42 CAPÍTULO 5. PROBANDO EL KIT DE DESARROLLO PASO A PASOFigura 5.11: Generación de una petición específica de vendedor desde el Panel de Control EZ-U S

Pagina 180

5.4. TEORÍA DE FUNCIONAM IE NTO DEL KIT DE DESARROLLO 43Figura 5.12: Leyendo los datos de configuración de una sola vez.Figura 5.13: Escritura d e un v

Pagina 181 - EZ-USB SX2 Errata Summary

44 CAPÍTULO 5. PROBANDO EL KIT DE DESARROLLO PASO A PASOFigura 5.14: Recepción de los 16 bytes de datos de la fase de configuración.Figura 5.15: Genera

Pagina 182 - References

5.4. TEORÍA DE FUNCIONAM IE NTO DEL KIT DE DESARROLLO 45Figura 5.16: Leyendo la petición específica de vendedor de salida.7. Pulsando de nuevo en el bo

Pagina 183 - Document History Page

46 CAPÍTULO 5. PROBANDO EL KIT DE DESARROLLO PASO A PASOFigura 5.17: Diagrama de bloques del modo 2.5.5. Practica ndo con el kit de desarrollo5.5.1. E

Pagina 184

5.5. PRACTICAN DO CON EL KIT DE DESARROLLO 475.5.2. Ejercicio 8—Segunda solución al pr oblema de “Dispositivodesconocido”. Descarga del firmware xmast

Pagina 185

Índice generalI Memoria 71. Objetivo y alcance 91.1. Justificación de la necesidad de este Proyecto . . . . . . . . . . . . . . 91.2. Objetivos y alcan

Pagina 186

48 CAPÍTULO 5. PROBANDO EL KIT DE DESARROLLO PASO A PASOFigura 5.18: Borrado de la EEPROM d e 8 kB con la ayuda del firmware vend_ax.hex.6. Pulsamos en

Pagina 187

5.5. PRACTICAN DO CON EL KIT DE DESARROLLO 49Figura 5.19: Ruta de datos implementada por el ejemplo xmaster de la SX2.5.5.4. Ejercicio 10—Ejemplo de l

Pagina 188

50 CAPÍTULO 5. PROBANDO EL KIT DE DESARROLLO PASO A PASOFigura 5.20: Configuración de los parámetros del bulkloop.bimos “512”. En este momento, la pant

Pagina 189

5.5. PRACTICAN DO CON EL KIT DE DESARROLLO 51ro con 2 bytes. Limpia remos el área de salida de información pulsando en elbotón “Clear”.4. A continuaci

Pagina 190

52 CAPÍTULO 5. PROBANDO EL KIT DE DESARROLLO PASO A PASO

Pagina 191

Capítulo 6Marco de trabajo para la programaciónUSB6.1. Introduc ciónEn el capítulo anterior analizamos paso a paso el kit de desarrollo CY3682, siem-p

Pagina 192 - Troubleshooting

54 CAPÍTULO 6. MARCO DE TRABAJO PARA LA PROGRAMACIÓN USBFigura 6.1: Diagrama de bloques del sistema EZ-USB final.ningún otro driver, a menos que se des

Pagina 193 - Notas de aplicación

6.2. PROGRAMA CIÓN DEL DRIVER 55c) Russinovich, Mark E., and Solomon, David A. Microsoft Windows Internals,Fourth Edition, http://www.microsoft.com/MS

Pagina 194

56 CAPÍTULO 6. MARCO DE TRABAJO PARA LA PROGRAMACIÓN USB2) Architecture of the User-Mode Driver Fr amework,http://www.microsoft.com/whdc/driver/wdf/UM

Pagina 195 - Writing/Reading Registers

6.4. ALTERNATIVAS PARA LA CODIFICACIÓN DE LA COMUNICACIÓN USBENTRE LA APLICACIÓN HOST Y EL DISPOSITIVO USB 2.0 57que se pueda compilar en un formato c

Pagina 196 - FIFO Access

4 ÍNDICE GENERAL5.4.2. Ejercicio 4—Estableciendo el entorno de desarrollo para el SIE-Master. Modo 1B . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 197 - Approved AN4050 7/13/04 kkv

58 CAPÍTULO 6. MARCO DE TRABAJO PARA LA PROGRAMACIÓN USB1. Se trata de un funcionamiento a bajo nivel, es decir, se requiere un controlabsoluto de los

Pagina 198

6.5. INSTALANDO EL ESTUDIO DE DESARROLLO USB CY4604 596.5. Instalan do el estudio de desarroll o USB C Y4604La instalación no presenta ninguna dificult

Pagina 199 - EZ-USB FX2™/AT2™/SX2™

60 CAPÍTULO 6. MARCO DE TRABAJO PARA LA PROGRAMACIÓN USBEl firmware xmaster.hex cargado en la RAM de la FX, yEl identificador de dispositivo “Cypress EZ

Pagina 200

6.6. USANDO LA API DE CYPRE SS—CYAPI 61Figura 6.2: Cambiando el controlador de la EZ-USB SX2.6.6.2. Ejercicio 13— Sust i tución de las cadenas de text

Pagina 201 - Approved AN065 10/14/03 kkv

62 CAPÍTULO 6. MARCO DE TRABAJO PARA LA PROGRAMACIÓN USB3. Seleccione “No por el momento” y pulse en “Siguiente”.4. Seleccione “Instalar desde una lis

Pagina 202

6.6. USANDO LA API DE CYPRE SS—CYAPI 63de e ntrada (hacia el PC), implementaremos una comunicación USB 2.0 entre unaaplicación host y el chip EZ-USB S

Pagina 203 - Conclusion

64 CAPÍTULO 6. MARCO DE TRABAJO PARA LA PROGRAMACIÓN USBFigura 6.4: Valores de las propiedades del objeto USBDevice al obtener el manejador desde el d

Pagina 204

6.6. USANDO LA API DE CYPRE SS—CYAPI 65(a) (b)Figura 6.6: (a) Ventana de variables locales en modo depuración antes de iniciar la transferencia alendp

Pagina 205

66 CAPÍTULO 6. MARCO DE TRABAJO PARA LA PROGRAMACIÓN USB//---------------------------------------------------------------------------// PROYECTO FINAL

Pagina 206 - USB Signals

6.6. USANDO LA API DE CYPRE SS—CYAPI 67AnsiString stringAux; // Variable auxiliar// Limpiamos el área de dibujo inicialCanvas->FillRect(destArea);/

Pagina 207 - Power and Ground

ÍNDICE GENERAL 57.3. El estudio de desarrollo USB CY4604 . . . . . . . . . . . . . . . . . . . 737.4. Documentación del WDK de Microsoft . . . . . . .

Pagina 208 - Crystal or Oscillator

68 CAPÍTULO 6. MARCO DE TRABAJO PARA LA PROGRAMACIÓN USBbitmap->LoadFromFile("target.bmp"); // lo cargamos en el bitmapCanvas->Stretch

Pagina 209 - Connection Scheme

6.6. USANDO LA API DE CYPRE SS—CYAPI 69Figura 6.7: Formulario principal de la aplicación práctica de una comunicación US B 2.0 tipo bulk conel chip EZ

Pagina 210

70 CAPÍTULO 6. MARCO DE TRABAJO PARA LA PROGRAMACIÓN USB6.7. Conclus ionesA pesar de los d efectos, me n cionados con anterioridad, acerca de la mala

Pagina 211 - Important Considerations

Capítulo 7Contenido del CD-ROMSe proporciona, conjuntamente con esta Memoria, un CD-ROM con informaciónde utilidad para el desarrollador. En el CD-ROM

Pagina 212 - Connection Diagram

72 CAPÍTULO 7. CONTENIDO DEL CD -R OM6. User guide for EZ-USB Control Panel [EzMrUser.pdf]7. EZ-USB General Purpose Driver Specification [EZ-USB Genera

Pagina 213 - Writing Commands to the SX2

7.3. EL ESTUDIO DE DESARRO LLO USB CY4604 73Esta nota de aplicación detalla las guías para diseñar una PCB paraUSB high-speed con cuatro capas e imped

Pagina 214 - Reading Status from the SX2

74 CAPÍTULO 7. CONTENIDO DEL CD -R OMIntroduction To The Windows Driver Kit: A Comprehensive DriverDevelopment Solution [DEV041_WH06.ppt]Architecture

Pagina 215

Parte IIAnexos

Pagina 217

Capítulo 8Manuales de referenciaA continuación se recogen los siguientes manuales para facilitar la consulta deinformación:1. EZ-USB SX2–Getting Start

Pagina 218

6 ÍNDICE GENERAL

Pagina 220

• Cypress Semiconductor • Personal Communication Division • • 3901 North First Street • San Jose, CA 95134 • (408) 943-2600 •• www.cypress.com •EZ-USB

Pagina 221

Cypress Disclaimer AgreementThe information in this document is subject to change without notice and should not be con-strued as a commitment by Cypr

Pagina 222

iTable of Contents1.0 EZ-USB SX2 Development Kit Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1 Intr

Pagina 223

iiTable of Contents

Pagina 224

EZ-USB SX2™ Development Kit Manual Page 1Getting Started1.0 EZ-USB SX2 Development Kit Overview1.1 IntroductionThe Cypress EZ-USB SX2 interface dev

Pagina 225 - XScale™ DMA Interface

EZ-USB SX2 Development Kit Manual - Getting StartedPage 2 Rev 2.0 1.2 Tools1.2.1 Required Tools IncludedThe following list shows the components sup

Pagina 226

EZ-USB SX2™ Development Kit Manual Page 32.0 EZ-USB SX2 Development Kit ContentsThe EZ-USB SX2 Development Kit provides a complete hardware and soft

Pagina 227 - Intel XScale

EZ-USB SX2 Development Kit Manual - Getting StartedPage 4 Rev 2.0 3.0 EZ-USB SX2 Development Kit Theory of Operation3.1 Final EZ-USB System Block

Pagina 228

EZ-USB SX2™ Development Kit Manual Page 53.2 SX2 Development Kit Theory of OperationIn order to demonstrate the functionality of the SX2, the develop

Pagina 229

Parte IMemoria

Pagina 230

EZ-USB SX2 Development Kit Manual - Getting StartedPage 6 Rev 2.0 3.2.2 Mode 1B — SIEMaster ModeThe SIEMaster utility uses Mode 1B (see Figure 3). T

Pagina 231

EZ-USB SX2™ Development Kit Manual Page 73.2.3 Mode 2 — Development ModeIn Mode 2 (see Figure 4), the SX2 board is unplugged from the FX board. All o

Pagina 232

EZ-USB SX2 Development Kit Manual - Getting StartedPage 8 Rev 2.0 3. Windows Millennium4. Windows 98 Second Edition To quickly determine if USB suppo

Pagina 233

EZ-USB SX2™ Development Kit Manual Page 93. Move your cursor over the USB bullet. There should be a pop-up that contains two more options. Click on th

Pagina 234

EZ-USB SX2 Development Kit Manual - Getting StartedPage 10 Rev 2.0 3. In order to allow the SX2 to be seen by the PC and be controlled by the 8051 pr

Pagina 235

EZ-USB SX2™ Development Kit Manual Page 11“Clear” button. The “GetDev” button may be clicked anytime, as many times as you wish. The fol-lowing should

Pagina 236

EZ-USB SX2 Development Kit Manual - Getting StartedPage 12 Rev 2.0 5. Start the SIEMaster utility by selecting Start\Programs\Cypress\USB\SX2 SIEMast

Pagina 237

EZ-USB SX2™ Development Kit Manual Page 13Figure 5. SX2 Xmaster Example Data Path5.1.1 Running the Loopback Example Firmware (Xmaster - External Mast

Pagina 238

EZ-USB SX2 Development Kit Manual - Getting StartedPage 14 Rev 2.0 5. Run C:\CYPRESS\USB\Bin\bulkloop.exe. This is a general-purpose USB data loopbac

Pagina 239 - Bibliografía

EZ-USB SX2™ Development Kit Manual Page 155.1.2 Further Development with the Xmaster Loopback ExampleThe source code for the xmaster firmware example

Comentarios a estos manuales

Sin comentarios