Home
Cypress Semiconductor CY8C24094 Specifications
Contents
1. Si Coe Exp 585 Verify Output 1 Program the board wih USEUARThex kom lt insta11_Directory gt Cypreza cY3214 BRSCEUALUSR lt version gt Fi muar USBUART USROART as explained n Programming Spsciicatana and Gonnactons on page 16 On successi programming disconnect fhe MniProg and connect a USB cable rom the board toa ree USB porton PC When connecting for the frat time wait for the device to be instaat Ignore the Digtal Signature warning when prompted click on Continue Anyway Check the Device Manager for he comm port number alot for USBUART device Open HyperTerminal and connect to the required comm port Sete comm port setings as follows 19200 N 8 1 FlowContro None Figure 576 HyperTerminal Setings An echoed message displays on the HyperTerminal Notes m The local echoing of transmit data in HyperTerminal is disabled by defau Sae File gt Proper ties gt Settings gt ASCII Setup m enabled two instances of every character transmitted are seen inthe HyperTerminal once dve to local echoing and the other isthe received data n CY3214 PS0CEVALUSE Ki Guide Doe No 001 67030 Rev E Code Esamples Figure 5 77 ASCII Setup spel ntl amt dt pre pre E Figure 578 Messages Displayed on HyperTerminal CY3214 PS0CEVALUSE Kt Guide Doc No 00167080 Rv E n Code Eamples 59 591 592 Joystick Description Thi project is
2. Pin No Pin ame Bescriplon s ee System gure 7 ars Request sera LUNETTE 424 Power Supply Connector 113 Yau can power he boardi rom tha USS cable or from an extemal 9 V ta 12 V power supply DI is used as a protecting diode The protecting diodas are necessary he load discharges are slower han the fiter capacitor ater the rectification process Figure 47 Power Supply Connector P menn E EN 425 LEDS LED1 4 Four LEDs are accessible though headers LED1 A LEDs are iluminated by connecting the signal o Ves active low set drive t strong drive low These LEDs are active low Figure 48 LEDs 426 Buzzer LS1 The buzzer is accessible through LS Figure 49 Buzzer E Otaz14 PSOCEVALUSE Kit Guide Doe No 00167030 v 8 427 428 ISSP Connector 415 This is used to program the device using he MiriProg device and the USB cab To load a hex fie o he PSoC device chip plug the MinProg device to e jumper connector 11 Figure 4 10 ISSP Connector po Joystick JS1 A joystick is used to create a game JSV vertical pot value JSH horizonta pot value and JSW switch are accessible though the header on the board Figure 411 Joystick CYa2t PSeCEVALUSE Kt Guide Doc No 00167080 Rv E a 429 Reset Button 53 The reset button is used to reset he CY3214 PSoCEVALUSE ki Figure 4 12 Reset Buton
3. ey ES to ov 421 Character LCD Module The kit has a character LCD module which goes into the character LOD header P The LCD runs en SV supply and can funcion regardless of he voltage on which PSOC is powered There is a Zero onm resistor seting available onthe LCD section making posse lo conver i to a 33V LCD The variable resistar R2 s a contrast ptentometer tis used to control the LCD contrast Figure 43 LCD Module ERE BEBE MESTRE 422 CY3214 PS0CEVALUSE Kt Guid Doc No 00167080 Rav CapSensa Buttons PA O PAI and Siders Port There are mo CapSense butons and eight element CapSense siders on the CYS214 PSOCEVALUSE ki CapSenss Sigma Deta uses an extemal modulation capacitor CMOD the oppor sensor pad on he C3214 PSeGEVALUSB board and beed resistor FE in addition to ne sensor capacitor Cx Bleed Resistor Rb The CSD uses the switched capacitor cireuitry to convert the sensor apactance into a voltage which is compared to a reference voltage When the capacitar volage Teaches the reference voltage he comparato Wiggers a bleed resistor discharging the capacitor Anar he capactor voltage discharges below the reference voltage the bled resistor s left Meng to alow the capactor to continue charging The comparator output becomes a bit stream as i goes he bond resistor and manipulates its input voltage This bit stream is ANDed wih a pulse Wh modulator PWM
4. vee 15 mJ 15 mJ 1 MA we 4240 _ ICE Cube Connector 114 The ICE Cube available in the CV3215 DK Ki provides significant debugging funcional that requires tl wo way communsaton between the ICE and your computer This sofware interlace allows totu hale and single step the processor and view the content of specifie memory locaton It also allows to set complex event por Even points can stan and stop he race memory on the IGE as wol as break the program execution The ICE Cube supports large memory modal PSOC deices with more than 258 bytes of RAM and is backward compatble wih previous PSEC devices cvaca714s and CYBC24x23A Figure 4 19 ICE Cube Connector EI taz14 PSOCEVALUSA Ki Guide Doe No 001 67030 Rev E Tabla 4 4 Pin Description Pane Pin Fame GUEST T RN REED 3 XRES Rese iral ured riy tr Resa roan mage EN CN ve Sars volue 42 4 USB Connector P1 Tre mini USB type B connector is compatble wih USB 2 0 connector speifctions The RO fiter is used o isolate the VALS from fne on board voltage domain Figure 4 14 USB Connector 42 12 Potentiometers VR1 and VR2 A potentiometer is a manualy adjustable resistor The potentiometer used here is of 10 KO variable rattas They are tied 1o Vas and Voz set arive to analog high 2 Figure 4 15 Potentiometers eroare 4213 Buttons St and S2 These are SPS
5. Hardware fies Kit ouide Quick start guide a Release notes m Jumper wire pack n CY8C24804 24LTXI sample silicon Inspect the cantons of the k t any parts are missing contact your nearest Cypros sales ofic or her aecictance 12 121 13 14 Additional Learning Resources Visit wwwcypress com for addtional leaming resources in the fom of data sheets technical reference manuals and application notes Reference Documents Schematic diagram for the CY3214 PSoCEVALUSS board bi cypress comigoiGY3214 PSeCEvalSB CY8C24894 24LTXI data shoe Hp Amiceypress conv mpn CYBC24804 24L7X1 PSeC MniProg deals tit cypress comugo CY3217 MeiProgt ICE Cube details npc cypress comigo CY32 15 OK m PSC Designer PScC Designer Overview az waw cypress com ga paoccenigner a PSeC Designer Training PSoC Designer On Demand Training Seres and videos Hp Juice presa compsoctaining PSoC Programmer COM Hardware Layer Supported Languages Hp cypress comigoipsocprogrammer Document History POF Greater Orin at Revision POF creator E Description of Change osram A IEA C ueram sron LESS SEE TPE TOOT Updated scoren PIE Katani meen updated Figure 515 td instr te names onventions Tabie 14 Document Conventions tor Guides Convention 3 Displays casos user entered on and mcs cede Displays ie names ana lor documentation Pea abou me soe ex e in me PS0C Designer User
6. 2 Cick Install the C 2214 PSOCEVALUSE to start the installation as shown in Figure 2 Figure 2 1 Kit Installer Startup Screen CY3214 PS0CEVALUSE Kit Guide Doc No 00147000 Rav etno Sarea Note i autorun does not execute doube cick oyautorum exe tle onthe root directory ofthe CD DVD as shown in Figure 22 Figure 22 Root directory ofthe CDIDVD ETTC pre pw pmr es a 3 On the startup screen click Next to start the installer A Tra nse Wizard screen is payed wih a celat cato orsa You can charge pe location using Change as shown in Figure 5 Clk Next to launch the kit installer Figure 2 3 InstallShield Wizard E 6 On the Product Installation Overview screen select he installation type that best suits your requirement The drop down menu has three options Typical Complete and Custom see Figure 2 4 7 Gick Next to continue the installation EI taz14 PSOCEVALUSA Ki Guide Doe Ne 001 67030 x Figure 24 Installation Type Options 3 When the installation begins ist of all packages appears on the Installation Page 9 A green check mark appears adjacent to every package that is cached and installed Wait unti all the packages are downloaded and installed successful Figure 2 5 instalation Page arma ponen c E A po ive a question about td E a product or service c E A Genio Sarea 22 10 Giek Finish to complete the ins
7. with the device It handles all he data packelvansfer between he host and device connected to host through USB Hardware Connections No hardware connections are required Figure 5 83 Device Configuration o Buk_PingExample CY3214 PS0CEVALUSE Kit Guide Doe No 001 67030 Rev E 563 CY3214 PS0CEVALUSE Kt Guid Doc No 00167080 Rav Code Examples Driver installation Program the CY214 PSOCEVALUSE board wih he Bull pinghex located ai Bulk Pingixenpie PGoc Project boik pi ng and connect he board o tha PC using a USB abla When connecting the boar ar ta fest ime folow steps to Sin the section Driver neta tion on page 64 At stop 3 browse and locate BulkPinginf from lt insts1 _pisectory gt s typeess cv3234 Aer successful diver instalation confirm in the following path Start gt right click My Computer gt Manage gt Device Manager gt Universal Serial Bus Controller Figure 5 amp 4 Device Manageme cae Examples 564 Firmware Architecture Figure 5 65 Flowchart I Enable EP for OUT Bulk Tanar gt Wiie cepacount E x pom i Get he value ofthe Pa count register i Move data from EP2 RAM to Data RAM i Load and Enable the EPL for an TN Bulk transfer 565 57 574 572 CY3214 PS0CEVALUSE Kt Guid Doc No 00167080 Rv Code Esamples Verity Output 1 Pr
8. Programming Succeeded appears in he Actions pane 5 Close PSoC Programmer Note For more details on PSoC Programmer go to SuiteUSB 3 4 Tho Cypress SuiteUSB 3 is a generic USB driver environment tna you can freely use to develop ost applications that interact wih a USB device CyConaole is used to communicate wth USB devices that match the CyUSE sys device driver The Console supports at lugging of USS devices When a device that matches fne driver plugged to he PC k automatcaly appears n he device ist near te op of the CyConsole window SuteUSB 2 4 software can be instale rom the new cypress com D 34870 CY3214 PS0CEVALUSE Kit Guide Doe No 001 67030 Rev E 31 Introduction The CY3214 PS0CEVALUSB ki examples helps you lo exchange data between a PC application and real word VO The kit includes a ultspeed USB User Module wih programmable IO user modes o provide instant connection 3 2 Square Mouse Example The Square Mouse example is programmed to the CV3214 PSaCEVALUSB board as a default project or demonstration purposes I the PSC on he board has bean reprogrammed or erased Blow the stops in the section Programming Speciscatons and Connections on page 16 t program the board wih the square mouse hex fle provided im the kit CD rns ail Dirocssey gt Cyprese cri214 rascevauuse cversian gt rirmiare squarencusea racet hen To execute the program falow these steps 1 Connect the USB2 cable to he
9. in al directions observe he corresponding movement of the mouse Pointer on your montar sereen Figure 5 82 Message on LCD according to Joystick Movement BBodh ee haar tte E JB Ni Code Example a ovazre PSOCEVALUSA Kt Guide Doe No 001 67030 Rev E A Appendix _ Sexe Ai Schematic RR mal CY3214 PS0CEVALUSE Kt Guide Doc No 00167080 Ra s Gan A2 Board Layout A21 CY3214 PSoCEVALUSB Top Copper Se A22 _ CY3214 PSoCEVALUSB Top Overlay A3 Bill of Materials BOM mensa esp cess us A ve Be Tes NK ver onor roroa
10. la provide consistent stream framing The number ol counts in each rame s analyzed to determine if the capacitive sensor is activated Modulation Capacitor CMOD The capacitor CMOD acis to attenuate high trequency noise The pn assignment for CapSense buttons used in the CapSense code example see My Fist Code Eramaa on page 1 are as falows B2 P37 es Psp Tre sider segments pin assignment used in My First Code Example on page 31 ae as flows Sidera psi Sider 1 PSI Sider2 PSR Sider3 pt Sider 4 Psp Siders Psp Sider 6 PSI Sider 7 PSI Figure 4 4 CapSense Siders PR Ss Figure 45 CapSense Buttons 423 Legacy DB9 Connector 41 This connector is used for seral interface Connect the serial cable to the D89 connector and the serial por an the PC The supply votage is 33 V 10 5V ihe ouput voltage Vout gh is Vee 0 6 V and Vout laws 0 4 V Figure 45 089 Connector UD Table 42 IC Description Pin Na Rame ETT 1 te Connected we of caper CT z ve Wer spy a nete e capac GS a cer omnes 1o sve or eapacnor ct 5 ce Enna ue of capacor ot D eee T Tues Remento send OUT E Otaz14 PSOCEVALUS Kit Guide Doe Na 0167030 Rv Sim Table 42 IC Description Pa o name Description 10 Tain resto sera tr Te vee vec suepi Table 4 3 DEO Connector Description
11. lt E PS CY3214 PSoCEVALUSB Kit Guide Doc No 001 67030 Rev B Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 800 858 1810 Phone Int 408 943 2600 hiip vww cypress com copyrights Cypress Semiconductor Corporation 201 202 The intormaton conisined hari is subject to change without nas Cypres Semiconductor Coporaionassunas o responsibilty for e se ofany ccu ta ha cui emboded in Cypress prada Nar does K convey or mp any Teens under alant or amer hi Cypres produc are rat werantad rar tended o e usea Tor medica Ne suppor le saving ciel cra or say plans unless pursuant o an Express writen agreement wih Cypress intime Cypress dos ot sole e products ous as eal componente resur systema where a maria o dure may reasonably be expected vaut n ican injury o e user The inca ol Cypress produc il suppor systeme apscatn aliss hal he marufacer assumes al ro 1 such se ann doing o demos Cypress apart al charges Any Souce Code stare ador tema owned by Ceres Semiconducioe Corporation Cypress and a rotted by nd sujet worde patent rtectan Usted Sales ard org Untea Sales Sopi ms an leren peat prontos Cypress herey granis o conose a personat nor excuse van astral eese 10 copy uze aly create Gale woke ol nd compl Ie Cypress Soure Cada and erative worka fr me sole purpose al aag custom so ware and or tme m supp ol cente produ a be used on nconncton wi a Cypress grated citur a pes es v
12. used to control the mouse cursor movement using the joystick onboard The joystick movements are dipized using an ADC and the change m ADC values are used to decoher the recon of movement The USBFS module is used fo enumerate as a mouse device and the mouse is controled based on the ADC value and direction of movement The following user modules are used in e project ln DUALADC s used to get the sample that wil be used as reference values for horizontal and verical movement af he Joystek DUALADO is usedi ta sample wo input voltage simultane ust Bot ine horizontal and verical movements of the joystick are monaored simultaneously to erect any minimal change n postion of joystick m LCD tis used to display the message PGA Two PGAs are used at unity gain to supply wa inputs to DUALADO USBFS Tris module is used to transmit the data to conta the mouse pointer based on the joy stek movement Hardware Connection m Connect PO POS on J4 to JSV m Connect PO P04 on 4 to SH Figure 579 Hardware Connection Cs PSOCEVALUSE Kt Guido Doc No 00187080 s a AJ Ji Bu 594 Verity Output Program the board with Joystick hex tom lt 1n ESSE On suecessul programming disconnect the MiProg and connect the board te PC When the joystick on the Kt is moved veria up vertically down horizontally left horizontal right and aan diagonal
13. 0 Rev i Si ae ta 31 Simiry add another LED module and rename it to bul the project Figure 25 LED 2 Parameter Window 32 Final LCD and LED modules are placed in Chip view window Figure 5 28 LED and LCD Modules 53 Configure the Global Resources window as shown in the following figure CY3214 PS0CEVALUSE Kt Guido Doc No 0087050 s 5 Sins Code Eagle Figure 527 Global Resources Window enia n ELE UN oma ia nth 500 ae Fors E zz ates wendt 3 Porn tn Lee n perte caer rt DI ares tennant de 34 Open the existing main c in Workspace Explorer Replace the existing main with the con teris of CapSense cH which is attached o is document Figure 528 Workspace Explorer a e na Poe ra Prem B mi mh e pon Ves 35 Save the project 35 Click Build gt Generate Build Example My First PSoC Project 37 Wen the project is buit suecesstuly connect the CY3214 PSoCEVALUSS Kt to PO through a MniPreg Gonnoctr 415 on tna board E ovazre PSOCEVALUSA Kit Guide Doe Ne 001 67030 Rev E Si cae ia Figure 5 29 Connect MiniProg to Board 38 The board can be programmed eter through PSoC Designer IDE isl or by launching PSoC Programmer 30 To program the board using PSOC Programmer see PoC Programmer on page 40 To program the board through PSoC Designer follow thse stops a Cick on Program gt Program Part Note When programming the board rom PSoC Designer close any open instan
14. 1 ICE Cube connector 114 CYa2t4 PSeCEVALUSE Kt Guide Doc No 00167080 Rv E E Figure 4 1 OYS214 PSOCEVALUSS Board Table 4 1 Functional Pin Tabie Pins Pin ae Bespin ZE A 2 Pan camee capactor ber EN n oo a Pu eo ERIN raj sro a Pi ono 7 ero ru sno 3 ru so w Pan ero m sm foro ej ma je 3 sip no ZI rn Jero a CY3214 PS0CEVALUSE Kit Cuide Doe No 001 657030 Riev B able 4 1 Functional Pin Table Pine Pin fame eren 15 Pu Pe serar coa Scc te us Po sena dat SCA mj ea ero te _ Pitt Pe sera cack 60 SSP SOU a uu suene a rm fero a mm jo EN Prior Fc serai aia SOA ESP SOATA a Fi jae zr E EEE EN CNC EN NE EN ENNE EN rs fero a ENE a f P omo EON re fero s ECN El a ENE sr Pao aeo EN ZEN EN Pu aeo a Pus foro a n rest Sead apace oo pur xz PH et ee espacio Bock neu a Pei Enea ara gorra AGO apa za Peil Enea volge reieence VREF ve KE CN CEN as poi ral coloma mox veut PO erst eomm mox eur EF a Poe ee colons mox veut a vad sei ate Si POT sig eater an eur sr O TENA E AA EN CN ECT as peri ero EN ZENE Figure 42 Hardware Bock Diagram ke
15. 5 1 New Projest Window EJ La X Mme Ema ma Pot ue d E Gem vacas t fa Pat e EI Destro tae Ce IC me 5 Click OK The Select Project Type window opens In his window under Select Target Device cick View Catalog as shown in Figure 5 2 Figure 52 Select Projet Type Window Dee EE er 7 The Device Catalog window opens Cick on he All Devices tab Cose Examples 3 For this project cick CYBC2AB94 24LTX and then cick Select See Figure 5 3 Figure 5 3 Device Catalog Window 9 Under Generate Main File Using select C and cick OK 10 8y deft the project apens in chip view as shown in Fgure 54 u CY3214 PSOCEVALUSS Ki Cuide Doc No 0067050 Rv Si Figure 5 4 Default View Now place and configure the modules required for this design Also connect the modulos together and to the pins of the PSOC in the User Modules window expand the Cap Sensors folder Figure 5 5 User Modules Window CY3214 PS0CEVALUSE Kt Guido Doc No 0087050 ev B Code Examples Ss ain to Cap Sensor folder rah c ck on CSD to place the module Figure 56 CSD Module FEES HIM 14 Te splash screen CSD Configuration appears select CSD with PAS as clock source Figure 57 CSD Configuration Choose CSD configuration house ee DF bun Canes bate 9 soot Souece a 14 The OSD modul
16. C using a USB cable Wher connecting the board foc the frst ime folow steps o Sin the section Diver installation on page 54 At step 2 browse and locate Socinf from lt inatail_bisectosy gt s cypeesa ev2204 P8o tor successful driver instalation confi in the flowing path Start gt right click My Computer gt Manage gt Device Manager gt Universal Serial Bus Controller Figure 568 Device Management EM CYazt PSOCEVALUSA Kit Guide Doe Ne 01 67090 Rev E S 574 Firmware Architecture Fue 560 Flowchart START connect to Host x Enable 92 for OUT Interrupt Transfer Move data trom epz Ram NO Load and Enable EPA foran IN Interrupt Transfer conce 0 a 575 Veriy Output 1 Program the board with iles hex om lt i 2 On success programming disconnect the Mir and connect he board to the PC cae Examples 3 Run Sreamarexa located at lt 1nstal1_Directory gt t Cypress cY3214 PSocEVALUSS 4 Chekon Stan 5 Observe the bution window Successful Transfers Figure 570 Output gt Streaming Demo ep Fa VER Sue Tae misso PT Fate Tere dune MESA nr trial PO Spe ont pe SdxbiDoke USE Device Deeveie EROS 58 USBUART 5 8 1 Project Description The USBUART device uses a USB interface to emulate a COM port UART ike high level functions ar avalable on he PSoC device side T
17. Keyboard 5 1 Project Descrpton 532 Hardware Connection 533 Femware Achtecure 534 Veriy Output Process Monitoring 541 Projet Descrpion 542 Hardware Connection 543 Famars Archtecure 544 Very Output Asyne PingEsamle 551 Projet Deserplon 552 Hardware Connections 553 Dever instalation 554 Fimware Areco 555 Very Output Bulk Pingerample SS Projet Descrpion 562 Hardware Connections 563 Deverinatalaon 554 Femaare Areco 555 veriy Output ioc Example 57 1 Project Descrpion 572 Hardware Connections 573 Dever instalation 574 Femware Areco 575 Very Output USBUART 581 Projed Descrpion 582 Hardware Connections Sas Drver instalation 534 Femware Arcitecir 585 Very Output Joys SAT Description 542 Hardware Connection 593 Femware Arcntectue 594 Veriy Output A Appendix a A2 as Schematic Boara Layout A23 CYS214 PSAGEVALUSB Top Copper A22 CY3214 PS0CEVALUSB Top Overlay A23 C3214 PSOCEVALUSE Boom Copper Bit ot Materials 20M CFs s si s El 5s ss 55 57 sa so so E si se F1 ss ss fi 7 87 sa sa sa 70 n n n n 72 Ta 73 74 7a 75 76 n 78 an ao 20 as a6 r1 a za ae 11 CY3214 PS0CEVALUSB K Guide Due No 00167080 Rav Thank you for your interest in the CY3214 PSeCEVALUS Kit This kit includes a development board or the CY8C24894 24LTXI PSC device Note that the board has the CY8C24094 device wnan is an on chip debug par for he CY8C24x94 amily You c
18. Mini USB type B connector on P as shown in Figure 3 1 Ensure that the power selection jumper shunt is place on the frst two pins designated as vaus 2 The message PSoC Eval USE 1 is displayed on the LCD 3 Check the movement of the mouse pointer on the screen note that it moves in a square fashion Figure 3 1 USB Cable Connection and Power Jumper Seting CY3214 PS0CEVALUSE Kt Guide Doc No 00167080 Rv Ka Operation 321 Programming Specifications and Connections When the MiniProg is connected you can use PSC Programmer to program the CY3214 PSSCEVALUSE Kt Plugin ne USE cable nt the Mir Prog before attaching o the ISSP header n the board When using a USB cabe wih MiniProg keep the lang under six taet o avoid signal integrity issues When using MiniPrag the LEDs bink at a variable rate to trac connection status The green LED near the USB connector ums on after MiniProg E plugged ita the computer and is configured by the operating system If MiniProg cannot find the corect driver in the system this LED does not tum an Afer e device i configured Ine LED stays on at about a 4 He blink rate This changes during programming where the bink duty cycle increases The red LED Faure 3 2 at the bottom tums on when the MiniProg powers the part The LED is of when power is provided by the target board Figure 32 Programming PSC Device Figure 33 PSoC Programmer Screen Follow these stepe t
19. Sense buttons Figure 5 15 Assign CapSense Switch to Port 22 Confguro al CapSense sidera to ports as shown in the folowing Faure a taz14 PSOCEVALUSA Kit Guide Doe Ne 01 67090 Rev E Si Faure Asin Cesare tra Pot tsi PIETE 23 The CapSense buttons and sliders appear as follows Figure 5 17 Assigned CapSense Buttons and Sider View Bo Pan DDD 24 the User Module Window selec Misc Digital Folder o select the LCD module CY3214 PS0CEVALUSE Kt Guide Doc No 00167080 Rav E T Figure 5 18 User Modulo Window 25 Place the module by right clicking on the LCD and select Place a CY3214 PS0CEVALUSE Kit Guide Doe No 001 67030 Rev E Si Figure 5 19 Select LCD Module 25 Default LCD 1 parameters window are shown in the following figure Figure 20 Default LCD 1 Parameter Window 27 Rename LCD as LCD and configure the parameters to build the project successtuly Figure 21 LOD Parameter Window entered 28 in the User Module window go to Misc Digital oder and select LED raze PSOCEVALUSE Kt Guide Due No 00167000 Rev Figure 522 Select LED Module 20 Defat LED 1 parameter window appears as shown in the folowing Faure Figure 523 Default LED 1 Parameter Window 30 Contigure LED parameter to successful buz the project Figure 5 24 LED_1 Parameter Window termen bn u CY3214 PS0CEVALUSE Kit Guide Doe No 001 6703
20. T single poe single on switche Fre 4 16 Butons EI Otaz14 PSOCEVALUS Kit Guide Doe No 00167030 Rev Code Examples Al code examples for he CY3214 PSOCEVALUSE kit are available atthe folowing location 5 1 My First Code Example 5 1 1 Project Objective This example demonstrates how to operate the CapSense butions and sliders When you configure CapSense buttons and siders in he CSD wizard he corresponding LEDs check the functionally ot CapSense butions provided on he board Tre flowing user modules are used in he project CSD The CSD Capactive sensing using a Sigma Delta Modulator provides CapSense hun ona using he swiched capacitor technique wih a sigma dea modulator to conver the sens ing swiched capactor current to dial codo LCD The LCD module is used to display a horizontal bar graph when the CapSense siider is touched m LED 1 2 LEDs 1 2 glows when CapSense buttons are touched CY3214 PS0CEVALUSE Kt Guide Doc No 00167080 Ra E ME Six 513 CY3214 PS0CEVALUSE Ka Guide Doc No 00167080 Rv Creating My First PSOC 1 Project 1 Open PScC Designer 2 To create a new project ick File gt New Project 3 In the New Project window select the Chip evel icon Name the project Example My First PSoC Project seo Fours 51 4 Click Browse and navigate to the directory n which the project is being cre Figure
21. an design your own projects wih PSo0 Designer or by altering the code examples provided wih this ki Iis a combination of technologies that create opportunities for a new range of low cost mixed signal USB products This archtechre enables creating customized porphoral configurations Ihat match the requirements ot Individual applications The CYSPMLPSGCEVALUSS Kit is based on the PSoC1 famiy of devices PSoC is a Programmable System on Chip pir for amp bit appicatons It combines precison analog and akal lage wth a nah perfonmance CPU With PSal you can create the exact combinston of petipneras and integrated proprietary IP to meet the needs of yaur applications Chapter 2 describes the instalation and configuration of the CY3214 PS0CEVALUSB Ki PSoC Designer and PSoC Programmer Chapter 3 descebes the kit operation wih the help of the Square Mouse project which comes as a Gemonstabon with the GY3214 PSoCEVALUSB ki also spins the programming connections of a PSaC device win the PSoC MniPreg and power Supply Chapter 4 describes he hardware operations Chapter 5 provides the description of the Srecution af simple projects The Appendix secton provides the schemates and Bil ot materiale om Kit Contents The CY3214 PSOCEVALUSS Kt includes PSeCEVALUSE board n LCD module m MiniProg Programmer USB Ato Mini B cable n CY3214 PSoCEVALUSB Kit CD PSoC Designer instalation le PSoC Programmer instalation fle Code examples
22. ce of PSOC Pro grammer 4 Figure 530 Program Par Window n In the Program Part window configure the following settings Sir Port Selocton select MiniProgi lt MiniProg Number with he status Connected Acquire Mode Power Cycle Vertcaton OR Power Settings 8 0 V e Click on the Program bution to start programming the board d The programming starts and the status is displayed on the progress bar Figure 5 31 Programming Saus When the programming is done success fhe Operation Succeeded Message is shown Figure 5 32 Operation Succeeded Message 5 14 Verily Output 1 Make the folowing connections on the board using the single strand jumper wires provided a Connect 2 Ka resistor between Port POS POS on 4 and P1 5 P15 on J9 b Connect LED to Por P3 1 P31 on J10 and LED to P3 2 P32 on J10 E CYa2t PSOCEVALUSA Ki Guide Doe No 001 67030 v Code Example Figure 5 33 USB Connection to Board CY3214 PS0CEVALUSE Ka Guide Doc No 00167080 Rv E P Code Examples 2 When the CapSense slider is touched the horizontal bar graph is displayed on the LCD Figure 5 35 BarGraph on LCD 3 LED glows when CapSense button P30 s touched Figure 535 LED Glows for Buton P30 52 521 522 CY3214 PS0CEVALUSB Kt Guide Due No 00167000 Rev Code Examples 4 LED2 glows when CapSense button P37 is touched Fiure 547 LED2 Glows lo
23. e ssplcan agreement Any voproductn radicaton vara coma o epesematoa ol Ns Source oae excepi a speed stove s prisa what expres witen permission o Cypress Dima CYPRESS MAKES NO WARRANTY OF ANY KIND EXPRESS OR IMPLIED WITH REGARD TO THIS MATE AL INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Cypress reserves ne rg 1o mala changes iha her noice othe materials daacibad Terain Cypress does not asse soy lb ag out al ne apnicaton rue o any product or creuit descrbed her Cypress does ot suot s products ar ass el component in Wi suppor same here a malneto o alure ma reasonabiy be expected to resi n signer ry othe user The indus 0 Cypress produc n a le supo ays Ten soplan pls at the manat esee al iak ol auch vae ad in dong so daneen Cypress against a hanes Use may be iia by and sujet the paa Cypress soars Lanse agreement PSoC Design is a vademase ond PSoC is a registered trademark a Cypress Semiconduco Cop AI ater ademas registered semana eeerced naren are propery ol ha especie apara Cypress products mest e spciatos contin in Der parti Cypress PSOC Data Sheets Cypress bees a ts fet e Pac priza ate of me mast scire amis te xind on he mae day reardase of how ey we used hec may be methods kaan la Cypress at can reach he code recon eee Any o ese malade o ur owed woud be shone ond oss egal Ner Cypress for any oer semiconductor panucarer can taran tase sacri ot n code Code act doe
24. eratures m PGA tis used as an amplifier where it amplios the signal received from ADCINC USB This module is used to hande the request from the USB hos PC to communicate with the device It handles al he data packet transfer between the host and device connected lo host through the USE Hardware Connection 1 Connect the jumper wire between St on J2 and P3 0 P30 on J10 2 Connect the jumper wire between 52 on 2 and P3 1 P31 on J10 3 Connect the jumper wire between VA on J2 and P3S P36 on J10 4 Connect the jumper wire between VAZ on J2 and P37 P37 on J10 5 Connect the jumper wire between P2 7 P27 on J12 and LS on J2 Faure rdware Connection Sim 533 Firmware Architecture Figure 546 Flowchart Code Eampies 534 Verity Output 1 Load the Erample2hextrom lt instaii_biesctosy gt s eyes Example as explained in Programming Spesiicalons and Connections on page 6 2 Open either a Microso Excel 2003 or 2007 applicabon or a Windows Notepad application on the computer and plug in he board using USB 3 Prese St or S2 to see the temperature values direct in he editor or spreadsheet he corre sponding temperature values re displayed onthe LCD 4 Press the CAPS LOCI kay on the keyboard to toggle the buzzer on and oft Vary the potentiom eter VR and VR2 and press S1 and S2 again Figure 547 Output Otaz14 PSOCEVALUS Kit C
25. es placed in the analog and digital blocks shown in the folowing figure CY3214 PS0CEVALUSE Kit Guide Doe No 001 867030 Rev E Sim Figure 5 8 Chip Vow with CSD Module 15 The defau parameter window ol CSD_1 is shown in Figure 5 8 Figure 59 Default CSD Parameter Window 16 Centgure the CSD Module parameter window C2 PSOCEVALUSE Kt Guido Ove No 001 970 s a En Ss Figure 5 10 CSD Parameter Window Paat EAT i tere at m Sn the Workspace Explorer select CSD and rght cSck to select the CSD wizard Figure 5 11 Select CSD Waard 18 The default CapSense Wizard window appears Configure the global stings to select he num ber of CapSense butons and lighis required lr the project a CY3214 PS0CEVALUSE Kit Guide Doe No 001 67030 Rev E Code Examples Figure 5 12 Detaut View of CSD Wizard en 19 Centgur the Gobal Settings window of CSO Wizard as shown in the following figure Figure 5 13 Global Settings Window etie Cadets P eternum P D 20 Simlary click the side once and configure tha sensor setings as shown in Figure 5 14 CY3214 PS0CEVALUSE Kt Guid Doc No 00167080 Rv EI Fies Figure 5 14 Sensor Stings Window 3 En Ea 21 Select each ofthe CapSense switches SWO and SW drag ito Table Pin Assignment View to select the ports for Cap
26. he primary advantage of using USB as a RS 232 connec ton is that it makes debugging of PC applications easier The folowing user module is used inthe project USBUART 1 This module is used to hande the request from the USB host PC to communi eat wih the device nancies the data packet transfer between the host and device connected 10 host through USB Figure 5 71 Basic USBUART Block Diagram E iE Fue 572 Basic Diagram pc PC Application COM Driver CDC Driver usa USBUART PSoC Application 582 Hardware Connections Ne hardware connections are required ce Examples Figure 5 73 USBUART Device Configuration FESSA wives Busou roa abi tue 583 Driver Installation For driver installation flow steps 1 to 6 in the section Driver Insta aton on page 54 sample proj eer sync PingExample At step 3 browse and locate the INF fle fom lt 1ssta11_Directory gt t Cypress evsaii PS0 tor the success installation of the drivers check itin the folowing path Start gt right click on My Computer gt Manage gt Device Manager gt Poris COM amp LPT Figure 574 Detecting USBUART in Ports COM amp LPT n CY3214 PS0CEVALUSE Ki Guide Doe No 001 67030 Rav Sim 584 Firmware Architecture Figure 575 Flowchart TT arne feet e PE
27. nections There are no hardware connections required Figure 554 Device Configuraton of Async PingExampie SE ve CS se a EV meom E Gian P nc Tte Rosi B encre n mons Code Exanpiea 553 Driver Installation The driver installation stepa are for Windows XP and not Windows 7 Program the CY3214 PSoCEVALUSE board wih he Asyre ping hex located at Async PirgExampie PSot Project azyn _ping and connect the board to the PO using a USB cable When comecing he board tor ne stim fallow these steps o install he USB diver Tor this project 1 Select Instali trom a list of specific location Advanced and click the Next bution Figure 5 55 Driver installation Welcome Page Welcome to the Hardware Update Ward p Qo mmm mm rette ade emere CE 2 Select Dont search will choose the driver to install and cick Next fo continue Figure 555 Installation Options Page Pana oma ach niin en Mitis SS fe entre me Code Esamples 3 Select Have Disk to select the appropriate INF le Find the Async PingExampl drivers setup inthe flowing path Instal Directory cypreaa c 1214 PSscEVALUSE lt vee Figure 5 57 Device Driver Path PH E 4 Click on Continue Anyway Figure 558 Instataton Page iio Pad Bo Soe Gere ech ded 5 Click Finish to complete the driver instalation raze PSOCEVALUSE Kt Guid Doc No 00167080 Rav s Completing tho Hardware Updat
28. o Wizard p P Aer successful driver instalation conim in the following path Start gt righ cick My Computer gt Manage gt Device Manager gt Universal Serial Bus Controller Figure 5 60 Detect Asyne Ping Example in Universal Serial Bus Controler sae aes 4 Code Examples Fe Pome En i pa Tranter 555 Variy Output 1 Program the board with async ping her om lt 1 azync_ping as explained in Programming Specifications and Connections on page 16 On successul programming disconnect the MniProgt and connect the beard to the PC 3 Run Async Ping Hostexe tom i 4 ADOS based host program starts and sends out the data transfer requests reads and compares the received data and lage the data transfer results 5 The lg fle AsyncPing Log tis saved in the application path This log fle gives a detailed description o each data transfer that occured CY3214 PS0CEVALUSE Kit Guide Doc No 00167080 Rv e JEE Sirs 56 561 562 Bulk PingExample Project Description The project demonstrates bulk data translar by sending a series of nd pointsized USB write o and read e requests The hos efectvel sands blocking wrtes and reads while the PoC frm ware reads the QUT packets and fl tn IN data from a The folowing user module is used in the project a USBFS_1 This module is used to handie the request from the USB host PC to communicate
29. o program using MiniPregt 1 Connect the USE cab to the PC and MiriProgt 2 Plugin the MinProg to he ISSP header on the CYS214 PSoCEVALUSB board 3 When USB is connected to the MiniProgt the LED green glows in the MiniProgi 4 Open PSoC Programmer 5 ick the Load File button and browse to the hex fle locaton C ck Open to select he hex fle 6 Ciek Connector double cli on the respective MinProg under Port Selection to select or con recto MiniProg 7 ick Program or press FS to initiate programming 8 The green LED on the MiniProgt Binks to indicate the progres of programming 9 Ater successtui programming the red LED on MiniProg is powered of 10 Selet the Toggle Power buton in PSoC Programmer to power the board and verity output CY3214 PS0CEVALUSE Kt Guid Doc No 00167080 Rav nove Sir E ovazre PSOCEVALUSA Kit Guide Doe No 001 67030 v Hardware This secten provides an overview of the hardware including power system jumper seting and programming interface To start using he board go to Code Examples chapter on page 31 41 System Block Diagram Tre CY3214 PS0CEVALUSB Ki has the folowing sections m Character LCD module Buzzer LSI Contrast potentiometer R2 Butons 51 and 52 ISSP conector LEDs LED 1 4 Potentiometer VA and VR2 USE connector P1 CapSense buttons PO PA and sides Ports Power supply connector 113 doysti 151 Reset button 53 Legacy DES connector 3
30. ogram the board with bulk ping hex rom lt inst al_Darectory gt s eypeeas e 3214 2 On success programming disconnect the MiniPrag and connect the boardi to the PC 3 Fun Bulk Ping Hostere rom lt 1nsta11_Directory gt Cypreza CY3214 PSoCEVAL 4 ADOS based Host program stars and sends out he data transfer requests reads and compares the received data ard logs the data transfer resus 5 The lg fle BukPing Log uti saved i he application path at Bulk Pingexample PC_ost_App This log fle gives a detailed description of each data trance Figure 566 Output ES ISoc Example Project Description This example demonstrates how to use an alterate interlace that performs IN transactions with isochronous communicalin The appicaion reads isochronous data fom the PSOC device and measures throughput The following user module s used in the project 1 USBFS_1 This module is used to handle the request rom the USB host PC to communicate with the device I handles al the data packet transfer between the host and device connected io host via USB Hardware Connections No hardware connections are required nn 573 Figure 567 Device Confguraan ot Soc Example tea abo E ateu VACAS ALA Ea Lost Citare E rte Ure Mader mirii BE icoana Een Driver Installation Program te CYAZIAPSOCEVALUSE board wih the Bukpngher located at 160 ExamplelPoS Project isotest and cannect the board to the P
31. onnect the board 1o he PC Wait unt the HID device is sed frst tmo oniy and run Example oe The LCD display shows the temperature vu but indat it is wating for input om Host PC Open the Proces Motoring GUI Examples ee tom On the GUI cick the GetSamples button The PC waits unti 256 samples are received rom the board and then displays a graph of Temperature Vs Time Vary the VAL on the board and cick the GetSamples buton again to see the diference n the rap This dierence can be best viewed when Continuous Sampling is selected T continuous sampling is required click the Continuous Samples button The PC displays the graph ater every 256 samples received Note ifthe Sample Rate slider is kept at a minimum the time taken to display graph also increases as the graph is displayed oniy afer receiving 256 samples Figure 5 52 Output Sie Faure 553 GUI Display 55 551 552 CY3214 PS0CEVALUSE Kt Guide Doc No 00167080 Rv Async PingExample Project Description Tre project demonstrates asynchronous data vanster by i and read IN requests by using USB functonasty when Tre flowing user module is used in he project USBFS_1 This module is used to handle the request rom the USB host PC to communicate with the device t handles al the data packet transfer between the host and device connected io host through the USB n ng a series of large USB writs OUT lolo wih CY8C24804 device Hardware Con
32. r Buton P37 5 Save and close the project Buttons and Lights Example Project Descripii This code example demonstrates the USB function using the CY3214 PSoCEVALUSB Ki In this project he Burtons and Lights PC Host GUI is used to control the LEDs on board The GUI also has our sot buttons and tour LEDs When thre is a button press event on the board e board sends oul the buttons report o the GUL The GUI updates the local LEDS and sends out a Lights report back e the board The LEDs on the board are updated based on his Lights report Tha GUI also provides he LED output as a logical function of sot buttons and buttons on board The LED output e 2 unction of AND of OR of soft buttons and rel buttons By default the LED output is that of real butions The folowing module s used in the project m USB This module handles requests rom the USB host PC to communicate with he device It handles data packet ancler between ths host and device connected to host through USB Hardware Connections m Connect LEDS 1 4 to P3 2 to PA P32 to P35 on connector J10 Port pins P2 2 to P2 5 P22 to P25 on connector J12 are conigured as actue ow buttons in rmware To sindate a button press connect the required port pin o ground terminal marked on connectar J Code Examples Figure 538 Hardware Connection Figure 5 39 Workspace Explorer of Buttons and Lights pen nes Cose samples 523 Firmware Architecture 5231 Device P
33. rogram Firmware Architecture Figure 540 Flowchart C b 5232 Most Program Firmware Architecture Figure 541 Flowchart GO E ze je Pine r is i c LE Oj Code Examples 524 Verity Output 1 Load the Example hex rom lt 1 explained in Programming Speciicaions and Conr 2 On successful programming connect the MinProg and connect the board 1o PC 3 Open the Buttons and Lights GUI Example exe rom 4 Press any ot he four so batons on the GUI the corresponding LEDs in the GUI low green and simiar LEDs glow in the kt red Figure 5 42 a GUI Display b Kt Display Figure 5 43 s GUI Display b Kt Display s Otaz14 PSOCEVALUS Ki Guide Doe No 00167030 Rav 53 531 532 CY3214 PS0CEVALUSE Kt Guid Doc No 00167080 Rav Temperature Sensing Keyboard Project Descripii This project example operates sat keyboard although t doss not ook hea standard keyboard The example is a temperatura sensor using potentiometer VAI and VR as surogales or teal ergert sensors When plugged in using USB the project enumerates as a keyboard and sare Printing out temperature values Tre flowing modules are used in the project ADCIN tis a ferential input ADC from where the samples are received and used as the reer fence values fo caute the rel temperatur m LCD tis used to display the values of the real temp
34. s nt mean at we we Quinte Da producer uera Cypress is wiling o work with the customer who is concerned about the eyo their code Code protection contanti vig We at Cypress are cried coniu proving e code protection fears ot our produc 2 CY2214 PS0CEVALUSE Ki Guide Doe Ne 001 67030 Rev R 1 Introduction 4 Kit Contents 12 Addiional Laming Resources 12 Reference Documents 13 Document History 44 Documentation Conventions Getting Started 21 Kit installation 22 PSoC Designer 23 PS0C Programmer Za Sueusa da 3 Kit Operation 21 Introduction 32 Square Mouse Example 321 Programming Speciicalors and Conseci ns a 44 System Block Diagram 42 Functional Descrpton 5 Code Example si s2 CY3214 PS0CEVALUSB Kit Guide Doe No 00167080 Rev 421 Character LCD Modus 422 CapSense Buton P i Pol and Siders Poni 423 Legacy 089 Connector i1 424 Power Suppy Connector 113 425 LEDs LEDI 4 A26 Buzzer SI 427 SSP Connector 015 A28 Joystick US 429 Reset Button 53 4210 ICE Cube Connectar J14 42 11 USE Connector P1 4212 Potentiometers VAI and VAZ 4213 Butors S1 and 52 My Fest Code Example 511 Project Objective 512 Fowchan 513 Creating My First So 1 Project 514 Verity Output Buttons and Lights Example Ceres sa sa 55 56 57 sa sa 521 Project Description 522 Hardware Connections 523 Femware Arontectue 524 Venly Output Temperature Sensing
35. tallation of the CY3214 PSOCEVALUSB K as shown n Figure 25 Figure 24 Installation Completion Page Note Advanced users can skip to Code Examples chapter on page 3 PSoC Designer PSaC Designer is the revolutionary easy to use Integrated Development Environment DE that hels o customize PSC to meet your specie appicalon requirements PS2C Designer acceler aes system bring up and ime o market 1 Gick Start All Programs gt Cypress gt PSoC Designer lt version gt gt PSoC Designer lt ver sion 2 To creato a new project cick File gt New Project cick File gt Project Workspace to open an existing projet See Addiional Leaming Resources on page for iks to PSoC Designer training Tho PSoO Designer quick start guide is available at hip cypress com rID 47954 For more deta on PSoC Designer go to Cs PSOCEVALUSE Kt Guido Doc No 00187080 s as etno Sarea 23 24 Ss PSoC Programmer To open the PSoC Programmer click Start gt All Programs gt Cypress gt PSoC Programmer ver sion gt gt PSoC Programmer lt version gt Te successful program the device follow these stops 1 Use he Power bution to power up the GY3214 PSoCEVALUS Kt before loading the hex file on tothe kt Figure 28 PSoC Programmer 2 Chek he File Load button to lac the respective hex tle 3 Chek the Program bution to program the hex le to the chip 4 When programming is successful
36. uide Displays ear commande n proceder emer or etc Table 1 1 Document Conventions for Guides Convention Vane mer Represents mena paima Fie Open gt gt New Propet had Daisy commands menu pata nd con names in procedures Cid me File icon and hen ciek Open rime New Rm re ot xti gay boxe oare cara or une eronat prac Brive Otaz14 PSOCEVALUSA Kit Guide Dac No 001 67030 Mv Getting Started LZ This chapter describes how to instal and configure the CYS214 PSOCEVALUSE Kit 21 Kit Installation To install the kit sofware falow thase steps 1 Insert the kit OD into the CD drive ol your PC The CD is designed to auto run and the kit installer startup sereen appears Note You can also download the latest ki installer trom tim cjprees comigo CY3214 front types of installers ar avaiable for download a CV3214 PSOCEVALUSB Kit ISO This fle SO image is an archive fle of the optical dsc provided with the Kit You can use this to create an installer CD or extract information using WinRar or similar tools b CY3214 PS0CEVALUSB Kit Setup Tris executable fle installs the contents of the kit CD which includes PSoC Programmer PSoC Designer Kit code examples kit hardware fles and user documents CY3214 PS0CEVALUSE Kit Only without prerequisites This executable ie installs orly the Kit contents which includes kit code examples hardware fles and user documents
37. uide Doe No 001 657030 Rev Si 54 541 CY3214 PS0CEVALUSE Kt Guid Doc No 00167080 Rav Figure 548 Temperature Sensor Output on Excel spreadsheet 5 Process Monitoring Project Description The process monitoring system code demonstrates how to colet the analog data at a rate determined by the host The host then displays the data in a graph and is able o save and reload the cata ses The folowing modules are used in the project m ADCIN tis a ferential input ADC from where the samples are received and used as the refer fence values to calculate the ral temperatur m LCD tis used to display the values of the real temperatures m PGA tis used as an amplifier where amplios the signal received rom ADGINC m USB This module is used to hande the request rom the USB hos PC to communicate with the device handles al he data packet transfer between the host and device connected to the host through the USE ure s ES 542 Hardware Connection Connect the jumper wire between PO POS on 4 and VRI on J2 Figure 5 49 Hardware Conn LI Otaz14 PSOCEVALUS Ki Guide Doe No 0167030 v 8 Depp te Sam amp Code Examples 544 Very Output Program the board with Example hex om lt instol_pisectoey gt s eypens Exanpie as explained in Programming Spectcaions and Gnnacionson page 16 On success programming connec fe Mn rog and c
Download Pdf Manuals
Related Search
Related Contents
Philips Fidelio SoundCurve wireless speaker DS8800W Guia do usuário PowerPoint プレゼンテーション 1. ¡BIENVENIDO! Bosch GSA 18 V-Li ソーラーパネル録画セット User`s Manual Copyright © All rights reserved.
Failed to retrieve file