Cypress Semiconductor CY7C63413C manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Cypress Semiconductor CY7C63413C, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Cypress Semiconductor CY7C63413C one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Cypress Semiconductor CY7C63413C. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Cypress Semiconductor CY7C63413C should contain:
- informations concerning technical data of Cypress Semiconductor CY7C63413C
- name of the manufacturer and a year of construction of the Cypress Semiconductor CY7C63413C item
- rules of operation, control and maintenance of the Cypress Semiconductor CY7C63413C item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Cypress Semiconductor CY7C63413C alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Cypress Semiconductor CY7C63413C, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Cypress Semiconductor service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Cypress Semiconductor CY7C63413C.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Cypress Semiconductor CY7C63413C item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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 [...]

  • 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[...]

  • 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[...]

  • 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 [...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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 [...]

  • 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 ...............[...]

  • 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 large st step size vs. nominal accord ing to measured full scale and zero programmed values. 11 . T ratio = Isin k1[1:0](n)/Is ink0[7:2 ](n) for the same n, pro gramm[...]

  • 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 [...]

  • 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 EOPR1 , T EOPR2 Diff. Data to SE0 Skew N[...]

  • 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 [...]

  • 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[...]

  • 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[...]

  • 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 Change from S pec number: 38-00754 to 38-[...]