- Silicon Labs Community
- Welcome and Announcements
- Silicon Labs Knowledge Base
- 8-bit MCU
- 32-bit MCU
- Bluetooth / Wi-Fi
- Other Products Category
- Optical/RH/Temp Sensor
- Other Products
- Hardware and Software Tools
- Simplicity Studio and Software
- General Discussions and Suggestions
- Chinese Forum
- Software Libraries
- Development Kits
- Reference Designs
- Third Party Tools
- White Papers
- Official Blog of Silicon Labs
- Chinese Blog
08-26-2017 12:52 PM - last edited on 08-29-2017 03:10 AM by Siliconlabs
Can one of the OUTxx pins be programmed to toggle on/off when the corresponding CSxx sense input is activated? I need to implement a "turn-on / turn-off" function without a micro on the board.
08-27-2017 08:52 PM
Do you mean you need the pin to toggle (out a signal like PWM) when the touch was activated (a button pressed)?
CPT007B is fixed function device and you could not configure it to work like this.
08-27-2017 09:00 PM
Thank you -
No, not a PWM. I need a "touch ON / touch OFF" operation, like a mechanical switch would do.You should consider adding that feature to future parts, or make new versions of the existing parts that can do it. Seems like it would be very useful for some applications.
I'll need to add flip-flops I guess.
08-28-2017 12:09 AM
Do you mean below feature:
1. touch the button,
2. the pin out would be high level.
3. release the button.
4. touch the button again.
5. the pin out would be low level.
6. release the button.
7 touch button again.
8. you would expect the pin out be high level again.
If this is your requirement, I don't think CPT007B would meet your requirement without external component.
For the CPT007B, the results of the capacitive sensing touch qualification engine are communicated through a set of digital output pins.
If a capacitive sensing input has qualified an active event, the corresponding output pin will be set to its active state. If the input has qualified a release event is inactive, the corresponding output pin will be set to its inactive state. So the host processor can just detect the output pins' status of CPT007B.
If possible I will suggest to adopt Silabs' EFM8SB1 to implement your project.