PSoC™ 4 Forum Discussions
Hello,
in my application I use CY8CMBR3116-LQXI with two buttons, guard and shield usage, no proximity, no slider. TouchController and my Host MCU are connected via i2c and interrupt line. So when button status change is recognized, interrupt line is driven and button status is read out by my host controller. Host controller resets touchController every two seconds and autotuning is activated, due to environmental changes (outside application). If touch activity occurs, periodic two-seconds-reset is skipped for 60 seconds. I have some a few mm overlay and a small air gap. Not best conditions, but working in principle.
Noticed behaviour of touch functionality is as follows:
- after first successful recognition of one of the two touch buttons, all following touch activities are recognized well
- after approx. several minutes without interaction, one have to press longer (about 1-3 seconds) to achieve first touch recognition
(1)
So it seems as if touchController is in kind of "sleep mode". Since our application has own power supply unit, sleep mode is not needed.
According to Operating Modes described in CY8CMBR3xxx Design Guide Section 7.1, we have stateTimeout configured to 10 seconds. As controller is reset every two seconds, it should never reach DeepSleep.
(2)
From design_toolbox excel sheet, section "Cp, Power Consumption Calculator" I learned, deactivating IIR Filter and Median Filter and reducing Debounce as well as low scan period decreases "Response time for first button touch". Is it right direction I am heading for?
However, my config is:
- IIR = Median = enabled
- Debounce = 3
- ScanPeriod = 50 counts/0.1 pF
Changing these values to IIR=Median=disabled and debounce=1 do not solve my issue.
Which parameters should I change to decrease response time for first button touch?
Is it helpful when I provide data from ez-click CapSense output? Which data do you need?
Best regards
Show LessHello, while trying to write a code for a simple capsense button, I am not able to find capsense_setparam, and such other keywords required for capsense pushbutton (It is not available in drop down list). Is it required to add any missing file or something like that?
Thanks in advance.
Show LessHI,
I have been working on a project using PSoC4 and RF modules NTX0 and NRX0 (27Mhz), I have to send a data byte and receive it at the receiver.
I am attaching my project, please have a look and let me know how to;
1.Set the RSSI according to the threshold using ADC
2.Show the communication using Putty?
Thank you,
Arshiya Tabassum
Show LessI have a PCB board with a CYBLE_222014-01 chip and two buttons on it. Currently, when both buttons are released, a sound is played. When you push both buttons back down, the sound is stopped. The button's press and release triggers an interrupt within cy_pins.
I would like to be able to put the chip into sleep, deep sleep, and hibernate, as needed. However, I have tested using the sleep modes for power consumption purposes, but now need to be able to pull the device out of the sleep modes when the buttons are pressed.
From what i've read, I need to be using a Watch Crystal Oscillator to achieve anything in deep sleep mode, so i'm thinking I should use WCO instead of ILO, if i can.
Can someone please explain the steps to achieve my goal? As a head's up, i'm extremely new to using PSoC creator, and I don't typically work with firmware, so please speak in terms that are as simple as possible. Thanks in advance!
Show Less
Hello everyone
I am using two PSoC 4 CY8CKIT-042 and some of the radiometeix RF elements such as NTX0 and NRX0. I’m using UART in both PSoC devices. I need both the boards to serially communicate and have to show result in Putty. Like if open two COM ports in putty, and type data from transmitter board it must be communicated in the receiver COM port in PUttY.
Can you kimdly post post the entire workspace or project if anyone has done it please. It would be of great help. nmit user_342122993arshiyat17_3438896rzzh@
Show LessHello.
I am a student using PSOC4 BLE KIT. I'd like to apply a simple LED operation.
If I send you a data using Cysmart app by adding a service to BLE, I would like to send a to Aduino via UART to operate in Aduino. How could it not proceed in the source code?
Can you give me a hand?
I have attached a photo to make it easier to understand
Show Less
I start discovering my characteristics with CyBle_GattcDiscoverAllCharacteristics() and get to the CYBLE_EVT_GATTC_READ_BY_TYPE_RSP event.
charReport = (CYBLE_GATTC_READ_BY_TYPE_RSP_PARAM_T *) EventParam;
charHandle = charReport->attrData.attrValue[3] | (charReport->attrData.attrValue[4] << 8);
from code examples I can deduce the handle is in:
charReport->attrData.attrValue[3] | (charReport->attrData.attrValue[4]
and the UUID follows in charReport->attrData.attrValue[5] onwards, but is there any documentation on how the data is packed?
Show Less