background image

CY3280-MBR2 CapSense Express with SmartSense Auto-Tuning Kit Guide, Doc. # 001-71857 Rev. *C

25

Kit Operation

3.2.9

Power-On LED Effects

3.2.9.1

Enable Power-On LED Effects

Go to the 

Visual Config

 tab; select the 

At Power On 

checkbox under 

LED Effects

 to enable the

feature. Select the values for different parameters such as ramp up time, ramp down time, high time,
low time, high brightness, low brightness, and LED effect repeat rate in the 

At Power On

 tab.

Figure 3-17.  Power-On LED Effects Enabled

3.2.9.2

Test CapSense Buttons with Power-On LED Effects Enabled

Observe the LED effects according to the configured setting at every power cycle.

Figure 3-18.  Power-On LED Effect Pattern

Summary of Contents for CapSense Express SmartSense CY3280-MBR2

Page 1: ...R2 CapSense Express with SmartSense Auto Tuning Kit Guide Doc 001 71857 Rev C 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: ... AND FITNESS FOR A PARTICULAR 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 reasonably be...

Page 3: ... 3 2 3 Flanking Sensor Suppression FSS 19 3 2 3 1 Enable Flanking Sensor Suppression 19 3 2 3 2 Test CapSense Buttons with FSS Enabled 19 3 2 4 LED ON Time 20 3 2 4 1 Enable LED ON Time 20 3 2 4 2 Test CapSense Buttons with LED ON Time Enabled 20 3 2 5 Button Auto Reset ARST 21 3 2 5 1 Enable Button Auto Reset 21 3 2 5 2 Test CapSense Buttons with ARST Enabled 21 3 2 6 Debounce Control 22 3 2 6 1 ...

Page 4: ...1 3 Test System Diagnostics CapSense Button to Button Short 28 3 2 11 4 Test System Diagnostics CapSense Button to Vdd Short 29 4 Hardware 31 4 1 Power Block 32 4 2 CY8CMBR2110 Functional Block 33 4 3 I2C to USB Bridge Block 33 4 4 Connector Details 34 4 4 1 USB IIC Connector 34 4 4 2 Expansion Connector 34 5 Sample Configurations 35 5 1 Demonstration of Features using Sample Configuration Files 3...

Page 5: ...the EZ Click customizer tool which is required to configure the kit For more information and to download the tool visit http www cypress com go ez click 1 1 Kit Contents CY3280 MBR2 kit Two AAA batteries unassembled Overlay 3 mm thickness A to Mini B USB cable Screw driver Five samples of CY8CMBR2110 LQXI CY3280 MBR2 kit CD DVD Flex PCB with 1 mm overlay Quick start guide 1 2 Factory Default Confi...

Page 6: ...al version of kit guide A 11 16 2012 ZINE Updated Getting Started chapter on page 9 Updated all images B 03 04 2013 ZINE Updated Title Updated all images in Chapter 2 Updated Procedure in Configuring CY8CMBR2110 CapSense Con troller on page 14 Updated Configuring CY8CMBR2110 CapSense Controller on page 14 and Kit Features on page 16 Updated Table 4 1 on page 32 Updated Appendix chapter on page 39 ...

Page 7: ...ents menu paths File Open New Project Bold Displays commands menu paths and icon names in procedures Click the File icon and then click Open Times New Roman Displays an equation 2 2 4 Text in gray boxes Describes Cautions or unique functionality of the product Table 1 2 Document Conventions for Guides Convention Usage ...

Page 8: ...8 CY3280 MBR2 CapSense Express with SmartSense Auto Tuning Kit Guide Doc 001 71857 Rev C Introduction ...

Page 9: ...ert the kit CD DVD into the CD DVD drive of your PC The CD DVD is designed to auto run and the kit installer startup screen appears Note You can also download the latest kit installer from http www cypress com go CY3280 MBR2 Three different types of installers are available for download a CY3280 MBR2_ISO This file ISO image is an archive file of the optical disc provided with the kit You can use t...

Page 10: ... the CD DVD as shown in Figure 2 2 To access the root directory click Start My Computer CY3280 MBR2 drive Figure 2 2 Root Directory of CD DVD 3 On the startup screen click Next to start the installer 4 The InstallShield Wizard screen appears On this screen choose the folder location to install the setup files You can change the folder location for setup files using Change as shown in Figure 2 3 5 ...

Page 11: ...as three options Typical Complete and Custom as shown in Figure 2 4 If you are uncertain proceed with the default setting Typical 7 Click Next to start the installation Figure 2 4 Installation Type Options 8 When the installation begins a list of all packages appear on the Installation Page A green checkmark appears against every package that is downloaded and installed as shown in Figure 2 5 9 Wa...

Page 12: ...3280 MBR2 CapSense Express with SmartSense Auto Tuning Kit Guide Doc 001 71857 Rev C Getting Started Figure 2 5 Installation Page 10 Click Finish to complete the installation Figure 2 6 Installation Complete ...

Page 13: ...ble the case using the screw driver provided with the kit Touch the power button first and ensure the power button LED1 and LED2 light up Each CapSense button is mapped to an LED such that activation of a button can be verified by monitoring the LED status The ON status of LEDs indicate that the CapSense buttons are active The Flex PCB with 10 buttons can be connected to the kit via the 44 pin exp...

Page 14: ...ls on these features The CY3280 MBR2 CapSense Express Kit can be configured using the EZ Click customizer tool Three configuration file projects are included with the kit Additional configurations can be generated using the tool 3 1 1 Configuring CY8CMBR2110 CapSense Controller Follow these steps to configure the CY8CMBR2110 controller To configure the kit and test the features supported by it fol...

Page 15: ... buttons as desired You can select up to 10 buttons for any configuration The numbering starts with 0 in the EZ Click customizer tool and is mapped to button 1 of the kit Button 1 in the tool maps to button 2 of the kit and so on 7 Modify the project to enable features as mentioned in the sections 3 2 2 to 3 2 11 8 Generate the configuration file by pressing Ctrl G 9 Click on Apply Current Config ...

Page 16: ...2 Touch any button and observe that the respective LED lights up without any manual tuning 3 Power off the kit Connect the Flex PCB and then power the kit When there is a finger touch on the Flex PCB the respective LED on the kit lights up without any tuning The change in sensor parasitic capacitance Cp due to the Flex PCB and the overlay is auto tuned by the SmartSense Auto Tuning algorithm Hence...

Page 17: ...urchase or know more about BSM board refer to the Cypress website The Flex PCB needs to be disconnected from the kit to test the features mentioned in the subsequent sections The following sections demonstrates how to enable and verify various visual and audio features of the kit These features require the kit to be configured using the EZ Click customizer tool Follow the steps below to observe th...

Page 18: ...now about the features which will not work together 3 2 2 Toggle Touch ON OFF 3 2 2 1 Enable Toggle Touch ON OFF Go to the Device Config tab select the Toggle Touch ON OFF checkbox to enable the toggle fea ture for the desired number of buttons The Figure 3 4 shows toggle feature enabled in four buttons Figure 3 4 Toggle Touch ON OFF Feature GUI 3 2 2 2 Test CapSense Buttons with Toggle Touch ON O...

Page 19: ... enable the FSS feature for the desired number of buttons Figure 3 6 FSS Enabled 3 2 3 2 Test CapSense Buttons with FSS Enabled 1 Touch a FSS enabled CapSense button the respective LED turns on 2 Without removing the touch touch another FSS enabled button the LED does not glow for the second button 3 Remove the touch from the first button Now touch any other FSS enabled button the respective LED g...

Page 20: ...uttons To set the time configure the LED ON time menu below the checkbox Figure 3 8 LED ON Time Enabled 3 2 4 2 Test CapSense Buttons with LED ON Time Enabled Touch any CapSense button the respective LED turns on When the finger is released the LED turns off after the duration specified in LED on time msec in the Visual Config tab Button LED glows on touch Second button glows after the the touch o...

Page 21: ...r 5 or 20 seconds Figure 3 10 ARST Enabled 3 2 5 2 Test CapSense Buttons with ARST Enabled Touch any CapSense button the respective LED turns on Do not release the button keep the finger pressed for 5 seconds or 20 seconds as selected Notice that the LED turns off automatically after 5 seconds or 20 seconds according to the setting applied Release the buttons and touch the same buttons again it wo...

Page 22: ...pSense Buttons for Debounce Control This parameter determines the minimum duration for which the finger must be present on the button to report a Sensor On For example put 55 in the debounce parameter for CS1 CS9 To calculate the time in milliseconds the factor 35 should be multiplied with the debounce parameter value This factor value is only for default settings For other settings see the CY8CMB...

Page 23: ...put duration timing using the respective menu options Buzzer idle state indi cates the state of the buzzer pins when buzzer is not ON You can configure your buzzer to be in sinking or sourcing mode by selecting HIGH or LOW respectively as your Buzzer Idle state Figure 3 14 Buzzer Signal Output Enabled 3 2 7 2 Test CapSense Buttons for Buzzer Signal Output The button touch gives an audio feedback T...

Page 24: ... any LEDs mapped to HCG3 and HCG4 These GPOs use the same pins as the buzzer output By default the LEDs light up after the device is powered Note HCG3 and HCG4 are not available when the AC buzzer 2 pin is enabled When the AC buzzer 1 pin is enabled HCG4 is disabled Figure 3 15 Host Controlled GPOs GUI 3 2 8 2 Test Host Controlled GPO LEDs Drive the HCG1 and HCG2 to Low in the EZ Click tool to see...

Page 25: ...D Effects to enable the feature Select the values for different parameters such as ramp up time ramp down time high time low time high brightness low brightness and LED effect repeat rate in the At Power On tab Figure 3 17 Power On LED Effects Enabled 3 2 9 2 Test CapSense Buttons with Power On LED Effects Enabled Observe the LED effects according to the configured setting at every power cycle Fig...

Page 26: ... Config tab select the On Button Touch checkbox under LED Effects to enable the feature Select the values for different parameters such as ramp up time ramp down time high time low time high brightness low brightness and LED effect repeat rate in the On Button Touch tab Figure 3 19 Button Controlled LED Effects Enabled 3 2 10 2 Test CapSense Buttons with Button Controlled LED Effects On every butt...

Page 27: ...the following figures Note that all odd numbered pins are at the bottom half of the connector The system diagnostics feature can also be observed in the EZ Click Customizer Tool 3 2 11 2 Test System Diagnostics CapSense Button Short to Ground Follow these steps 1 Touch the power button to turn off the kit 2 Connect a wire between pin 3 and pin 5 of 44 pin expansion connector This shorts the button...

Page 28: ...roduction Testing tab in the EZ Click customizer tool starts with 0 which is linked to button 1 of the kit Similarly button 1 in the tab is mapped to button 2 of kit and so on The CapSense controller executes the System Diagnostics routine on power up and detects the sen sor to sensor short Observe a pulse of 5 ms width on the GPO 5 and GP0 2 pins which is also visible on the corresponding LEDs Th...

Page 29: ...h the power button to turn on the kit The CapSense controller executes the System Diagnostics routine on power up and detects the sen sor to Vdd short Observe a pulse of 5 ms width on the GPO 6 pin which is also visible on the cor responding LED This indicates that button 6 is shorted to Vdd The CapSense controller disables the button sensors that are shorted to ground Touch button 6 note that the...

Page 30: ...30 CY3280 MBR2 CapSense Express with SmartSense Auto Tuning Kit Guide Doc 001 71857 Rev C Kit Operation Figure 3 26 System Diagnostics GUI Shorting Button to Vdd ...

Page 31: ...pSense based power and attention buttons The kit has two status LEDs to demonstrate the direct LED control feature The CY8CMBR2110 controller supports multiple features which are discussed in the Kit Operation chapter on page 13 The CY3280 MBR2 kit has two connectors a 44 pin expansion connector and a USB IIC connector The expansion connector is used to demonstrate the SmartSense Auto Tuning featu...

Page 32: ...t VDD Ext to limit the input voltage to 6 V ESD protection is enabled for USB lines No Power Source Voltage Levels Volts Power Select Switch Position 1 AAA batteries provided with the kita a An estimated battery life of 40hrs can be achieved on an AAA pack when all blocks are turned on An estimated battery life of one year can be achieved on an AAA pack when the unit is in standby sleep 3 0 BAT 2 ...

Page 33: ... controls power to the CY8CMBR2110 chip via the GUI and USB The block consists of the CY8C24894 chip which is responsible for the USB IIC protocol conversion and power control Capsense CY8CMBR2044 Based Power Button and I2C Attn control section TWO AAA 1 5V 1280mAh Battery Test Points DNP Series Pass Switch PWR_BTN PWR_BTN PWR_ON PWR_ON_INV PWR_ON PWR_ON_INV Wake_BTN Wake Wake_BTN VDD_Ext VDD_SW V...

Page 34: ... kit can be powered from an external power supply using the VDD and GND sig nals available in the connector The kit also has output lines for host control and buzzer The IIC clock and data lines from the CY8CMBR2110 chip are also brought to this connector Note There are two pins assigned to each of GPO3 and GPO5 This is done to make expansion connector compatible to CY3280 Universal CapSense Modul...

Page 35: ... Configuration files EZ Click customizer tool is required The installation details for EZ Click customizer tool is explained in Getting Started chapter on page 9 5 1 Demonstration of Features using Sample Configuration Files Follow the steps to run the configuration files and test the features 5 1 1 Loading Configuration File 1 1 Connect the CY3280 MBR2 kit to the PC via the USB port using the USB...

Page 36: ...ations Sample Configuration 1 in the Open Project Select Project Location window 5 Double click on the Sample Configuration 1 file to open Figure 5 2 Open Configuration1 File 6 Connect the kit to the EZ Click tool using the following steps a Click on the Connect button on the Main Console tab of the EZ Click customizer tool The EZ Click will throw an error as shown Click OK on the pop up window En...

Page 37: ...reshold This feature automatically keeps an optimum finger threshold value for all the buttons 5 1 2 Loading Configuration File 2 The GUI images for the following steps are similar to 5 1 1 Loading Configuration File 1 on page 35 1 Steps 1 to 3 remains the same as mentioned 5 1 1 2 Navigate to the project directory Install_Directory Program Files Cypress CY3280 MBR2 version Sample Configurations S...

Page 38: ...ease the finger the button will go off automatically after 5 seconds Power on LED effects Observe LED effects on all the buttons upon power up Toggle Button controlled LED effects Touch any of the buttons 1 2 3 4 5 6 the corre sponding LED lights up showing a ramp in LED brightness The button will remain lit till the next touch The LED brightness ramps down to 0 on the second touch FSS Button LED ...

Page 39: ...d 0603 R5 5 1K 1 2 1206 C4 10 uFd 16v SW1 SP4T 6 4 5 2 3 1 VOUT GND NC EN GND1 VIN U1 MIC94090 SC 70 6 5 1 2 6 3 4 0603 R4 5 1K 1 2 0402 R9 560E ISSP VOLTCNT VOLTCNT VSENSE D D D D VSENSE ENABLE ENABLE VBUS VBUS VDD_Dev VBUS VBUS VDD_USB VBUS VDD_Dev VBUS VDD_Dev VBUS I2CSCL I2CSDA Wake R11 52 3K 0805 R26 22E 1 2 R22 47E 1206R D6 LED Red 2 1 1206R D7 LED Red 2 1 0402 C11 0 01 uFd 1 2 0805 R25 22E ...

Page 40: ... P1 22x2_RA_Recptacle 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 23 23 25 25 27 27 29 29 31 31 33 33 35 35 37 37 39 39 22 22 24 24 26 26 28 28 30 30 32 32 34 34 36 36 38 38 40 40 41 41 42 42 43 43 44 44 Sensor B2 CapSense Button 8mm Round 1 1206R D9 LED Red 2 1 0402 R35 560E 1206R D19 LED Red 2 1 1206R D12 LED Red 2 1 0805 R47 665 E ...

Page 41: ...sor B4 CapSense Button CIR11MM_2MM 1 Sensor B3 CapSense Button CIR12MM_1MM Sensor B3 CapSense Button CIR12MM_1MM 1 Sensor B2 Capsesnse button CIR11MM_1MM Sensor B2 Capsesnse button CIR11MM_1MM 1 Sensor B6 CapSense Button CSB14_29X7_29OBL_1MM Sensor B6 CapSense Button CSB14_29X7_29OBL_1MM 1 Sensor B1 CapSense Button CSB_10MM_RND Sensor B1 CapSense Button CSB_10MM_RND 1 Sensor B0 CapSense Button CSB...

Page 42: ...42 CY3280 MBR2 CapSense Express with SmartSense Auto Tuning Kit Guide Doc 001 71857 Rev C A 2 Board Layouts A 2 1 CY3280 MBR2 Board Primary Side ...

Page 43: ...CY3280 MBR2 CapSense Express with SmartSense Auto Tuning Kit Guide Doc 001 71857 Rev C 43 A 2 2 CY3280 MBR2 Board Secondary Side ...

Page 44: ...44 CY3280 MBR2 CapSense Express with SmartSense Auto Tuning Kit Guide Doc 001 71857 Rev C A 2 3 Power Layer ...

Page 45: ...CY3280 MBR2 CapSense Express with SmartSense Auto Tuning Kit Guide Doc 001 71857 Rev C 45 A 2 4 Ground Layer ...

Page 46: ...46 CY3280 MBR2 CapSense Express with SmartSense Auto Tuning Kit Guide Doc 001 71857 Rev C A 2 5 Flex PCB Primary Side A 2 6 Flex PCB Secondary Side ...

Page 47: ...nc SMBJ5 0CA 10 1 TVS3 IC TVS UNI DIR 5V 350W Semtech SD05 TCT 11 1 F1 POLYSWITCH 1 10A RESET FUSE SMD TE Connectivity MICROSMD110F 2 12 1 F2 POLYSWITCH 20A RESET FUSE SMD TE Connectivity MINISMDC020F 2 13 2 J1 J2 CLIP BATTERY AAA N 375X 460 SS Keystone Electronics 55TR 14 1 J3 CONN USB MINI B SMT RIGHT ANGLE TYCO 1734035 2 15 1 LS1 BUZZER AUDIO PIEZO 25V SMD CUI Inc CMT 1603 16 1 P1 CONN FMALE 44...

Page 48: ... IC PSOC 16KB FLASH 56QFN Cypress Semiconductor CY8C24894 24LFXA 38 1 U6 IC SINGLE USB PORT TVS SOT 23 6 Texas Instruments SN65220DBVR 39 1 U7 IC MCU CAPSENSE QFN32 Cypress Semiconductor CY8CMBR2110 24LQXI 40 16 R1 R8 R20 R27 R29 R30 R31 R32 R38 R41 R45 R46 R47 R48 R49 R50 RES 665 OHM 1 8W 1 0805 SMD Panasonic ECG ERJ 6ENF6650V 41 1 PCB FLEXIBLE PRINTED CIRCUIT BOARD Open Source PDC 09807 Rev03 42...

Reviews: