Cypress CY8C21234 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
33
34
35
36
37
38
39
40
41
42
43
44
45

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Cypress CY8C21234, 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 CY8C21234 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 CY8C21234. 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 CY8C21234 should contain:
- informations concerning technical data of Cypress CY8C21234
- name of the manufacturer and a year of construction of the Cypress CY8C21234 item
- rules of operation, control and maintenance of the Cypress CY8C21234 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 CY8C21234 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 CY8C21234, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Cypress 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 CY8C21234.

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 CY8C21234 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

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 PSoC ® Programmable System-on-Chip™ Cypress Semiconductor Corpora tion • 198 Champion Court • San Jose , CA 95134-1709 • 408-943-2600 Document Number: 38 -12025 Rev . *O Revised April 06, 2 009 Features ■ Powerful Harvard Architecture Processor ❐ M8C Processor S peeds to 24 MHz ❐ L[...]

  • Page 2

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 2 of 45 PSoC Functional Overview The PSoC family consists of many Mixed-Signal Array wi th On-Chip Controller devices. T hese devices are designe d to replace multiple traditional M CU-base d system components with one low cost single-chip programmable com[...]

  • Page 3

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 3 of 45 The Analog Syst em The Analog System consists of 4 configurable bl ocks that allow the creation of complex analog signa l flows. Analog peripherals are very flexible and may be customized to support specific application requirements. Some of the co[...]

  • Page 4

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 4 of 45 PSoC Devi ce Charac teristics Depending on you r PSoC device characteri stics, the digital and analog systems can have 16, 8, or 4 digital blocks and 12, 6, or 4 analog block s. T able 1 lists the resources available for specific PSoC device groups[...]

  • Page 5

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 5 of 45 Development T ools PSoC Designer is a Microsoft ® Windows-ba sed, integrated development environment for th e Programmable System-on-Chip (PSoC) devices. The PSoC Designer IDE runs on Windows XP or Wi ndows Vista. This system provides design datab[...]

  • Page 6

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 6 of 45 Designing with PSoC Designer The development p rocess for the PSoC device differs from th at of a traditional fi xed function microprocessor . The co nfigurable analog and digital hardware blocks give th e PSoC architecture a unique flexibility tha[...]

  • Page 7

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 7 of 45 Document Conventions Acronyms Used The following table lists the acronyms that are used in this document. Units of Measure A units of measure table is locat ed in the Electrical S p ecifications section. T able 2 on page 7 lists all the abbreviatio[...]

  • Page 8

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 8 of 45 Pin Information The CY8C21x34 PSoC device is availa ble in a variety of packages which are listed in the following tables. Eve ry port pin (label ed with a “P”) is capable of Digital IO and connection to the common analog bus. How ever , Vss, V[...]

  • Page 9

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 9 of 45 20-Pin Part Pinout Figure 4. CY8C21334 20-Pin PSoC Device SSO P Vd d P0 [6 ], A, I, M P0 [4 ], A, I, M P0 [2 ], A, I, M P0 [0 ], A, I, M XR E S P1 [6 ], M P1 [4 ], EXTC L K, M P1 [2 ], M P1 [0 ], I2 C SDA, M 20 19 18 17 16 15 14 13 12 11 1 2 3 4 5 [...]

  • Page 10

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 10 of 45 28-Pin Part Pinout Figure 5. CY8C21534 28-Pin PSoC Device A, I, M , P0 [7 ] A, I, M , P0 [5 ] A, I, M , P0 [3 ] A, I, M , P0 [1 ] M, P 2 [ 7 ] M, P 2 [ 5 ] M, P 2 [ 3 ] M, P 2 [ 1 ] Vs s M, I 2 C S C L , P 1 [ 7 ] M , I 2 C SD A, P1 [5 ] M, P 1 [ [...]

  • Page 11

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 1 1 of 45 32-Pin Part Pinout A, I, M, P0[1] M, P2[7 ] M, P2[5 ] M, P2[3 ] M, P2[1 ] SMP QFN (Top View) 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 24 23 22 21 20 19 18 17 32 31 30 29 28 27 26 25 Vss P0[3], A, I, M P0[7], A, I, M Vdd P0[6], A, I, M P0[4], A, I, [...]

  • Page 12

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 12 of 45 T able 6. Pin Definitions - CY 8C21434/CY8C21634 32-Pin (QF N) [4] Pin No. Ty p e Name Des cription Digit a l Analog 1 IO I, M P0[1] Analog column mux input, integrating inp ut. 2 IO M P2[7] 3 IO M P2[5] 4 IO M P2[3] 5 IO M P2[1] 6 IO M P3[3] In C[...]

  • Page 13

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 13 of 45 56-Pin Part Pinout The 56-pin SSOP part is for the CY8C21001 On-Chip Debug (OCD) PSoC device. Note This part is only used for in-circuit debugging. It is NOT available for productio n. Figure 12. CY8C21001 56-Pin PSoC Device T able 7. Pin Definiti[...]

  • Page 14

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 14 of 45 19 IO P3[3] 20 IO P3[1] 21 NC No connection. 22 NC No connection. 23 IO P1[7] I2C Serial Clock (SCL). 24 IO P1[5] I2C Serial Data (SDA) . 25 NC No connection. 26 IO P1[3] I FMTEST . 27 IO P1[1] Crystal Input (XT ALin), I2C Serial Clock (SCL), ISSP[...]

  • Page 15

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 15 of 45 Register Reference This chapter lists the registers of the CY8C21x34 PSoC device. For detailed register information, re fer the PSoC Programmable System-on-Chip T echnical Reference Manual . Register Conventions The register conventions spe cific [...]

  • Page 16

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 16 of 45 DBB00DR0 20 # AMX_IN 60 R W A0 INT_MSK0 E0 RW DBB00DR1 21 W AMUXCFG 61 RW A1 INT_MSK1 E1 RW DBB00DR2 22 RW PWM_CR 62 RW A2 INT_VC E2 RC DBB00CR0 23 # 63 A3 RES_WDT E3 W DBB01DR0 24 # CMP_CR0 64 # A4 E4 DBB01DR1 25 W 65 A5 E5 DBB01DR2 26 RW CMP_CR1[...]

  • Page 17

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 17 of 45 15 55 95 D5 16 56 96 D6 17 57 97 D7 18 58 98 MUX_CR0 D8 RW 19 59 99 MUX_CR1 D9 RW 1A 5A 9A MUX_CR2 DA RW 1B 5B 9B MUX_CR3 DB RW 1C 5C 9C DC 1D 5D 9D OSC_GO_EN DD RW 1E 5E 9E OSC_CR4 DE RW 1F 5F 9F OSC_CR3 DF RW DBB00FN 20 RW CLK_CR0 60 RW A0 OSC_C[...]

  • Page 18

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 18 of 45 Electrical Specifications This section p resents the DC and AC electrica l specifications of the CY8C21x34 PSoC device. For up to date electrical specifica tions, visit the web site http://www .cypress.com/psoc . S pecificati ons are valid for -40[...]

  • Page 19

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 19 of 45 Absolute Maxi mum Ratings Operating T emperature DC Electrical Characterist ics DC Chip-Level Specificatio ns Ta b l e 1 4 lists the guaranteed maximu m and minimum spec ifications for the voltage and temperature ranges: 4.75V to 5.25V and -40 ° [...]

  • Page 20

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 20 of 45 DC General Purpose IO Specifications The following tables li st the guaranteed maximum and minimum sp ec ifications fo r the voltage and temperature ranges: 4.75V to 5. 25 V and -40 ° C ≤ T A ≤ 85 ° C, 3.0V to 3.6V and -40 ° C ≤ T A ≤ 8[...]

  • Page 21

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 21 of 45 DC Operational Amplifi er Specifications The following tables li st the guaranteed maximum and minimum sp ec ifications fo r the voltage and temperature ranges: 4.75V to 5. 25 V and -40 ° C ≤ T A ≤ 85 ° C, 3.0V to 3.6V and -40 ° C ≤ T A ?[...]

  • Page 22

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 22 of 45 DC Low Power Comparator Specifications Ta b l e 2 0 lists the guaranteed maximu m and minimum spec ifications for the voltage and temperature ranges: 4.75V to 5.25V and -40 ° C ≤ T A ≤ 85 ° C, 3.0V to 3.6V and -40 ° C ≤ T A ≤ 85 ° C, o[...]

  • Page 23

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 23 of 45 Figure 15. Basic Switch Mode Pump Circuit Δ V PUMP_ Line Line Regulation (over Vi range) – 5 – %V O Con figuration of footnote. [6] V O is the “Vdd V alue for PUMP T rip” speci fied by the VM[2:0] setting in the DC POR and L VD S pecifica[...]

  • Page 24

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 24 of 45 DC Analog Mux Bus Specifications Ta b l e 2 2 lists the guaranteed maximu m and minimum spec ifications for the voltage and temperature ranges: 4.75V to 5.25V and -40 ° C ≤ T A ≤ 85 ° C, 3.0V to 3.6V and -40 ° C ≤ T A ≤ 85 ° C, or 2.4V[...]

  • Page 25

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 25 of 45 DC Programming Specifications Ta b l e 2 4 lists the guaranteed maximu m and minimum spec ifications for the voltage and temperature ranges: 4.75V to 5.25V and -40 ° C ≤ T A ≤ 85 ° C, 3.0V to 3.6V and -40 ° C ≤ T A ≤ 85 ° C, or 2.4V to[...]

  • Page 26

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 26 of 45 AC Electrical Characterist ics AC Chip-Level Specifications The following tables li st the guaranteed maximum and minimum sp ec ifications fo r the voltage and temperature ranges: 4.75V to 5. 25 V and -40 ° C ≤ T A ≤ 85 ° C, 3.0V to 3.6V and[...]

  • Page 27

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 27 of 45 Figure 16. 24 MHz Period Jitter (IMO) T iming Diagram Figure 17. 32 kHz Period Jitter (ILO) Timing Diagram T able 26. 2.7V AC Chip-Level Specifications Symbol Description Min Ty p Ma x Units Notes F IMO12 Internal Main Oscillator Frequency for 12 [...]

  • Page 28

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 28 of 45 AC General Purpose IO Specifications The following tables li st the guaranteed maximum and minimum sp ec ifications fo r the voltage and temperature ranges: 4.75V to 5. 25 V and -40 ° C ≤ T A ≤ 85 ° C, 3.0V to 3.6V and -40 ° C ≤ T A ≤ 8[...]

  • Page 29

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 29 of 45 AC Analog Mux Bus Specifications Ta b l e 3 1 lists the guaranteed maximu m and minimum spec ifications for the voltage and temperature ranges: 4.75V to 5.25V and -40 ° C ≤ T A ≤ 85 ° C, 3.0V to 3.6V and -40 ° C ≤ T A ≤ 85 ° C, or 2.4V[...]

  • Page 30

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 30 of 45 AC External Clock Specifications The following tables li st the guaranteed maximum and minimum sp ec ifications fo r the voltage and temperature ranges: 4.75V to 5. 25 V and -40 ° C ≤ T A ≤ 85 ° C, or 3.0V to 3.6 V and -40 ° C ≤ T A ≤ 8[...]

  • Page 31

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 31 of 45 AC Programming Specifications Ta b l e 3 7 lists the guaranteed maximu m and minimum spec ifications for the voltage and temperature ranges: 4.75V to 5.25V and -40 ° C ≤ T A ≤ 85 ° C, or 3 .0V to 3.6V and -40 ° C ≤ T A ≤ 85 ° C, respec[...]

  • Page 32

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 32 of 45 AC I 2 C Specif ications The following tables li st the guaranteed maximum and minimum sp ec ifications fo r the voltage and temperature ranges: 4.75V to 5. 25 V and -40 ° C ≤ T A ≤ 85 ° C, 3.0V to 3.6V and -40 ° C ≤ T A ≤ 85 ° C, or 2[...]

  • Page 33

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 33 of 45 Figure 19. Definition for Timing fo r Fast/St andard Mode on the I 2 C Bus T able 39. 2.7V AC Ch aracteristics of the I 2 C SDA and SCL Pins (Fast Mode not Su pported) Symbol Description Stan da r d Mo d e Fast Mode Units Min Max Min Max F SCLI2C [...]

  • Page 34

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 34 of 45 Packaging Information This section shows the packaging specific ations for the CY8C21x3 4 PSoC device with the thermal impe dances for each package. Important Note Emulation tools may re quire a larger are a on the target PCB than the chip’s foo[...]

  • Page 35

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 35 of 45 Figure 22. 28-Pin (210-Mil) SSOP Figure 23. 32-Pin (5x5 m m 0.93 MAX) QFN 51-85079 *C 51-85188 * B E-P AD X, Y for this product is 3.53 mm, 3.53 mm (+/-0.1 1 mm) [+] Feedback[...]

  • Page 36

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 36 of 45 Figure 24. 32-Pin (5x5 m m 0.60 MAX) QFN Figure 25. 32-Pin (5 X 5 X 0.4MM) QFN (SA WN 1.85 X 2.85 EP AD E-P AD X, Y for this product is 3.53 mm, 3.53 mm (+/-0.1 1 mm) 001-06392 * A 001-44368 *A [+] Feedback[...]

  • Page 37

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 37 of 45 Figure 26. 32-Pin Sawn QFN Package Figure 27. 32-Pin Thin Sawn QFN Package Important Note For information on the preferred dimensions for mount ing QFN packages, see the following Appl ication Note at http://www .amkor .com/products/notes_papers/M[...]

  • Page 38

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 38 of 45 Figure 28. 56-Pin (300-Mil) SSOP Thermal Impedances 51-85062 *C T able 40. Thermal Impedances per Package Package Ty p i c a l θ JA [22] T ypical θ JC 16 SOIC 123 o C/W 55 o C/W 20 SSOP 1 17 o C/W 41 o C/W 28 SSOP 96 o C/W 39 o C/W 32 QFN [23] 5[...]

  • Page 39

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 39 of 45 Solder Reflow Peak T emperature Following is the minimum solder reflow peak temperature to achieve go od solderability . T able 41. Solder Reflow Peak T emperature Package Minimum Peak T emperature [24] Maximum Peak T emperature 16 SOIC 240 o C 26[...]

  • Page 40

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 40 of 45 Development T ool Selection This section presents the development tools available for all current PSoC device families incl uding the CY8C21x3 4 family . Sof tware PSoC Designer ™ At the core of the PSoC development software suite is PSoC Design[...]

  • Page 41

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 41 of 45 CY3210-PSoCEval1 The CY3210-PSoCEval1 kit features an eva luation board and the MiniProg1 programming unit. The evalu ation board incl udes an LCD module, pote ntiometer , LEDs, and plenty of bread- boarding space to meet all of your evaluation ne[...]

  • Page 42

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 42 of 45 Ordering Information Note For Die sales information, contact a local Cypress sales office or Field Applications Engineer (F AE). Package Ordering Code Flash (Bytes) SRAM (Bytes) Switch Mode Pump T em perature Range Digita l Blocks Analog Blocks Di[...]

  • Page 43

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 43 of 45 Ordering Code Definitions CY 8 C 21 xxx-24xx Package T ype: Thermal Rating: PX = PDIP Pb-Free C = Commercial SX = SOIC Pb-Free I = Industrial PVX = SSOP Pb-Free E = Extended LFX/LKX = QFN Pb-Free AX = TQFP Pb-Free S peed: 24 MHz Part Number Family[...]

  • Page 44

    CY8C21634, CY8C21534 CY8C21434, CY8C21334, CY8C21234 Document Number: 38-1202 5 Rev . *O Page 44 of 45 Document History Page Document Title: CY8C21234/CY8C21334/CY8C2 1434/CY8C21534/CY8C 21634 PSoC ® Programmable System-on-Ch ip™ Document Number: 38-12025 Revision ECN No. Orig. of Change Submission Date Description of Chang e ** 227340 HMT See E[...]

  • Page 45

    Document Number: 38-12025 Rev . *O Revised April 06, 2009 Page 45 of 45 PSoC Designer™ and Programmable System-on-Chip™ are trademarks and PSoC ® is a registered trade m ark of Cypress Semicon ductor Cor p. All othe r trademarks or re gistered trademar ks referenced herein are pro perty of th e respective corporatio ns. Purcha se of I2C compon[...]