Manuel d’utilisation Cypress CY7C63413C

32 pages 1.28 mb
Télécharger

Aller à la page of 32

Summary
  • Cypress CY7C63413C - page 1

    Low-S peed High I/O, 1.5-Mbp s USB Controlle r CY7C63413C CY7C63513C CY7C63613C Cypress Semiconductor Corpora tion • 198 Champion Cou rt • San Jose , CA 95134-1 709 • 408-943-2 600 Document #: 38-08027 Rev . *B Revised January 6, 2006 Features • Low-cost solution for low-sp eed application s with high I/O requirements such as keyboards, key ...

  • Cypress CY7C63413C - page 2

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 2 of 32 The sink current for each DAC I/O pin can be individu ally programmed to one of sixteen values using de dicated Isink registers. DAC bits [1:0] can be used as high current outputs with a programmable sink cu rrent range of 3.2 to 16 mA (typical). DAC bits [7:2] have a progr ...

  • Cypress CY7C63413C - page 3

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 3 of 32 . Note: 1. CY7C63613C is not bonded out for all GPIO pins shown in Logic Bl ock Diagram. Refer to pin confi guration diagram for bon ded ou t pins. See note on p age 12 for firmware code need ed fo r unused GPIO pins. Logic Block Diagram Interrupt Controller EPROM 12-bit Ti ...

  • Cypress CY7C63413C - page 4

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 4 of 32 Programming Model 14-bit Program Counter (PC) The 14-bit Program Counter (PC) allows access for up to 8 kilobytes of EPROM using the CY7C63413C/513C/613C architecture. The p rogram counter is cleared during reset, such that the first instruction executed after a reset is at ...

  • Cypress CY7C63413C - page 5

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 5 of 32 During an interrupt acknowledge, interrupts are disabled and the 14-bit program counte r , carry flag, and zero flag are wri tten as two bytes of dat a memory . The first byt e is stored i n the memory addressed by the program stack pointer , then the PSP is incremented. Th ...

  • Cypress CY7C63413C - page 6

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 6 of 32 Instruction Set Summary MNEMONIC operand opcode cycles MNEMONIC operand o pcode cycles HAL T 00 7 NOP 20 4 ADD A,expr data 01 4 INC A acc 21 4 ADD A,[expr] direct 02 6 INC X x 22 4 ADD A,[X+expr] index 03 7 INC [expr] direct 23 7 ADC A,expr data 04 4 INC [X+expr] index 24 8 ...

  • Cypress CY7C63413C - page 7

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 7 of 32 Memory Organization Program Memory Organizati on after reset Address 14-bit PC 0x0000 Program execution begins here after a reset 0x0002 USB Bus Reset interrupt vector 0x0004 128- µ s timer interrupt vector 0x0006 1.024-ms timer inte rrupt vector 0x0008 USB address A endpo ...

  • Cypress CY7C63413C - page 8

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 8 of 32 Dat a Memory Organization The CY7C63413C/513C/6 13C microcontrollers provide 256 bytes of data RAM. In normal usage, the SRAM is p a rtitioned into four areas: program stack, data stack, user variables and USB endpoint FIFOs as shown below: after reset Address 8-bit PSP 0x0 ...

  • Cypress CY7C63413C - page 9

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 9 of 32 I/O Register Summary I/O registers are accessed via the I/O Read (IOR D) and I/O Write (IOWR, IOWX) instr uct ions. IORD reads the selected port into the accumula tor . IOWR writes data from the accumu- lator to the selected port. Indexed I/O Write (IOWX) adds the contents ...

  • Cypress CY7C63413C - page 10

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 10 of 32 Clocking The XT AL IN and XT AL OUT are the clock pin s to the microcon- troller . The user can conne ct a low-cost ceramic resonator o r an external osci llator can be conn ected to thes e pins to provide a reference frequen cy for the internal clock distribution and cloc ...

  • Cypress CY7C63413C - page 11

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 1 1 of 32 initialization noted under “Reset,” bit 6 of the Processor St atus and Control Register is set to “1” to indicate to the firmware that a W atch Dog Reset occurred. The Watch Dog T imer is a 2-bit timer clocked by a 4.09 6-ms clock (bit 1 1) from the free-running t ...

  • Cypress CY7C63413C - page 12

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 12 of 32 Port 3 has eight GPIO pins. Port 3 (8 bits) can be configured as inputs with internal pull-ups, open drain outputs, or tradi- tional CMOS outputs. An open drain output is also a high- impedance input. Port 3 offers high current drive with a typical current sink capability ...

  • Cypress CY7C63413C - page 13

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 13 of 32 In “Resistive” mode, a 7-k Ω pull-up resistor is conditionally enabled for all pins of a GPIO port. The resistor is enabled for any pin that has been written as a “1.” The resistor is disabled on any pin that has been written as a “0.” An I/O pin wi ll be dri ...

  • Cypress CY7C63413C - page 14

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 14 of 32 The DAC port provide s the CY7C63513C with 8 prog ram- mable current sink I/O pins. Writing a “1” to a DAC I/O pin disables the output current sink (Isi nk DAC) and drives the I/O pin HIGH through an inte grated 14 Kohm resistor . When a “0” is written to a DAC I/O ...

  • Cypress CY7C63413C - page 15

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 15 of 32 USB Serial Interface Engine (SIE) The SIE allows the microcontroller to communicate with the USB host. The SIE simplifies the interface between the micro- controller and USB by incorporating hardwa re that handles the following USB bus activity independe ntly of the microc ...

  • Cypress CY7C63413C - page 16

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 16 of 32 The Bus Activity bit is a “sticky” bit that indicates if any non-idle USB event has occurred on the USB bu s. The user firmware should check and clear this bit periodically to detect any loss of bus activity . Writing a “ 0” to t he Bus Activity bit clears it wh il ...

  • Cypress CY7C63413C - page 17

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 17 of 32 The ‘Acknowledge’ bit is set whenever the SIE engages in a transaction that complete s with an ‘ACK’ packet. The ‘set-up’ PID status (bit[7]) is forced HIGH from the start of the data packet phase of the set-up transaction, until the start of the ACK packet ret ...

  • Cypress CY7C63413C - page 18

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 18 of 32 12-bit Free-running T imer The 12-bit timer p rovides two interru pts (128 µ s and 1.024 ms) and allows the firmware to directly time events that are up to 4 ms in duration. The lower 8 bits of the timer can be read directly by the fi rm ware. Reading the lower 8 bits lat ...

  • Cypress CY7C63413C - page 19

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 19 of 32 The “Single S tep” (bit 1) is provided to support a hardware debugger . Whe n single step is set, the pro cessor will execute one instruction and halt (clear the run bit). This bit must be cleared for normal operation. The “Interrupt Mask” (bit 2) shows wheth er in ...

  • Cypress CY7C63413C - page 20

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 20 of 32 Interrupt V ector s The Interrupt V ectors supported by the USB Control ler are listed in T able 27 . Alth ough Reset is not an interrupt, per se, the first instruction executed af ter a reset is at PROM address 0x0000—which corresponds to the fi rst entry in the Inte rr ...

  • Cypress CY7C63413C - page 21

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 21 of 32 T ruth T ables The ‘In’ column repre sents the SIE’s response to the token type. A disabled endpoint will rema in such until firmware chang es it, and all endpoints reset to disabled. Any Setup packet to an enabled and accepting endpoint will be changed by the SIE to ...

  • Cypress CY7C63413C - page 22

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 22 of 32 The response of the SIE can be summarized as follows: 1. the SIE will only respond to valid transactions, and will ig- nore non-valid ones; 2. the SIE will generate IRQ when a val id transaction is completed or when the DMA buffer is corrupted 3. an incoming Data packet is ...

  • Cypress CY7C63413C - page 23

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 23 of 32 T able 29.Details of Modes for Differing T raffic Conditions End Point Mode PID S et End Point Mode 3 2 1 0 token count buffer dval DTOG DV AL COUNT Setup In Out ACK 3 2 1 0 response int Setup Packet (if accepting) See T a b le 28 Setup <= 10 data valid updates 1 update ...

  • Cypress CY7C63413C - page 24

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 24 of 32 End Point Mode PID S et End Point Mode 3 2 1 0 token count buffer dval DTOG DV AL COUNT Setup In Out ACK 3 2 1 0 response int 0 0 1 0 Out !=2 UC valid updates 1 updates UC UC 1 UC 0 0 1 1 Sta ll yes 0 0 1 0 Out > 10 UC x UC UC UC UC UC UC UC UC UC UC UC ignore no 0 0 1 ...

  • Cypress CY7C63413C - page 25

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 25 of 32 Absolute Maximum Ratings S torage T emperature ............. .............. .............. .............. .............. ... .............. .............. ....... ............. .............. .... –65°C to + 150°C Ambient T emperature with Power Applied ............. . ...

  • Cypress CY7C63413C - page 26

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 26 of 32 Notes: 9. Per T able 7-7 of revision 1.1 of USB specification, for C LOAD of 50–600 pF . 10. Measured as largest step size vs. nominal accord ing to measured full scale and zero programmed values. 11 . T ratio = Isink1[1:0 ](n)/Isink0[ 7:2](n) fo r the same n , programm ...

  • Cypress CY7C63413C - page 27

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 27 of 32 . Figure 8. Clock Timing CLOCK t CYC t CL t CH Figure 9. USB Data Signal Timing Figure 10. Receiver Jitter T oleran ce 90% 10% 90% 10% D − D + t r t f V crs V oh V ol D iffere nti al Data L i ne s Paired Transi ti ons N * T PERIOD + T JR2 T PERIOD Cons ecu ti ve Transit ...

  • Cypress CY7C63413C - page 28

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 28 of 32 Figure 1 1. Differential to EOP T ransition Skew and EOP Width Figure 12. Differential Dat a Jitter T PERIOD Differential Data Lines Cr osso ver Point Cro sso ve r Po i n t Extended Source EOP Width : T EOPT Receiv er EOP W i dth: T EO PR1 , T EOPR2 Diff. Data to SE0 Skew ...

  • Cypress CY7C63413C - page 29

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 29 of 32 Die Pad Locations T able 30.DIe Pad Locations (in microns) Pad # Pin Name X Y Pad # Pin Name X Y 1 D+ 1496.95 2995.0 0 48 V CC 1619.65 3023.60 2 D- 467.40 299 5.00 47 V SS 1719.65 302 3.60 3 Port3[7] 345.15 3023.60 46 Port3[6] 182 3.10 3023.60 4 Port3[5] 242.15 3023.60 45 ...

  • Cypress CY7C63413C - page 30

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 30 of 32 Package Diagrams 48-Lead Shrunk Small Outlin e Package SP48 51-85061-*C 51-85019-* A 40-Lead (600-Mil) Mo lded DIP P2 [+] Feedback ...

  • Cypress CY7C63413C - page 31

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 31 of 32 © Cypress Semi con duct or Cor po rati on , 20 06 . The information con t ained herei n is su bj ect to ch an ge wi t hou t n oti ce. C ypr ess S em ic onduct or Corporation assumes no responsib ility for th e u se of any circuitry o ther than circuitr y embodied in a Cyp ...

  • Cypress CY7C63413C - page 32

    CY7C63413C CY7C63513C CY7C63613C Document #: 38-08027 Rev . *B Page 32 of 32 Document History Page Document Title: CY7C63413C, CY7C63513C, CY7C63613C Low-speed High I/O, 1.5 -Mbps USB Controller Document Number: 38 -08027 REV . ECN NO. Issue Date Orig. of Change Description of Change ** 1 16224 06/12/02 DSG Ch ange from S pec number: 38-00754 to 38 ...

Fabricant Cypress Catégorie Computer Hardware

Les documents que nous recevons du fabricant de l'appareilCypress CY7C63413C peuvent être divisés en plusieurs groupes. Ceux-ci sont, entre autres:
- dessins techniques Cypress
- manuels d’utilisations CY7C63413C
- fiches produit Cypress
- dépliants
- ou étiquettes-énergie Cypress CY7C63413C
Tous sont importants, mais les informations les plus importantes du point de vue de l'utilisation de l'appareil se trouvent dans le manuel d’utilisation Cypress CY7C63413C.

Un groupe de documents appelé manuels d’utilisation est également divisé en types plus spécifiques, tels que: Manuels d’installation Cypress CY7C63413C, manuels d’entretien, brefs manuels ou manuels de l’utilisateur Cypress CY7C63413C. Selon vos besoins, vous devriez chercher le document dont vous avez besoin. Sur notre site, vous pouvez voir le manuel le plus populaire d’utilisation du produit Cypress CY7C63413C.

Manuels d’utilsiation similaires

Manuel d’utilisation complet de l’appareil Cypress CY7C63413C, quelle devrait-elle être?
Le manuel d’utilisation, également appelé le mode d’emploi, ou tout simplement le manuel, est un document technique destiné à aider à utiliser Cypress CY7C63413C par les utilisateurs. Des manuels sont généralement écrits par un rédacteur technique, mais dans un langage accessible à tous les utilisateurs Cypress CY7C63413C.

Le manuel d’utilisation complet Cypress, devrait inclure plusieurs éléments de base. Certains d'entre eux sont moins importants, tels que: la couverture / page de titre ou pages d'auteur. Cependant, la partie restante, devrait nous fournir des informations importantes du point de vue de l'utilisateur.

1. Introduction et des conseils sur la façon d'utiliser le manuel Cypress CY7C63413C - Au début de chaque manuel, nous devrions trouver des indices sur la façon d'utiliser le document. Il doit contenir des informations sur l'emplacement de la table des matières Cypress CY7C63413C, FAQ ou des problèmes les plus fréquents - les points qui sont les plus souvent recherchés par les utilisateurs de chaque manuel
2. Table des matières - index de tous les conseils pour lCypress CY7C63413C qui peuvent être trouvés dans le document courant
3. Conseils sur la façon d'utiliser les fonctions de base de l’appareil Cypress CY7C63413C - qui devraient nous aider dans les premières étapes lors de l'utilisation Cypress CY7C63413C
4. Troubleshooting - séquence systématique des activités qui nous aideront à diagnostiquer et ensuite résoudre les principaux problèmes de Cypress CY7C63413C
5. FAQ - questions fréquemment posées
6. Détails du contact Informations sur l'endroit où chercher le contact avec le fabricant / service Cypress CY7C63413C dans un pays donné, si le problème ne peut être résolu par nous-mêmes.

Avez-vous une question à propos de Cypress CY7C63413C?

Utiliser le formulaire ci-dessous

Si vous n’avez pas résolu votre problème avec Cypress CY7C63413C, avec l'aide du manuel que vous avez trouvé, posez une question en utilisant le formulaire ci-dessous. Si un utilisateur a eu un problème similaire avec Cypress CY7C63413C il est probable qu’il a envie de partager la façon de le résoudre.

Réécrire le texte de l'image

Commentaires (0)