SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Ähnlich wie Configuring CapSense Express in Production

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
 

Ähnlich wie Configuring CapSense Express in Production (20)

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
 
English Resume
English ResumeEnglish Resume
English Resume
 

Kürzlich hochgeladen

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 

Kürzlich hochgeladen (20)

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 

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