CY3209-EXPRESSEVK Cypress Semiconductor Corp, CY3209-EXPRESSEVK Datasheet

EVAL KIT WORLDTOUR2

CY3209-EXPRESSEVK

Manufacturer Part Number
CY3209-EXPRESSEVK
Description
EVAL KIT WORLDTOUR2
Manufacturer
Cypress Semiconductor Corp
Series
PSoc Express™r
Type
MCUr

Specifications of CY3209-EXPRESSEVK

Contents
Evaluation Board, LCD Module, MiniProng Programming Unit, 2 AWP24S, cable, 9V battery and software
Silicon Manufacturer
Cypress
Core Architecture
PSoC
Silicon Family Name
PSoC
Kit Contents
Express Eval Board, LCD Module, Programmer, Two 2.4GHz Radios, Battery, Cables, Literature And Software
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
-
Lead Free Status / Rohs Status
Supplier Unconfirmed
Other names
428-2025

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CY3209-EXPRESSEVK
Manufacturer:
CYPRESS
Quantity:
24
CY3209-ExpressEVK
Kit Guide
Doc. # 001-16798 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

Related parts for CY3209-EXPRESSEVK

CY3209-EXPRESSEVK Summary of contents

Page 1

... CY3209-ExpressEVK Kit Guide Doc. # 001-16798 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 ...

Page 2

... The inclusion of Cypress's product in a life-support systems application 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 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 3

... Add an Output Driver .....................................................................................19 3.1.9 Define Output Behavior..................................................................................19 3.1.10 Add an Interface Driver ..................................................................................20 3.1.11 Verify the Project Register Map......................................................................20 3.1.12 Build the Project .............................................................................................20 3.1.13 Program the PSoC Device .............................................................................21 3.2 I2C Master/Slave Lab – Master .................................................................................22 3.2.1 Description .....................................................................................................22 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev ...

Page 4

... Program the PSoC Device ........................................................................................ 41 5.14 Test Your Project on the Demonstration Board......................................................... 42 5.15 Tuning Your Project................................................................................................... 42 6. LCD Lab 6.1 Description.................................................................................................................45 6.2 Board Quadrant ......................................................................................................... 45 6.3 PSoC Device ............................................................................................................. 45 6.4 Finished Project Location .......................................................................................... 45 6.5 Start a New Project.................................................................................................... 45 4 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev ...

Page 5

... Add Two Interface Valuators ..........................................................................63 8.1.10 Define Output Behavior..................................................................................64 8.1.11 Verify the Project Register Map......................................................................64 8.1.12 Build the Project .............................................................................................65 8.1.13 Program the PSoC Device .............................................................................66 8.1.14 Test Your Slave Device on the Demonstration Board ....................................67 8.2 WirelessUSB Master/Slave Lab – Master..................................................................68 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Contents ...

Page 6

... Finished Project Location............................................................................... 68 8.2.5 Start a New Project ........................................................................................ 68 8.2.6 Add Three Input Drivers................................................................................. 68 8.2.7 Add Five Output Drivers................................................................................. 69 8.2.8 Define Output Behavior ................................................................................. 71 8.2.9 Build the Project............................................................................................. 73 8.2.10 Program the PSoC Device............................................................................. 74 8.2.11 Test Your WirelessUSB System ..................................................................... 75 6 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 7

... Introduction 1.1 Purpose This guide provides instructions for example projects for the CY3209-ExpressEVK. The projects illustrate many features of PSoC Express 3. 1.2 Getting Started You will need: PSoC Express 3 ■ PSoC Programmer ■ Express Pack 3 ■ 1.3 Design Files The example projects in this guide are included on the kit CD. These projects have already gone through the build process and can be programmed immediately ...

Page 8

... Figure 1-2. Adding a Driver Via Drag and Drop Figure 1-3. Adding a Driver Via the Contextual Menu 8 Use Add Driver Dialog is checked. (Figure 1-2), double-click the item, or right-click on the item and select Add 1-3). CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** → Driver Catalog. ...

Page 9

... Select the USB Mini Programmer (1.08.0120.0) driver and click Next. 7. When prompted that the USB Mini Programmer (1.08.0120.0) software has not passed Windows Logo Testing, click Continue Anyway. 8. When Windows has completed the installation, click Finish. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Introduction (Figure 1-4). ...

Page 10

... Exit PSoC Programmer. 5. Disconnect the MiniProg from the CY3209 board. 1.7 CY3209-ExpressEVK Board TL = Top Left BL = Bottom Left 10 PSoC Programmer from PSoC Express. The following three actions are TR = Top Right BR = Bottom RIght CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 11

... Document Title: CY3209-ExpressEVK Kit Guide Document Number: 001-16144 Revision ECN# Issue Date ** 1421984 June 11, 200 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Usage Displays file locations and source code: C:\ …cd\icc\. Displays file names and reference documentation: sourcefile.hex Displays keyboard commands in procedures: [Enter] or [Ctrl] [C] Represents menu paths, user entered text: File → ...

Page 12

... Introduction 12 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 13

... If needed, click Browse to save the project in a different location. 4. Click OK. 2.6 Add an Input Driver Table 2-1. Internal Pulldown N_O Driver Driver/Valuator Pushbutton - (Normally Open, Int. Pull-Down) Location Properties CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Inputs Tab Tactile Button Normally Open Internal Pulldown N_O Field User Input ...

Page 14

... Drag the Button Input values to the following LED state columns: → Off Decay ■ → ■ Figure 2-1. CY3209FirstEx Table Lookup 6. Click OK. 14 Display LED Single Color With Decay Field User Input LED Decay (Default) 1000 (Default) 1000 (Default) Sourcing (Default) CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 15

... Assign drivers to pins by dragging and dropping the blue rectangles from the Unassigned Driv- ers list to the pins listed in the following table. Table 2-3. CY3209FirstEx Pinouts Function Button LED Note: The pin label notation P1[2] indicates Port 1, Pin 2. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** → 3.3V → → Disable ...

Page 16

... Power the board with a 9V battery (provided with the kit optional 6–14V DC wall transformer the top-left quadrant, press the pushbutton on the board to light the LED labeled P2[0]. 3. Release the button and watch the LED slowly fade. 16 Programming Instructions for CY3209 PSoC 10. J7 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 17

... Finished Project Location \PSoCExpressExamples\CY3209I2CSlaveLab\CY3209I2CSlaveLab.app on the kit CD. 3.1.5 Start a New Project → 1. Select File New Project. 2. Name the project CY3209I2CSlaveLab needed, click Browse to save the project in a different location. 4. Click OK. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** → Use Add Driver Dialog is checked. 17 ...

Page 18

... Select the High check box to make it the default state. d. Click OK to close the Add Values dialog box. 18 Voltage Input 2600 mV Field User Input Volts Interface (Communication) Valuators Discrete Field User Input Command 0x0 (See Adding States Below) to add values CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** (Default) ...

Page 19

... Low OFF ■ → Medium ON ■ → High BLINKING ■ Figure 3-1. CY3209I2CSlaveLab LED Output States 6. Click OK. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Display LED Single Color On/Off with blink Field User Input LED OFF (Default) 1 (Default) Sourcing (Default) I2C Master/Slave Lab ...

Page 20

... I2Cs I2CSCLPin I2Cs I2CSDAPin LED Volts Note: The pin label notation P1[2] indicates Port 1, Pin 2. 20 Communication I2C Slave Field User Input I2Cs 5 → 3.3V → Pin P1[1] P1[0] P2[0] P0[1] CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** → CY8C27643, 48-Pin MLF. ...

Page 21

... Remove the jumpers between J1 and J2. 3. Program the part via J1 as described in the Express Projects section on page 4. Install jumpers on the following pin combinations: Figure 3-3. CY3209I2CSlaveLab Jumper Settings CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Programming Instructions for CY3209 PSoC 10. I2C Master/Slave Lab 21 ...

Page 22

... Inputs Tab Location Name Properties I2C_Address I2C_SubAddress Variable_Type Note: The I2C_SubAddress property value is determined by the layout of the I2C slave project Interface Register Map. 22 Remote Devices External I2C Slave-Monitor Field User Input VoltsMonitor 5 2 INT (Default) CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 23

... Initial Value I2C_Address I2C_SubAddress VariableType WriteMode WriteInitalValue Note: The I2C_SubAddress property value is determined by the layout of the I2C slave project Interface Register Map. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Display LED 7-Segment Multi Digit Four Digit with Decimal Point Common Cathode Field ...

Page 24

... Ensure the Assign pins automatically check box is not selected. 5. Click Next the User Pin Assignment window, click Unassign All Pins. 24 Then VoltsMonitor Table 3-11. To add a row to the PriorityEncoder, as you complete each if/then statement. Then → 3.3V → Free Run CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 25

... FourDigLED DIG_4 pse_I2Cm_Shared_0 SDAPin pse_I2Cm_Shared_0 SCLPin Note: The pin label notation P1[2] indicates Port 1, Pin 2. Figure 3-4. CY3209I2CMasterLab Pinouts 8. Click Next. PSoC Express generates and compiles the project source code. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Pin P3[0] P3[1] P3[2] P3[3] ...

Page 26

... Observe the following relationship between the multi-digit LED display on the master and the single LED on the slave: → 0-999 ■ → 1000-1999 ■ → >2000 ■ 26 Programming Instructions for CY3209 PSoC Express 10. Build the Project on page 20 LED is Off LED is On LED is Blinking CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** have been installed. ...

Page 27

... Finished Project Location \PSoCExpressExamples\CY3209USBUARTLab\CY3209USBUARTLab.app on the kit CD. 4.5 Start a New Project → 1. Select File New Project. 2. Name the project CY3209USBUARTLab needed, click Browse to save the project in a different location. 4. Click OK. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** → Use Add Driver Dialog is checked. 27 ...

Page 28

... Select the High check box to make it the default state. d. Click OK to close the Add Values dialog box. 28 Voltage Input 2600 mV Field User Input Volts Interface (Communication) Valuators Discrete Field User Input Command 0x0 (See Adding States Below) to add values CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** (Default) ...

Page 29

... Low OFF → Medium ON ■ → High BLINKING ■ Figure 4-1. CY3209USBUARTLab Output States 6. Click OK. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Display LED Single Color On/Off with blink Field User Input LED OFF (Default) 1 (Default) Sourcing (Default) USB-UART Lab ...

Page 30

... Ensure the Assign pins automatically check box is not selected. 5. Click Next the User Pin Assignment window, click Unassign All Pins. 30 Communication USB USB-UART Field User Input USBUART 1204 57354 CypressCorp Self Powered 500 → 3.3V → CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** (Default) (Default) (Default) (Default) → ...

Page 31

... Note: The pin label notation P1[2] indicates Port 1, Pin 2. USB connections are on dedicated pins and are not assignable. Figure 4-2. CY3209USBUARTLab Pinouts 8. Click Next. PSoC Express generates and compiles the source code. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Pin P2[0] P0[1] ...

Page 32

... Click Continue Anyway in the Hardware Installation warning dialog. n. Click Finish. o. Open the Windows Device Manager. p. Expand the Ports (COM&LPT) branch of the device tree. Record the COM number assigned to USBUART. 32 Programming Instructions for CY3209 PSoC Express 10. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 33

... All parameters are separated from the initial command and the other parameters by spaces. Data is formatted as 2 character hexadecimal values (i.e. 00, 1A). ■ All command lines are terminated by a linefeed or carriage return/linefeed combination to ■ be executed. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** → → → All Programs Accessories → ...

Page 34

... High order byte of the Volts 16-bit value ❐ Low order byte of the Volts 16-bit value ❐ iii. Adjust the potentiometer in the top right quadrant. The Volt values in the HyperTerminal display vary. iv. Press [Enter] to terminate the data stream from the PSoC. 34 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 35

... Wait until the Actions column of PSoC Programmer’s status window indicates that either Pro- gramming Succeeded or Programming Terminated. If the Programming Terminated message appears, troubleshoot the problem, and re-attempt to program the device. h. Exit PSoC Programmer. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** PSoC Programming. → → ...

Page 36

... Table 5-2. On/Off Driver Driver/Valuator Single LED - On-Off Outputs Tab Location Name Properties Initial Value Current Mode 36 Communication I2C Slave Field User Input I2C 4 (Default) Display LED Single Color On/Off Field User Input LED1 OFF Sourcing CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** (Default) (Default) ...

Page 37

... Automatically added the first time a CapSense button, slider, or Location proximity detector is added to your design Name NoiseThreshold NegativeNoiseThreshold Properties BaselineUpdateThreshold Hysteresis Debounce LowBaselineReset Sensors Autoreset CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** CapSense CapSense - CSD Button - CSD Properties - CSD (added automatically) Field User Input Button1 CSDDriverPack- age.dll 100 Normal ...

Page 38

... Right-click on one of the selected driver icons and select Duplicate Objects. You now have four buttons and four LEDs. 6. Click in an open area on the desktop to deselect the driver icons. 7. Drag the button and LED icons on the design desktop to make a neat arrangement of button/ LED pairs. Figure 5 good example. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 39

... Name the drivers LED2, LED3, and LED4, ensuring that LED2 is the driver connected to Button2, LED3 is the driver connected to Button3, and LED4 is the driver connected to Button4. Figure 5-4. Buttons and LEDs Named and Connected Example CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** CapSense Lab 39 ...

Page 40

... Button1_CSD Button2_CSD Button3_CSD Button4_CSD pse_CSD_0 CSD_FdbkResistorPin pse_CSD_0 CSD_ModulatorCapPin I2Cs I2CSCLPin I2Cs I2CSDAPin LED1 LED2 LED3 LED4 40 → 3.3V → Pin P2[6] P3[3] P3[2] P3[0] P3[1] P0[3] P1[7] P1[5] P2[0] P2[1] P2[2] P2[3] CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** → CY8C21434, 32-Pin. ...

Page 41

... Remove the jumpers between J7 and J8. 3. Program the part via J7 as described in the Express Projects section on page 4. Install jumpers on the following pin combinations: Figure 5-6. CY3209CapSenseLabCSD Jumper Settings CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Programming Instructions for CY3209 PSoC 10. J7 CapSense Lab 41 ...

Page 42

... Experiment by touching the other buttons and the slider. Figure 5-8. Monitoring Button Values 6. Right-click Button1 and select Show Tuner (Figure 5-10). Figure 5-9. Show Tuner Menu Connected (Figure 5-9) to open the CSD Button Tuner Window CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev Running ...

Page 43

... An increased Ref Value level will decrease sensor sensitivity, but increase the influence of the shielding electrode. See the driver datasheet for more information about this setting. 9. Click Apply to Board to write the changed parameters to Flash on the PSoC device. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** CapSense Lab 43 ...

Page 44

... Congratulations! You are now done with the tutorial. Close the tuner window and stop the board monitor. Anytime that you are not actively using the board monitor you should stop it. Monitoring a design consumes a lot of processor cycles on your PC. 44 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 45

... Table 6- 2600 mV Driver Driver/Valuator Location Properties Note: The potentiometers on the CY3209 board can generate up to 3300 mV. The voltage input driver used in this lab measures up to 2600 mV. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Unscaled Voltage - (0-2600mV) Inputs Tab Voltage Input 2600 mV Field ...

Page 46

... In the User Pin Assignment window, click Unassign All Pins. 46 Display LCD LCD Horizontal Bar Graph with Value Field User Input BarGraph 0 Rows 0-1 0 2600 mV Then Volts → 3.3V → CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** (Default) (Default) → CY8C27643, 48-Pin MLF. ...

Page 47

... LCDPin12 pse_LCD_SHARED_0 LCDPin13 pse_LCD_SHARED_0 LCDPin14 pse_LCD_SHARED_0 LCDPin6 pse_LCD_SHARED_0 LCDPin4 pse_LCD_SHARED_0 LCDPin5 Volts Figure 6-1. CY3209LCDLab Pinouts 8. Click Next. PSoC Express generates and compiles the project source code. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Pin P4[0] P4[1] P4[2] P4[3] P4[4] P4[5] P4[6] ...

Page 48

... Power the board with a 9V battery (provided with the kit optional 6–14V DC wall trans- former. 4. Adjust the potentiometer in the bottom left quadrant. The voltage appears as a numeric value, and the bar graph sizes itself based on the ratio of the current voltage to 2600 mV. 48 Programming Instructions for CY3209 PSoC 10. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 49

... CD. 7.1.5 Start a New Project → 1. Select File New Project. 2. Name the project CY3209WUSBSlaveLab needed, change the project location using Browse to move to a different folder. 4. Click OK. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Master/Slave Lab 1 → Use Add Driver Dialog is checked. 49 ...

Page 50

... Click OK to close the Add Valuator dialog box. 50 Voltage Input 2600 mV Field User Input Volts Interface (Communication) Valuators Discrete Field User Input Command 0x0 (Default) (See Adding States Below) to add values Select the box next to High to set it as the default. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 51

... Drag the Command Input values to the following LED state columns: → Low OFF ■ → Medium ON ■ → High BLINKING ■ 6. Click OK. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Cypress WirelessUSB™ Master/Slave Lab 1 Display LED Single Color On/Off with blink Field User Input LED OFF (Default) 1 (Default) Sourcing ...

Page 52

... Click OK. 52 Communication WirelessUSB LP 1-1 Single Packet Slave Integrated Button Bind AWP24S Field User Input Wireless Internal Pulldown, Normally Open 200 40 -24 dBm 0 dBm 1 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** (Default) (Default) (Default) (Default) (Default) (Default) ...

Page 53

... Note: The pin label notation P1[2] indicates Port 1, Pin 2. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** → 3.3V → Free Run When the Wireless_WUSBF IRQPin driver is Function LED Volts Wireless_BindEnable Wireless_WUSBF IRQPin Wireless_WUSBF SSPin pse_WUSB_SHARED_0 MISOPin Move From P1[0] to P0[0] pse_WUSB_SHARED_0 SClkPin pse_WUSB_SHARED_0 MOSIPin Move From P1[1] to P0[5] Cypress WirelessUSB™ ...

Page 54

... Disconnect any power sources from the demonstration board. 2. Remove the jumpers between J1 and J2. 3. Program the part via J1 as described in the Express Projects section on page 4. Install jumpers on the following pin combinations: Figure 7-2. CY3209WUSBSlaveLab Jumper Settings Programming Instructions for CY3209 PSoC 10. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 55

... Name Properties Variable Type Offset Note: The Offset property value is determined by the layout of the WirelessUSB slave project Interface Register Map. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Cypress WirelessUSB™ Master/Slave Lab 1 Remote Devices WirelessUSB WirelessUSB LP 1:1 Single Packet Slave Monitor Field ...

Page 56

... LED 7-Segment Multi Digit Four Digit with Decimal Point Common Cathode Field User Input FourDigLED 0 NONE Remote Devices WirelessUSB WirelessUSB LP 1:1 Single Packet Slave Control Field User Input LevelControl 0 BYTE 0 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** (Default) (Default) (Default) (Default) (Default) ...

Page 57

... Enter rules for the PriorityEncoder according to click the down arrow button Table 7-12. Level Control PriorityEncoder If/Then Settings If/Else If VoltsMonitor < 1000 VoltsMonitor < 2000 1 8. Click OK. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** WirelessUSB LP 1-1 Single Packet Master Integrated Button Bind AWP24S Field User Input Wireless Internal Pulldown, ...

Page 58

... FourDigLED SEG_DP FourDigLED SEG_E FourDigLED SEG_F FourDigLED SEG_G Wireless_BindEnable Wireless_WUSBFMASTER IRQPin Wireless_WUSBFMASTER SSPin pse_WUSB_SHARED_0 MISOPin pse_WUSB_SHARED_0 SClkPin pse_WUSB_SHARED_0 MOSIPin CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** → CY8C29666, 48-Pin MLF. Pin Notes P4[0] FourDigLED DIGs 2 through 4 are P4[1] assigned automati- cally when FourDi- ...

Page 59

... Figure 7-3. CY3209WUSBMasterLab Pinouts 8. Click Next. PSoC Express generates and compiles the project source code. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Cypress WirelessUSB™ Master/Slave Lab 1 59 ...

Page 60

... Observe the following relationship between the multi-digit LED display on the master and the single LED on the slave: → 0-999 ■ → 1000-1999 ■ → >2000 ■ 60 Programming Instructions for CY3209 PSoC Express 10. Program the PSoC Device on page 54 LED is Off LED is On LED is Blinking CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** have been ...

Page 61

... CD. 8.1.5 Start a New Project → 1. Select File New Project. 2. Name the project CY3209WUSBTiltSlave needed, change the project location using Browse to move to a different folder. 4. Click OK. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Master/Slave Lab 2 → Use Add Driver Dialog is checked. 61 ...

Page 62

... Location Name Properties Number of output pins DriveMode 62 Acceleration Dual Axis XY ADXL322 (+/-2g) Field User Input AccXY Digital Output Banked Output Field User Input XLeds 4 Strong (default) Digital Output Banked Output Field User Input YLeds 4 Strong (default) CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 63

... Default Value States Table 8-6. Interface Valuator 2: Discrete Driver/Valuator Discrete Valuators Tab Location Name Properties Default Value States CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Cypress WirelessUSB™ Master/Slave Lab 2 Communication WirelessUSB LP 1:1 Single Packet Slave Simple Configuration AWP24S Field User Input Wireless 0 ...

Page 64

... If the values are not in the order shown, click on one of the values and use the Up/Down arrow buttons to move the value up or down until the values are in the order shown above. 64 Then CommandX Then CommandY CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 65

... Note: The pin label notation P1[2] indicates Port 1, Pin 2. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** → 3.3V → Free Run When the Wireless_WUSBF IRQPin driver is Function AccXY__X AccXY__Y XLeds_bit0 XLeds_bit1 XLeds_bit2 XLeds_bit3 YLeds_bit0 YLeds_bit1 YLeds_bit2 YLeds_bit3 Wireless IRQPin Wireless SSPin pse_WUSB_SHARED_0 MISOPin Move From P1[0] to P0[0] ...

Page 66

... PC using a USB cable. 2. Remove the jumpers between J1 and J2. 3. Program the part via J1 as described in Projects section on page 4. Install jumpers on the following pin combinations: Figure 8-2. CY3209WUSBTiltSlave Jumper Settings Programming Instructions for CY3209 PSoC Express 10. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 67

... LED pattern (all LEDs on). WARNING If multiple people are performing the master lab at the same time as this lab in the same location, the results may be unpredictable. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Cypress WirelessUSB™ Master/Slave Lab 2 67 ...

Page 68

... Add Three Input Drivers Table 8-10. Input Driver 1: Internal Pulldown N_O Driver Driver/Valuator Pushbutton - (Normally Open, Int. Pull-Down) Inputs Tab Location Properties Name 68 Tactile Button Normally Open Internal Pulldown N_O Field User Input BindReq CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 69

... Initial Value Variable Type Offset Note: The Offset property value is determined by the layout of the WirelessUSB slave project Interface Register Map. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Cypress WirelessUSB™ Master/Slave Lab 2 Remote Devices WirelessUSB WirelessUSB LP 1:1 Single Packet Slave Monitor Field ...

Page 70

... WirelessUSB LP 1:1 Single Packet Slave Control Field User Input OutYLeds 15 BYTE 1 WirelessUSB LP 1-1 Single Packet Master Simple Configuration AWP24S Field User Input Wireless DO_NOT_BIND Digital Output Banked Output Field User Input XLeds 4 Strong CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** (Default) (Default) (Default) (Default) ...

Page 71

... Table 8-19. YLeds If/Then Settings If/Else If InAccXY_Y<-800 InAccXY_Y<-300 InAccXY_Y<300 InAccXY_Y<800 1 d. Click OK. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Cypress WirelessUSB™ Master/Slave Lab 2 Digital Output Banked Output Field User Input YLeds 4 Strong Table ...

Page 72

... Right-click on the OutYLeds driver icon, and select Transfer Function. b. Select PriorityEncoder from the list of transfer functions and click OK. c. Enter the following rule for the PriorityEncoder: Table 8-21. OutYLeds If/Then Settings If/Else Click OK. 72 Then XLeds_packed_val Then YLeds_packed_val CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 73

... CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** → 3.3V → Free Run When the Wireless_WUSBF IRQPin driver is Function BindReq XLeds_bit0 XLeds_bit1 XLeds_bit2 XLeds_bit3 YLeds_bit0 YLeds_bit1 YLeds_bit2 YLeds_bit3 Wireless IRQPin Wireless SSPin pse_WUSB_SHARED_0 MISOPin Move From P1[0] to P0[0] pse_WUSB_SHARED_0 SClkPin pse_WUSB_SHARED_0 MOSIPin Move From P1[1] to P0[5] Cypress WirelessUSB™ ...

Page 74

... Disconnect any power sources from the demonstration board. 2. Remove the jumpers between J1 and J2. 3. Program the part via J1 as described in the Express Projects section on page 4. Install jumpers on the following pin combinations: Figure 8-4. CY3209WUSBTiltMaster Jumper Settings Programming Instructions for CY3209 PSoC 10. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Page 75

... Note: Switching the radios between boards after binding requires the slave to be reprogrammed and the binding process to be executed again. WARNING: If multiple people are performing this lab in the same location, the results may be unpredictable. CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** Cypress WirelessUSB™ Master/Slave Lab 2 75 ...

Page 76

... Cypress WirelessUSB™ Master/Slave Lab 2 76 CY3209-ExpressEVK Kit Guide, Doc. # 001-16798 Rev. ** ...

Related keywords