Home
Cypress CY3270 User's Manual
Contents
1. 8 id 0 sold9 ivd_dssi Let 204 gt nosmos MIEL del Hy oot DSZ jsow vas SN deet ZE dest Son vas az Zug dean SIXX del Wee G77 ON NI daX3A d n ch dX3A JepeaH Uld SIR Zx8 001 0 Sa ZEJIN 8 S anoss deo 955 pan ioo PR i E E z 4 1 a a 5 4 Sed 93SN3aS9 BEI ea red LE 525 553 52 y oq Z vaSN3SO ANA esues 52 EHS y Le Z3SN3SO Lat SL Led Fg 9991 a zd Hz 5 87 55 el CH STE 405 95 a 9 ld Awixoig Wavy Zeg 9852 MS EC Un kene 48414 esues 953 BEE E eld ER a 12 Soa ANST 5 4 018 031 4 5 55 10 Eod Hed 1 S3SN3SO 1 0 des 209 EAL Co 204 40399390 9883 004 226121 6 e 38351 48 14617 lt AIL 65065 deg Saux 8 n wz Sazz Se EN 1883 6 058 JW 95998 AA 825 253 853 JW 95998 deg JosuaS 2388355 sz MOS AZ 59 2 2883 a3 N3349 3018 031 AOL AWL 55055 deg nu E A va ou oan mt MOL 099 OA D y Z 089 NYO 31 SN3SL T 09 zi 4 _ ly 05 099 031 ECH DGA Jelsnl 8AL Japs SO Juauel3 021868 21 CY3270 PSoC FirstTouch Guide Document 001 15945 Rev Technical Reference 22 Ss CY
2. window select Install the software automatically Alternatively direct the New Hardware wizard to Program Files Cypress MicroSys tems PSoC Programmer drivers on your computer If prompted with a Driver Verification message click Continue Anyway 2 3 Run the Temperature Light and CapSense Proximity Sensing Designs To run the temperature light and CapSense proximity sensing designs do as follows 1 Launch PSoC Express 2 From the Express Design Catalog expand the CY3270 PSoC FirstTouch Kit folder and double click on one of the projects and re name it CY3270 PSoC FirstTouch Guide Document 001 15945 Rev 7 Getting Started 2 4 Y cypress PERFORM 3 From the top menu bar click Build and then select Generate Build your project name Project Click Next in the following two screens 4 From the top menu bar click Program and then select Programmer Within the Programmer window select Port gt FirstTouch and set the Programming Mode button to Reset Select the File Load button Within the Open window double click your project name hex located in your project folder your project name output under the default My Documents folder or the alternate folder you designated Then click the Program button 5 Once programming completes successfully verify the project operation by doing as follows a Temperature Sensing the LED color varies based on changes in the ambient temperatur
3. Z CYPRESS PERFORM A CY3270 PSoC Firstlouch M Guide Document 001 15945 Rev Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 800 858 1810 Phone Intnl 408 943 2600 http www cypress com Copyrights CYPRESS Copyrights Cypress Semiconductor Corporation 2007 The information contained herein is subject to change without notice Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product Nor does it convey or imply any license under patent or other rights Cypress products are not warranted nor intended to be used for medical life support life saving critical control or safety applications unless pursuant to an express written agreement with Cypress Furthermore Cypress does not authorize its products for use as critical components in life support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user The inclusion of Cypress products in life support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges PSoC Designer Programmable System on Chip and PSoC Express are trademarks and PSoC 5 a registered trademark of Cypress Semiconductor Corp EC is a registered trademark of Philips Electronics All other trademarks or regis tered tra
4. 1 Selecting the Target Device pp 14 2 5 4 2 Specifying the Target Device Pinout pp 14 2 5 5 Programming the Projeti A 14 2506 Verifying the RESUS Ee ve 15 2 5 7 Understanding the ResultS 5556 15 2 5 8 Important Things to Remember ppp 15 3 Technical Reference 17 3 1 FTPC Bridge Details ondada 17 3 2 Expansion Card DOVervieW Ne 19 3 3 Expansion Card Details Nt 19 3 3 1 FirstTouch MultiFunction Expansion FTMF 19 CY3270 PSoC FirstTouch Guide Document 001 15945 Rev 3 Contents E Jess PERFORM 4 CY3270 PSoC FirstTouch Guide Document 001 15945 Rev 1 Introduction Se CYPRESS PERFORM The PSoC FirstTouch M Kit includes a USB interface dongle referred to as the FTPC bridge and a multifunction expansion card referred to as the FTMF Expansion Card The FTMF Expansion Card demonstrates a variety of applications using PSoC Powered Peripherals The FTMF Expansion Card connects to the bridge through the bridge s built in 8x2 pin expansion port As the name implies the FTPC bridge forms the connection between the FTMF Expansion Card and the various PC applications that control and communicate with the FTMF Expansion Card The FTPC bridge portion of the kit contains a programmed Cypress CY8C24894 PSoC that per forms all of the USB and expansion card i
5. as follows 1 Place the cursor over the LED icon that appears on the Design window 2 Right click and select Transfer Function 3 From the Transfer Function window select the Edit Transfer Logic radio button 4 Click OK from the dialog box that appears Once the Priority Encoder Transfer Function window appears notice the details of how the CapSense Slider affects the LEDs For this simple demonstration you can change the order of the LEDs 1 Left click in the LED_State_Blue area and delete the text in the then field Right click to get menu options then double click on LED_State_Red from the list Left click in the original LED_State_Red area and delete the test in the hen field Right click to get the options then double click on LED_State_Blue from the list Click OK to continue oD CY3270 PSoC FirstTouch Guide Document 001 15945 Rev 13 Beer a Getting Started Y CYPRESS 2 5 3 2 5 4 2 5 4 1 25 4 2 2 5 5 14 PERFORM Simulating the Project Simulation is a very useful tool You can run the simulation on the project you defined if the results are not what you expected you can go and change the design until you get the results you want This saves time and effort by allowing evaluation of your design s operation prior to programming the hardware Once you have made changes to your project click the Simulation tab to proceed to the Express Design Simulator to ver
6. is visible on both the FTPC Bridge and the FTMF Expansion Card 3 Once the two are properly connected insert the complete FirstTouch Kit back into the USB port Opening a Demonstration Project To run demonstration project do as follows 1 Launch the PSoC Express Development Suite Once PSoC Express loads the Express Design Catalog panel is displayed in the Start Page pane 2 From the Express Design Catalog expand the CY3270 PSoC FirstTouch Kit folder 3 Click the CapSense Touch Sensing Slider entry A design data sheet appears in the Express Helper panel This data sheet describes all of the details relating to this particular project Since this is a Design Catalog project you cannot change this project directly Instead rename the project and save it to a new location This makes a copy of the project that you are free to change 4 Double click the MultiFunction Board CapSense Touch Sensing Slider entry A dialog box appears prompting you for a project name and location Browse to the location where you want to save this project give it a name and click OK PSoC Express clones the contents of the MultiFunction Board CapSense Slider demonstration project and the Project Design window appears Note Other documentation included with the PSoC Express Development Suite gives detailed descriptions about the operation of PSoC Express Modifying the New Project One example of modifying the demonstration project is
7. 5 Rev cypress Getting Started PERFORM 2 4 3 Light Sensing Demonstration The light sensing demonstration shows how to use an ambient light sensor to control LED intensity Follow the CapSense Touch Sensing based guidelines in section 2 5 Exploring the FTMF Expansion Card Demonsiration Projects to simulate build and program the FTMF Expansion Board with the ambient light sensing demonstration Cover the light sensor see Figure 2 1 on page 8 with the palm of your hand and notice how the intensity of the LED changes Removing your palm leads to the LED intensity reverting back to its initial state The CY8C21434 PSoC that resides on the FTMF Expansion Card detects the ambient light and controls the LEDs output Figure 2 4 Light Sensing Demo Schematic rSu CY8C21434 Light Sensor CY3270 PSoC FirstTouch Guide Document 001 15945 Rev 11 Getting Started 7j CYPRESS 2 4 4 12 PERFORM CapSense Proximity Sensing Demonstration The CapSense proximity sensing demonstration shows how to use a proximity sensor to control LED color The proximity detector requires the use of a Proximity Antenna and can sense an object with approx imately 2 3 inches of range In the FirstTouch Kit this sense antenna is formed by attaching the pro vided wire into the pin socket labeled PRX1 as shown in Figure 2 1 on page 8 Note Upon power up the FTMF will establish a baseline reading of the Proximity Antenna It i
8. PRESS PERFORM Since the FTMF Expansion Card connects the various sensors and output devices to predefined of the host CY8C21434 it is important that you follow the pin assignment shown in Figure 3 4 on page 21 and Table 3 1 The schematic for the FTMF Expansion Card shown in Figure 3 4 is found on the CD included in the kit Table 3 1 FTMF PSoC Pin Assignments Fin Number Port Number 90 CapSense modulator mee _ Capsense sider dere 3 Capsense sier elemens Patay_ Capsense sider deren 5 ss sider deren unused no connect emee 9 Pag 00 thermistor temperature sensor analog input 99 Ambient ight detector analog input 85 2 1 9 CY3270 PSoC FirstTouch Guide Document 001 15945 Rev CYPRESS Technical Reference PERFORM You can use the sensors and output devices in any way you want within your project but you must make sure to always assign the correct pins within your project Failure to do so may cause unpre dictable or unplanned project results Referring to Figure 3 4 on page 21 for instance notice that a capacitor and a resistor connect to Port PO 1 and P3 1 These two components form the feedback network required for all CapSense When you assign the pinout in you
9. The CY8C21434 PSoC that resides on the FTMF Expansion Card detects your finger s position on the CapSense Touch Sensing slider and controls the LEDs output Figure 2 2 CapSense Touch Sensing Demo Schematic CY8C21434 Pett 2 2 RS PE x 2 31 eedbac Network Peta Se Pets 2 61 0 01 8 2 2 Pit4 Pile 4 3 1K 689 ar a CY3270 PSoC FirstTouch Guide Document 001 15945 Rev R12 R13 Ria R15 R16 Ri 18 266 0 CapSense PCB Pads 581 582 583 584 585 586 CSB 99999 ao Getting Started JI CYPRESS PERFORM 2 4 2 Temperature Sensing Demonstration The temperature sensing demonstration shows how to use a temperature sensor to control LED color Follow the CapSense Touch Sensing based guidelines in section 2 5 Exploring the FTMF Expansion Card Demonstration Projects to simulate build and program the FTMF Expansion Board with the temperature sensing demonstration Touch the temperature sensor see Figure 2 1 and notice how the LED color changes Removing your finger leads to the LED color slowly reverting back to its initial state The CY8C21434 PSoC that resides on the FTMF Expansion Card detects the temperature and controls the LEDs output Figure 2 3 Temperature Sensing Demo Schematic CY8C21434 Thermistor 10K 25C Pie Pit3 Prts 2 10 CY3270 PSoC FirstTouch Guide Document 001 1594
10. a sonably be expected to result in significant injury to the user The inclusion of Cypress product in a life support systems appli cation implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges Use may be limited by and subject to the applicable Cypress software license agreement 2 CY3270 PSoC FirstTouch Guide Document 001 15945 Rev CYPRESS PERFORM 1 Introduction 5 1 1 Document Si 6 1 2 Document Conventions 6 2 Getting Started 7 21 Install Hardware and Run the CapSense Touch Sensing Design seeeessenneeeeees 7 22 WiNStAll SOW ANC ui di 7 2 3 Run the Temperature Light and CapSense Proximity Sensing Designs 7 24 FTMF Expansion Card Demonstrations 8 2 4 1 CapSense Touch Sensing Demonstration default 9 2 4 2 Temperature Sensing Demonstratign 10 2 4 3 Light Sensing Demonstration pp 11 2 44 CapSense Proximity Sensing Demonstration 12 2 5 Exploring the FTMF Expansion Card Demonstration Projects 13 2 5 1 Opening a Demonstration Project pp 13 2 5 2 Modifying the New Project pp 13 2 5 3 Simulating the Project 14 2 5 4 Building the New 14 2 5 4
11. a SPLMIsO mg Zero Here 551868 POS Gplos 3 PE BEER SAMOS zem ate KC SCL_SCLK 814 Zero 15 Bee 3 Po4 GPIO4 NO LOAD 4 29 E Rit DETECT Be Di 803 68103 2 14 w mp GPO a Pa Ale T2 o TYPE 11522 ie NO LOAD P23 EE TP4 R12 4 pza pai M 68 02 pz ps 5 H2 pan P26 Pos 9 NO LOAD Zs pz7 887 Pll vso LED_ALIVE 8 LEDALVE Dr aag Ip 4 po R13 4 LED_ALIVE 3 85 e LED Blue E CY8C24894 QFN56 PCB PDCR 9403 CYPRESS SEMICONDUCTOR O 2007 FIRST TOUCH PC BRIDGE ocument Number y B REF 14210 5 Thursday June 21 2007 Eee a A I I I I CY3270 PSoC FirstTouch Guide Document 001 15945 Rev 17 Technical Reference cypress PERFORM Noticed that the CY8C24894 PSoC device is the only active component in the entire circuit This sin gle PSoC handles all communications between the applications USB and expansion card inter faces The FirstTouch expansion card connects to the FTPC bridge through the 8x2 Expansion Port this is a built in port on the bridge If you are using only the FirstTouch expansion card it is generally not necessary to understand everything about this expansion port or the signals that it contains By attaching an expansion card all of the necessary connections are made Figure 3 2 is the pinout diagram for the FTPC Expansion Port Refer to this figure as you create projects As you get more accustomed to the FirstTouch Ki
12. anding the Results The steps described throughout the section Exploring the FTMF Expansion Card Demonstration Projects on page 13 demonstrate the entire flow of PSoC Express PSoC Programmer and the First Touch Kit You now know the process and PSoC Express Design Flow to make your own projects or to load another FTMF Expansion Card demonstration project from the Express Design Catalog 2 5 8 Important Things to Remember There are a few important points to remember when working with the FirstTouch kit and projects 1 Use the FTMF Expansion Card schematic pin assignment tables or both when creating a project Failure to do so almost certainly guarantees that your project will not behave as planned 2 Select the proper device to use as the host on the particular expansion card with which you are working 3 Always use the Reset programming mode when programming through the FTPC bridge CY3270 PSoC FirstTouch Guide Document 001 15945 Rev 15 Getting Started Jj CYPRESS PERFORM 16 CY3270 PSoC FirstTouch Guide Document 001 15945 Rev Technical Reference CYPRESS PERFORM 3 1 FTPC Bridge Details The FTPC Bridge is the interface bridge between the expansion cards your PC and the various applications such as PSoC Express PSoC Designer and the PSoC Programmer utility Since the FTPC Bridge enumerates as a special type of combo device that contains a PSoC Mini Prog inter
13. demarks referenced herein are property of the respective corporations Any Source Code software and or firmware is owned by Cypress Semiconductor Corporation Cypress and is protected by and subject to worldwide patent protection United States and foreign United States copyright laws and international treaty provisions Cypress hereby grants to licensee a personal non exclusive non transferable license to copy use modify create derivative works of and compile the Cypress Source Code and derivative works for the sole purpose of creating custom soft ware and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as speci fied in the applicable agreement Any reproduction modification translation compilation or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress Disclaimer CYPRESS MAKES NO WARRANTY OF ANY KIND EXPRESS OR IMPLIED WITH REGARD TO THIS MATERIAL INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PAR TICULAR PURPOSE Cypress reserves the right to make changes without further notice to the materials described herein Cypress does not assume any liability arising out of the application or use of any product or circuit described herein Cypress does not authorize its products for use as critical components in life support systems where a malfunction or failure may re
14. dge Once removed it operates in a standalone mode or connects to your system level hardware This creates a design that provides PSoC Powered Peripherals and quickly integrate them into your system Before doing so it is important to review the schematic for the particular expansion card to determine the proper power and ground connections and voltage levels The expansion card contain a variety of peripheral components that allow you to experiment with many different sensors and signal types Each of the sensors use dedicated host PSoC IO pins Therefore it is important to note which pins connect the various sensors to the host PSoC These details are provided in the expansion card specific portion of this guide Expansion Card Details This section provides details for the expansion cards included with the FirstTouch Kit Future expan sion cards will include additional documentation and demonstration projects that are specific to their operation and configuration FirstTouch MultiFunction Expansion FTMF Card The FTMF Expansion Card contains a CY8C21434 PSoC that acts as the host for various demon strations The FTMF Expansion Card has hardware to support the following PSoC powered periph eral applications CapSense Touch Button CapSense 7 Element Touch Slider CapSense Non Touch Proximity Detection Ambient light level detection Thermistor based temperature measurement In addition to the above input se
15. e the buzzer sounds at extreme temperatures b Light Sensing the LED intensity varies based on changes in the ambient light c CapSense Proximity Sensing the LED color varies based on your hand s proximity to the board FTMF Expansion Card Demonstrations The FTMF Expansion Card provided in your kit is capable of supporting a variety of demonstrations Each demonstration has an associated PSoC Express project and data sheet that describes the operation and usage of each of the demonstrations in detail Since the FTMF expansion card has its own you can remove it from the FTPC bridge and insert it into your target hardware or other development platform In order to observe each of the various FTMF demonstrations it is necessary to reprogram the FTMF card with the appropriate demonstration firmware For more details refer to the Technical Reference chapter on page 17 Figure 2 1 FTMF Expansion Card Proximity Antenna Temperature Sensor j Buzzer CapSense Slider Light Sensor LED Display CY3270 FirstTouch Guide Document 001 15945 Rev RR Y CYPRESS PERFORM 2 4 1 CapSense Touch Sensing Demonstration default The pre programmed CapSense Touch Sensing demonstration shows how to use the CapSense Touch Sensing slider to control LED color Run your finger across the CapSense Touch Sensing slider see Figure 2 1 and notice how the color of the LED color changes
16. face the standard PSoC Programmer utility can identify and communicate with the FTPC bridge This ensures that your FirstTouch Kit is automatically compatible with both PSoC Express and PSoC Designer The schematic for the FTPC Bridge shown in Figure 3 1 is found on the CD included in the kit Figure 3 1 FTPC Bridge Schematic I 1 E 1 v50 1 vso XRES894 2 Vers ISSP RADON vso e 65 ca 05 10 urd tov vso otura otura Taas RA lios H urd tov 8x2 0 100 FEMALE Expansion Receptacle vo a e Es 1 DETECT ISSP_XRES eno VEXP_OUT 4 SoA MOST TT 1558 xres spaMmosi 5 esettable Fuse E 71668 SCLSCLK A SE m IssP DAT pe Grace a 114 exp 2 E 58 eae 42 ms5 663 1 15 veus 1 DM 88 SE GPIO2 18 De LAAS T ne 20 BY 832 PIN RECPT RA 4 S 5 ISSP RADON 385854 26 1 83 82 ES 100K ES 100K USBA smo R7 R8 45 33 581 655 Zero 5 Poo 30 100 100 r i PUZ 46 553 Bi 34 S 5 Pr Poa 3318 paa 35 TSSP_xRES A Pos PS Sr POS S x RE A 100K ror P37 H ep ISSP RADON Sien 25 p10 pa o HI z 18 191 1 pat 6 Re 0 01 ur
17. ify that your design does what you intended For instance type 23 in the CSD Properties Current Value box and see the Red come up in the LED Current Value box This matches the transfer function logic designed into this project If the behavior meets your expectations you are ready for the next step If not you can go back to the Design tab edit the Transfer Function logic and return to Simulation to verify your changes Other PSoC evaluation and development kits implement monitoring and tuning to change project variables in real time and then dynamically change the driver configuration Building the New Project Once you are confident that your design is correct from the top menu bar click Build and then select Generate Build your project name Project Selecting the Target Device PSoC Express displays a Device Selection window that allows you to select a target device for your project FTMF Expansion Card projects must use the 32 CY8C21434 as the device target Select this device from the list and click Next Express then continues to compile your project Specifying the Target Device Pinout The Express Pin Editor window appears This window allows you to drag and drop the various project signals to the PSoC device IO pins For this project no changes are made to the pin assign ments Click Next to continue Note If you are creating your own project for the FTMF card refer to the Figure 3 4
18. igi tal GPIO pins on the expansion card This allows you to create custom designs and connect signals you want to the FTPC bridge or the FirstTouch expansion cards CY3270 PSoC FirstTouch Guide Document 001 15945 Rev 5 Introduction 1 1 1 2 Y cypress PERFORM Document History This section serves as a chronicle of the CY3270 PSoC FirstTouch Guide CY3270 PSoC FirstTouch Guide History Aa io Cure Originator Description of Change Date Revision Version 9 9 09 05 07 This guide is a new document a PSoC Express 3 0 generates the firmware Document Conventions This guide uses the Courier New font to distinguish file location and source code examples from regular text File names are presented in italics text Keyboard commands are bolded CY3270 PSoC FirstTouch Guide Document 001 15945 Rev 2 Getting Started Y CYPRESS PERFORM 2 1 Install Hardware and Run the CapSense Touch Sensing Design To install the kit hardware and run the CapSense touch sensing design do as follows 1 Remove both end caps from the FTPC Bridge and then connect the FTMF Expansion Card into the header of the FTPC Bridge such that Cypress Perform is visible on both boards Insert the assembled kit into your computer USB port Select Cancel in the Found New Hardware Wizard window that appears 2 Slide finger along the CapSense Touch Sensing slider found on the furthest point away fro
19. l Purpose IO connections labeled 02 05 These are hard wired to four unused Port 0 IO pins the CY8C21434 host and allow you to easily connect the FTMF Expansion Card to your specific hardware or sensors These IO pins were specifically chosen because they have the ability to operate as analog outputs analog inputs digital inputs digital outputs or any combination of the four types this pin selection makes them true analog or digital GPIO Your PSoC Express project designates the specific function for these A D GPIO pins CY3270 PSoC FirstTouch Guide Document 001 15945 Rev CYPRESS Technical Reference M R PERFO Figure 3 4 FTMF Expansion Card Schematic T 75 L 155 2003 aL 255958 515 Al 602 33 8 JequnNueunood 82 8 08 ILINW HONOL 489134 88 4002 013 03 435 SSIYAAD 20 6 8308 834 IPAS 19MO4 LON OG Joleln6ay abeyon pueoquo Uy seAeH JON 5900 pleog uolsuedx3 511 3LON 9AL LU d n AOL Z00LNZ T Dei a 00 YAH Nid 2x8 AOL Pan L y pan po pan pos 89 yr 09 55 145 bs Wt T ES SS 2 50495 Cem 2 tO 34 de
20. m your computer Notice the LED variation based on the position of your finger on the slider This is the CapSense Touch Sensing Design working right out of the box 2 2 Install Software To install the software proceed as follows 1 Remove the PSoC FirstTouch Starter Kit from your computer USB port 2 Insert the FirstTouch Kit CD ROM into your computer The CD is designed to Auto Run and the PSoC Express installation menu should appear Alternatively you can double click on the Auto run exe file in the root directory of the CD ROM to get the installation menu 3 From the PSoC Express installation menu select Install PSoC Programmer When that is com plete select Install NET Framework When that is complete select Install PSoC Express and then select Express Pack 1 for PSoC Express in that order You can also find the latest soft ware versions at www cypress com FirstTouch For each installation follow the instructions issued by the installation wizard To copy the kit documents to your computer select Install First Touch kit documentation This copies the documents to the C 1Cypress1CY3270 directory 4 Once the software installations are complete click Exit in the PSoC Express Installation Menu 5 Insert the PSoC FirstTouch Starter Kit FTPC Bridge and FTMF Expansion Card connected into your computer USB port In the Found New Hardware Wizard window select No not this time In the second Found New Hardware Wizard
21. nsors the FTMF card also provides the following output devices m Red Green Blue triple LED cluster m Audible magnet transducer or speaker or both m DC digital communications Four unused A D GPIO lines for user functions CY3270 PSoC FirstTouch Guide Document 001 15945 Rev 19 Technical Reference Ste CYPRESS 20 PERFORM The dedicated sensors and output devices on the FTMF Expansion Card are there to help you quickly evaluate and experiment with a variety of PSoC applications without having to build any hardware Your PSoC Express or PSoC Designer project completely determines the remaining FTMF Expansion Card functions Included in the kit installation are demonstration projects that use the following input sensors m CapSense slider Temperature sensor a Ambient Light sensor m CapSense proximity sensor The FTMF Expansion Card uses a standard Firstlouch expansion header for connection to the FTPC bridge or other target hardware Figure 3 3 FTMF Expansion Card Expansion Header Signals 0 100 8x2 Male Pin Header VEXP VEXP VEXP_IN NC GND VEXP_OUT 5l ISSP_XRES SDA MOSI rq ISSP_CLK SCL SCLK ISSP_DAT GPIO5 y EXP_TYPE 4 MISO GPIO3 O SPI_nss GPIO2 8X2 PIN HDR RA ISSP_XRES NOTE This Expansion Board Does Not Have An Onboard Voltage Regulator DO NOT Power With gt 5Vdc Notice that the 8x2 pin expansion header also includes four Genera
22. nterface functions The firmware that is run by this performs the primary functions listed m Functions as a USB physical and logical interface m Provides PSoC MiniProg emulation for In System Serial Programming ISSP of the expansion cards Provides communications with the PSoC programming utility Performs HID data channel communications Performs expansion card IOC TM communications Performs expansion card SPI communications There are no other active components inside of the FTPC bridge All of these interfaces run on a sin gle PSoC device Future projects for the FirstTouch Kit allow you to modify the FTPC firmware and try some USB Interface designs of your own The FirstTouch expansion card connects to the FTPC bridge through the bridge s 8x2 pin expansion port This expansion port provides all of the necessary signals to program the host PSoC on the expansion card The expansion port also provides power ground and 12C or SPI communications to and from the expansion card host PSoC and PC Since the FirstTouch expansion card has a dedicated host PSoC once programmed with your design the expansion cards can operate either detached from the FTPC bridge in standalone mode or connected to your system hardware Obviously it is necessary to provide power and ground for the expansion card to operate in either of these two arrangements There are four unused analog or digital GPIO pins on the FTPC port and four unused analog or d
23. on page 21 fora schematic and Table 3 1 on page 22 for the pin connections before proceeding beyond this point Once PSoC Express completes building your design the BOM Schematic window appears Use this as an error checking step to confirm that all of the lO pins did not move and are exactly where you intended Programming the Project To program the project to the FTMF Expansion Card do as follows 1 From the top menu bar click Program and then select PSoC Programmer The PSoC Program mer utility launches 2 On the Programmer GUI select Port gt FirstTouch 3 Ensure that the Device Family is set to 21X34 and the Device Type is CY8C21434 24LFXI this is the PSoC on the FTMF Expansion Card 4 Set the Programming Mode button to Reset and then click the Program button The Programmer utility begins programming the project s HEX file to the FTPC bridge the bridge in turn re programs the PSoC on the FTMF Expansion Card CY3270 PSoC FirstTouch Guide Document 001 15945 Rev CYPRESS PERFORM Getting Started 2 5 6 Verifying the Results Once the programming completes successfully the FTPC Bridge resets the FTMF Expansion Card and begins running your project on the FTMF Expansion Card Verify the project as follows Did the changes that were made take effect If not return to the PSoC Express Design Editor make any necessary changes and reprogram your FTMF Expansion Card again 2 5 7 Underst
24. r PSoC Express CapSense projects make certain to assign these pins to the correct functions CY3270 PSoC FirstTouch Guide Document 001 15945 Rev 23 Y Cypress PERFORM Technical Reference 24 CY3270 PSoC FirstTouch Guide Document 001 15945 Rev
25. s therefore necessary to con nect the Proximity Antenna prior to plugging in the FirstTouch kit The project is setup to recalculate this baseline approximately every 30 seconds Also notice how the shape and position of the wire affects the demonstration operation and the proximity sensing dis tance Figure 2 5 CapSense Proximity Sensing Demo Schematic CY8C21434 Proximity s Antenna Feedback Network Ci Follow the CapSense Touch Sensing based guidelines in section 2 5 Exploring the FTMF Expansion Card Demonstration Projects to simulate build and program the FTMF Expansion Board with the CapSense proximity sensing demonstration Slowly approach the CapSense proximity sensor depicted in Figure 2 1 on page 8 with your fingers and notice how the color of the LED color changes Removing your fingers leads to the LED color slowly reverting back to its initial state The CY8C21434 PSoC that resides on the FTMF Expansion Card detects the relative proximity of your fingers to the FTMF Expansion Card and controls the LEDs output CY3270 PSoC FirstTouch Guide Document 001 15945 Rev gt a CYPRESS Getting Started 2 5 2 5 1 2 5 2 Exploring the FTMF Expansion Card Demonstration Projects To explore the various FTMF Expansion Card projects do as follows 1 Remove the FTPC Bridge from the USB port on the PC 2 Connect the FTMF Expansion Card into the header of the FTPC Bridge such that Cypress Per form
26. t and design flow you may find yourself wanting to make your own expansion cards At that time you may want to review the interface sig nals 1 C1 Figure 3 2 FTPC Expansion Port Pinout Diagram V50 T uFd 10v ISSP_XRES 8x2 0 100 FEMALE Expansion Receptacle J3 VEXP_IN VLOCAL DETECT 4 GND VEXP_OUT DA MO me eh E Kee SES YPE Ee EE SE EXP TYPE GPIO4 emot SE a Beete oe G erd PIO 18 83 NY 100K 8X2 PIN RECPT RA R2 S 100K CY3270 PSoC FirstTouch Guide Document 001 15945 Rev ao ae Ji CYPRESS 3 2 3 3 3 3 1 Technical Reference Expansion Card Overview The FirstTouch expansion card is designed to plug and play with the FTPC bridge All power for the included expansion cards is provided by the FTPC bridge directly from the USB bus No other power supply is necessary when an expansion card is connected to the FTPC bridge Connection to the FTPC Expansion Port is through the 8x2 or 5x2 pin header on the expansion card The FirstTouch expansion cards have a dedicated host PSoC device installed The particular PSoC installed was chosen to act as an example as to which PSoC is most suitable for the types of appli cations that the particular expansion card supports This also makes it easier to transfer your design from the FirstTouch kit to your hardware By having a dedicated host PSoC you can program then remove the expansion card from the FTPC bri
Download Pdf Manuals
Related Search
Related Contents
Samsung NV73J9770RS, Piekarnik elektryczny LV1_ LN1_H_EN HILLS Series LCD Code Pad User Manual Evaluer le potentiel touristique d`un territoire Auxiliary Outboard Motor Bracket Mounting and Operating instructions WARREN F. MOTTE JR. Department of French - VIVO CU WELCOME PORTAL - Solutions Lab HーTACHー ー ~ Copyright © All rights reserved.
Failed to retrieve file