SlideShare a Scribd company logo
1 of 3
Configuring CapSense Express in Production

                                                                                                                AN44203
                                                                                              Author: Pramodh Prakash
                                                                                                 Associated Project: No
                                                                                    Associated Part Family: CY8C201xx
                                                                                            GET FREE SAMPLES HERE
                                                                                  Software Version: PSoC Express™ 3.0
                                                                                 Associated Application Notes: AN42137

Application Note Abstract
This application note explains the different ways of configuring CapSense Express™ devices during production.



 O
Introduction                                                          Configuring CapSense Express
CapSense Express supports IOs configurable as                         To configure the CapSense Express device, use any of
capacitive sensing inputs. It also supports GPIOs for LED             the following methods:
drive, interrupt output, wakeup on interrupt input, and
                                                                           1.   Host controller (on power up)
other digital IO functionality. CapSense Express devices
are offered as register configurable parts with these                      2.   External memory (on power up)
functions. All the parameters governing the performance
                                                                           3.   Module tester
of these functions are configured by writing to their
                                                     I2C™
corresponding      device       registers   using                          4.   Distributors
communication.
                                                                      Host Controller
An easy to use software tool is available for quick design
                                                                      This method is used when the CapSense Express device
of CapSense Express devices to suit different application
                                                                      is part of the host controller’s board.
needs. This tool is supported in PSoC Express™ 3.0. The
final step in the design process using this tool is to                The .IIC file generated by the software tool is embedded in
generate the I2C data stream (.IIC file), which corresponds           the host controller’s startup or power up routine. Refer to
to the configuration settings. The data stream is                     application note AN44207, API for Register Configuration
downloaded to the device and configured to the desired                to understand how the I2C data stream is embedded in
functionality.                                                        the host controller’s code and communicates with the
                                                                      CapSense Express device.
This application note describes different ways of
downloading the I2C configuration data stream to the                  Figure 1. Configure Using Host Controller
CapSense Express device in the final production boards.

CapSense Express Configuration
The I2C configuration file (.IIC) consists of I2C commands
for the desired configuration. These commands include
the register address and data that is written to the register.
The I2C commands are sent to the CapSense Express                     When the host controller board is powered, the controller
device to write the configuration data to the corresponding           sends the I2C commands over the I2C interface to
device registers.                                                     configure the CapSense Express device. The device acts
                                                                      as an I2C slave device and receives I2C commands at 50
Refer to the application note AN42137, for details on using
                                                                      kHz, 100 kHz, and 400 kHz.
the PSoC Express 3.0 software tool to configure a
CapSense Express device and generate the I2C                          When using this method, take care of the device POR
configuration file.                                                   settings and I2C timing. Refer to the device data sheets
                                                                      for POR specifications and application note AN44208 for
                                                                      I2C timing details.




January 29, 2008                                   Document No. 001-44203 Rev. **                                             1



                                                                                                                                    [+] Feedback
AN44203




External Memory                                                   Module Tester
This method is used when the CapSense Express device              This method is used when the CapSense Express device
is a part of the host controller’s board or on a separate         is on a separate module board, which is integrated with
module board.                                                     the host controller board.
If the host controller board uses an external memory such         A module tester tests the functionality of any module
as EEPROM to store configuration settings and controller          board integrated with a host controller board. The module
parameters, use the same non-volatile external memory to          tester checks all devices mounted on the module for
store I2C configuration data for the CapSense Express             proper electrical and functional behavior.
device.
                                                                  Figure 4. Configure on a Separate Module Using Module
Figure 2. Configure Using External Memory                         Tester




                                                                  When a CapSense Express device is mounted on a
                                                                  module board, the module tester sends the I2C data
On power up, the host controller reads the I2C commands           stream to the device. The module board is then integrated
from external memory. It then sends these commands to             with the host controller board and the CapSense Express
the CapSense Express device to configure it for the               device wakes up with the desired configuration whenever
desired functionality. External memory devices support            the module is powered.
serial interfaces such as I2C, SPI, and MicroWire among
                                                                  Distributors
others. Therefore, these devices are used to communicate
                                                                  This method is used to configure the CapSense Express
with the CapSense Express devices for configuration.
                                                                  device by the distributors, using third party programming
Figure 3. Configure on a Separate Module Using External           tools.
Memory
                                                                  Several third party programming tools are used to program
                                                                  non-volatile memories such as EEPROM, FLASH, and
                                                                  Microcontrollers. These tools support the necessary
                                                                  interfaces to program these devices. Therefore, CapSense
                                                                  Express, which uses I2C interface for configuration and
                                                                  communication, is supported by the third party tools for
                                                                  configuring in production.

                                                                  Summary
                                                                  CapSense Express devices are configurable parts that
To configure a CapSense Express device, which is on a
                                                                  support registers used to configure all the parameters
separate module and is integrated with the host controller
                                                                  controlling the performance of the offered functionalities.
board, an external memory on the module is used on
                                                                  These registers are configured in production boards using
power up.
                                                                  the host controller, an external memory, a module tester,
                                                                  or a third party programming tool depending on where and
                                                                  how the CapSense Express device is used in the end
                                                                  system.




January 29, 2008                               Document No. 001-44203 Rev. **                                             2



                                                                                                                                [+] Feedback
AN44203




About the Author
 Name:                Pramodh Prakash
 Title:               Applications Engineer
 Contact:             tup@cypress.com




PSoC is a registered trademark of Cypress Semiconductor Corp. quot;Programmable System-on-Chip,quot; PSoC Designer, and PSoC Express are
trademarks of Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced herein are the property of their
respective owners.




                                                                                                                                 Cypress Semiconductor
                                                                                                                                    198 Champion Court
                                                                                                                               San Jose, CA 95134-1709
                                                                                                                                   Phone: 408-943-2600
                                                                                                                                       Fax: 408-943-4730
                                                                                                                                http://www.cypress.com/


© Cypress Semiconductor Corporation, 2008. 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.
This 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 software and or firmware in support of licensee product to be used only in conjunction with a Cypress
integrated circuit as specified 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 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 expected to result in significant injury to the user. The inclusion of Cypress’ 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.




January 29, 2008                                           Document No. 001-44203 Rev. **                                                                3



                                                                                                                                                               [+] Feedback

More Related Content

Viewers also liked

York College Viewbook
York College ViewbookYork College Viewbook
York College ViewbookReisman
 
LA GUARDIA FLATS (Economic Condo) - Lahug, Cebu City
LA GUARDIA FLATS (Economic Condo) - Lahug, Cebu CityLA GUARDIA FLATS (Economic Condo) - Lahug, Cebu City
LA GUARDIA FLATS (Economic Condo) - Lahug, Cebu Cityguest4cfe3b
 
Rural Retail retailing itc limited e choupal rajnish kumar
Rural Retail retailing itc limited e choupal rajnish kumarRural Retail retailing itc limited e choupal rajnish kumar
Rural Retail retailing itc limited e choupal rajnish kumarrajnish kumar
 
тп часть2
тп часть2тп часть2
тп часть2AkifievaLV
 
Mw Mobile Advertising Campaigns Strategies For Sucessful Campaigns And Self S...
Mw Mobile Advertising Campaigns Strategies For Sucessful Campaigns And Self S...Mw Mobile Advertising Campaigns Strategies For Sucessful Campaigns And Self S...
Mw Mobile Advertising Campaigns Strategies For Sucessful Campaigns And Self S...Asif Ali
 
Saint Lucia hazardous to your health
Saint Lucia hazardous to your healthSaint Lucia hazardous to your health
Saint Lucia hazardous to your healthjohn dorman
 
HOUSES IN Lombardi, TALISAY
HOUSES IN Lombardi, TALISAYHOUSES IN Lombardi, TALISAY
HOUSES IN Lombardi, TALISAYguest4cfe3b
 
iPhone Fast Mockups
iPhone Fast MockupsiPhone Fast Mockups
iPhone Fast MockupsAlfrescoUE
 
Powell On Leadership.Pps
Powell On Leadership.PpsPowell On Leadership.Pps
Powell On Leadership.PpsChris Hiltz
 

Viewers also liked (14)

York College Viewbook
York College ViewbookYork College Viewbook
York College Viewbook
 
Rony
RonyRony
Rony
 
Thailand The Queen Gardens
Thailand The Queen GardensThailand The Queen Gardens
Thailand The Queen Gardens
 
LA GUARDIA FLATS (Economic Condo) - Lahug, Cebu City
LA GUARDIA FLATS (Economic Condo) - Lahug, Cebu CityLA GUARDIA FLATS (Economic Condo) - Lahug, Cebu City
LA GUARDIA FLATS (Economic Condo) - Lahug, Cebu City
 
Insalata Di Rinforzo
Insalata Di RinforzoInsalata Di Rinforzo
Insalata Di Rinforzo
 
Rural Retail retailing itc limited e choupal rajnish kumar
Rural Retail retailing itc limited e choupal rajnish kumarRural Retail retailing itc limited e choupal rajnish kumar
Rural Retail retailing itc limited e choupal rajnish kumar
 
тп часть2
тп часть2тп часть2
тп часть2
 
T[1]. Zuid Afrika
T[1]. Zuid AfrikaT[1]. Zuid Afrika
T[1]. Zuid Afrika
 
Mw Mobile Advertising Campaigns Strategies For Sucessful Campaigns And Self S...
Mw Mobile Advertising Campaigns Strategies For Sucessful Campaigns And Self S...Mw Mobile Advertising Campaigns Strategies For Sucessful Campaigns And Self S...
Mw Mobile Advertising Campaigns Strategies For Sucessful Campaigns And Self S...
 
Saint Lucia hazardous to your health
Saint Lucia hazardous to your healthSaint Lucia hazardous to your health
Saint Lucia hazardous to your health
 
HOUSES IN Lombardi, TALISAY
HOUSES IN Lombardi, TALISAYHOUSES IN Lombardi, TALISAY
HOUSES IN Lombardi, TALISAY
 
iPhone Fast Mockups
iPhone Fast MockupsiPhone Fast Mockups
iPhone Fast Mockups
 
myResumep
myResumepmyResumep
myResumep
 
Powell On Leadership.Pps
Powell On Leadership.PpsPowell On Leadership.Pps
Powell On Leadership.Pps
 

Similar to Configuring CapSense Express in Production

Verilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC ProcessorVerilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC ProcessorIJERA Editor
 
FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...
FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...
FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...IJERA Editor
 
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIMAn Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIMjournalBEEI
 
ESM Installation Guide (ESM v6.9.1c)
ESM Installation Guide (ESM v6.9.1c)ESM Installation Guide (ESM v6.9.1c)
ESM Installation Guide (ESM v6.9.1c)Protect724tk
 
[Android Codefest Germany] Adding x86 target to your Android app by Xavier Ha...
[Android Codefest Germany] Adding x86 target to your Android app by Xavier Ha...[Android Codefest Germany] Adding x86 target to your Android app by Xavier Ha...
[Android Codefest Germany] Adding x86 target to your Android app by Xavier Ha...BeMyApp
 
Pandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS
 
esp32-complex-waveform-generator-v2.pdf
esp32-complex-waveform-generator-v2.pdfesp32-complex-waveform-generator-v2.pdf
esp32-complex-waveform-generator-v2.pdfDaniel Donatelli
 
Rohan Narula_Resume
Rohan Narula_ResumeRohan Narula_Resume
Rohan Narula_ResumeRohan Narula
 
Rishikesh Sharma Portfolio
Rishikesh Sharma PortfolioRishikesh Sharma Portfolio
Rishikesh Sharma Portfoliosharmarishikesh
 
16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)Susam Pal
 
IDF_Eclipse_Plugin_EclipseCon2020_v2.pdf
IDF_Eclipse_Plugin_EclipseCon2020_v2.pdfIDF_Eclipse_Plugin_EclipseCon2020_v2.pdf
IDF_Eclipse_Plugin_EclipseCon2020_v2.pdfKondal Kolipaka
 
DESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOC
DESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOCDESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOC
DESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOCIRJET Journal
 
Sys cat i181e-en-07+sysmac studio
Sys cat i181e-en-07+sysmac studioSys cat i181e-en-07+sysmac studio
Sys cat i181e-en-07+sysmac studioMaulana Kharis
 
CV of Douglas Wendelboe
CV of Douglas WendelboeCV of Douglas Wendelboe
CV of Douglas Wendelboedwendelboe
 
Rodrigo Almeida - Microkernel development from project to implementation
Rodrigo Almeida - Microkernel development from project to implementationRodrigo Almeida - Microkernel development from project to implementation
Rodrigo Almeida - Microkernel development from project to implementationFelipe Prado
 

Similar to Configuring CapSense Express in Production (20)

Verilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC ProcessorVerilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC Processor
 
FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...
FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...
FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...
 
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIMAn Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
 
ESM Installation Guide (ESM v6.9.1c)
ESM Installation Guide (ESM v6.9.1c)ESM Installation Guide (ESM v6.9.1c)
ESM Installation Guide (ESM v6.9.1c)
 
Tos tutorial
Tos tutorialTos tutorial
Tos tutorial
 
[Android Codefest Germany] Adding x86 target to your Android app by Xavier Ha...
[Android Codefest Germany] Adding x86 target to your Android app by Xavier Ha...[Android Codefest Germany] Adding x86 target to your Android app by Xavier Ha...
[Android Codefest Germany] Adding x86 target to your Android app by Xavier Ha...
 
Pandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modules
 
esp32-complex-waveform-generator-v2.pdf
esp32-complex-waveform-generator-v2.pdfesp32-complex-waveform-generator-v2.pdf
esp32-complex-waveform-generator-v2.pdf
 
Rohan Narula_Resume
Rohan Narula_ResumeRohan Narula_Resume
Rohan Narula_Resume
 
Rishikesh Sharma Portfolio
Rishikesh Sharma PortfolioRishikesh Sharma Portfolio
Rishikesh Sharma Portfolio
 
16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)
 
IDF_Eclipse_Plugin_EclipseCon2020_v2.pdf
IDF_Eclipse_Plugin_EclipseCon2020_v2.pdfIDF_Eclipse_Plugin_EclipseCon2020_v2.pdf
IDF_Eclipse_Plugin_EclipseCon2020_v2.pdf
 
DESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOC
DESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOCDESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOC
DESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOC
 
Embedded
EmbeddedEmbedded
Embedded
 
esunit1.pptx
esunit1.pptxesunit1.pptx
esunit1.pptx
 
Sys cat i181e-en-07+sysmac studio
Sys cat i181e-en-07+sysmac studioSys cat i181e-en-07+sysmac studio
Sys cat i181e-en-07+sysmac studio
 
CV of Douglas Wendelboe
CV of Douglas WendelboeCV of Douglas Wendelboe
CV of Douglas Wendelboe
 
513 516
513 516513 516
513 516
 
Introduction to Microcontrollers
Introduction to MicrocontrollersIntroduction to Microcontrollers
Introduction to Microcontrollers
 
Rodrigo Almeida - Microkernel development from project to implementation
Rodrigo Almeida - Microkernel development from project to implementationRodrigo Almeida - Microkernel development from project to implementation
Rodrigo Almeida - Microkernel development from project to implementation
 

Recently uploaded

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 

Recently uploaded (20)

The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 

Configuring CapSense Express in Production

  • 1. Configuring CapSense Express in Production AN44203 Author: Pramodh Prakash Associated Project: No Associated Part Family: CY8C201xx GET FREE SAMPLES HERE Software Version: PSoC Express™ 3.0 Associated Application Notes: AN42137 Application Note Abstract This application note explains the different ways of configuring CapSense Express™ devices during production. O Introduction Configuring CapSense Express CapSense Express supports IOs configurable as To configure the CapSense Express device, use any of capacitive sensing inputs. It also supports GPIOs for LED the following methods: drive, interrupt output, wakeup on interrupt input, and 1. Host controller (on power up) other digital IO functionality. CapSense Express devices are offered as register configurable parts with these 2. External memory (on power up) functions. All the parameters governing the performance 3. Module tester of these functions are configured by writing to their I2C™ corresponding device registers using 4. Distributors communication. Host Controller An easy to use software tool is available for quick design This method is used when the CapSense Express device of CapSense Express devices to suit different application is part of the host controller’s board. needs. This tool is supported in PSoC Express™ 3.0. The final step in the design process using this tool is to The .IIC file generated by the software tool is embedded in generate the I2C data stream (.IIC file), which corresponds the host controller’s startup or power up routine. Refer to to the configuration settings. The data stream is application note AN44207, API for Register Configuration downloaded to the device and configured to the desired to understand how the I2C data stream is embedded in functionality. the host controller’s code and communicates with the CapSense Express device. This application note describes different ways of downloading the I2C configuration data stream to the Figure 1. Configure Using Host Controller CapSense Express device in the final production boards. CapSense Express Configuration The I2C configuration file (.IIC) consists of I2C commands for the desired configuration. These commands include the register address and data that is written to the register. The I2C commands are sent to the CapSense Express When the host controller board is powered, the controller device to write the configuration data to the corresponding sends the I2C commands over the I2C interface to device registers. configure the CapSense Express device. The device acts as an I2C slave device and receives I2C commands at 50 Refer to the application note AN42137, for details on using kHz, 100 kHz, and 400 kHz. the PSoC Express 3.0 software tool to configure a CapSense Express device and generate the I2C When using this method, take care of the device POR configuration file. settings and I2C timing. Refer to the device data sheets for POR specifications and application note AN44208 for I2C timing details. January 29, 2008 Document No. 001-44203 Rev. ** 1 [+] Feedback
  • 2. AN44203 External Memory Module Tester This method is used when the CapSense Express device This method is used when the CapSense Express device is a part of the host controller’s board or on a separate is on a separate module board, which is integrated with module board. the host controller board. If the host controller board uses an external memory such A module tester tests the functionality of any module as EEPROM to store configuration settings and controller board integrated with a host controller board. The module parameters, use the same non-volatile external memory to tester checks all devices mounted on the module for store I2C configuration data for the CapSense Express proper electrical and functional behavior. device. Figure 4. Configure on a Separate Module Using Module Figure 2. Configure Using External Memory Tester When a CapSense Express device is mounted on a module board, the module tester sends the I2C data On power up, the host controller reads the I2C commands stream to the device. The module board is then integrated from external memory. It then sends these commands to with the host controller board and the CapSense Express the CapSense Express device to configure it for the device wakes up with the desired configuration whenever desired functionality. External memory devices support the module is powered. serial interfaces such as I2C, SPI, and MicroWire among Distributors others. Therefore, these devices are used to communicate This method is used to configure the CapSense Express with the CapSense Express devices for configuration. device by the distributors, using third party programming Figure 3. Configure on a Separate Module Using External tools. Memory Several third party programming tools are used to program non-volatile memories such as EEPROM, FLASH, and Microcontrollers. These tools support the necessary interfaces to program these devices. Therefore, CapSense Express, which uses I2C interface for configuration and communication, is supported by the third party tools for configuring in production. Summary CapSense Express devices are configurable parts that To configure a CapSense Express device, which is on a support registers used to configure all the parameters separate module and is integrated with the host controller controlling the performance of the offered functionalities. board, an external memory on the module is used on These registers are configured in production boards using power up. the host controller, an external memory, a module tester, or a third party programming tool depending on where and how the CapSense Express device is used in the end system. January 29, 2008 Document No. 001-44203 Rev. ** 2 [+] Feedback
  • 3. AN44203 About the Author Name: Pramodh Prakash Title: Applications Engineer Contact: tup@cypress.com PSoC is a registered trademark of Cypress Semiconductor Corp. quot;Programmable System-on-Chip,quot; PSoC Designer, and PSoC Express are trademarks of Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced herein are the property of their respective owners. Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone: 408-943-2600 Fax: 408-943-4730 http://www.cypress.com/ © Cypress Semiconductor Corporation, 2008. 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. This 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 software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified 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 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 expected to result in significant injury to the user. The inclusion of Cypress’ 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. January 29, 2008 Document No. 001-44203 Rev. ** 3 [+] Feedback