PSoC™ 4 Forum Discussions
HI,
I use capsense function for my company new vehicle air condition HMI product.
Some key will auto trigger in EMS test. (Fail frequency in the 10~12 MHz)
Capsense setting is manual In PSoC creator. (If set Auto some keys are too sensitive)
My key press detect code in the below.
Are there any code design suggestions under the interference of EMS?
Show Less
I don't see a max voltage range for VDDIO in the data sheet. And in Creator, cydwr shows that pin at 3.3V for some reason. Makes me wonder if VDDIO can run up to 5V (which is what I want). And of course this should be in the data sheet... or did I miss it? I looked through the Absolute Maximum Ratings section.
Show LessHi,
I have been trying to find the best method to implement a trackpad with capsense. I bought the 41xx s-series pioneer kit, and played around with the example codes and capsense tuner to see which methods had the best signal and robustness, all of this using the 7x7 capsense touchpad mounted on the kit.
I used CapSense_Touchpad_Gestures_CSX and CapSense_Touchpad_Gestures_CSD because these seemed to be the closest examples to objectively compare CSD to CSX.
I was a bit confused when I lauched the capsense tuner with the CSX code. The signal does not seem to be very robust with this method..
First, I can see a couple signal spikes popping on the screen from times to times like this, mainly from the elements in the middle of the touchpad:
1. Are those spikes normal? Is it something that can be ignored when working with CSX or are there settings in the capsense block that could help reduce the noise in the middle of the trackpad?
Then, I checked the SNR of a few sensing elements.. The SNR measurements are almost always failed with an SNR of 2-3. I even had a 1.19 SNR result with one element. It tends to be worse in the middle of the trackpad. On the sides, it often fails to but I managed to get an sNR of 6 and another of 10 with two elements!
2. Is this something I should worry about if I decide to use a CSX touchpad in a custom application? And is there a reason why the pioneer kit design with an example does not reach a satisfying SNR?
The CSD version of the code was a little better. I had SNRs below 5 too, so they failed the SNR tests, but elements had results around 4:
Another weird thing is when I tried with a different example code: CE216892 USB-HID Trackpad. This one uses CSD, but results are very impressive and I can get SNRs of around 20 to 30!! And if I wait a few seconds without touching before running the SNR noise test, the noise drops to 0 and I get an SNR of over 600!!!
Here are some graphs:
On the right, I started acquiring noise not too long after touching the element, so there was some residual noise but after a few seconds the noise flattened. This gave me an SNR of 20-30. But at left, I waited for the "residual noise" (or whatever it is?) to disappear before running the noise acquisition. In that case, I had an SNR of 608!
3. What explains such a big difference in the quality of signal between the two CSD programs?? both run on a 7x7 touchpad. And would it be possible to replicate the feature where the noise just disappears at one point with CSX? I believe high noise is the main reason why I cannot get a high enough SNR with CSX so far.
Thank you so much for your time!
Show LessHello friends!
I'm recently exposed to the PSoC environment, and I'm currently working on a project that involves using the RC522 module with PSoC pioneery kit 4.
I have thoroughly looked through these two posts in which people have tried to make the RC522 work with the PSoC 4. I have tried to incorporate their suggestions but still couldn't get any successful read of the UID. If you have successfully extract the UID, I would really appreciate your guidance in trying to get my system to work.
I have included my project in the attachments.
Re: RFID-RC522 with PSOC4 verification system
Show LessHi Cypress community,
Please I would like to get help for getting a C code as a CY_ISR function or a piece of code in the for(;;) loop that implements the counter capture method
for pulse width measurement with a PSoC 4 counter as illustrated in the following pictures:
Please Cypress tutorial examples for PSoC 4 devices - 4200L on my kit - or an expert who could show how to use
the counter API functions for switching the type of interrupts in this application.
Thank you for your help,
Dan Radut
Suppose you designed and manufactured a board, inspired by the design of the Pionner Kit. Your intention is to integrate your custom peripheral board directly with a CYBLE-214009-EVAL board and make profit by selling it as a single product which will be used in industrial environment.
Now, the questions:
1) Is that legal?
2) Is the CYBLE module of such eval board an industrial grade one?
3) Is there other risks associated with the use of such composition in the field?
Thanks in advance
--Wendell
Show LessHardware Required - CY8CKIT-145-40XX development kit with PSoC 4000S chip, Oscilloscope for testing
Software Required - PSoC Creator 4.2
Summary - This project shows a simple approach on how to obtain a delayed signal using SmartIO component in PSoC4. In this project, LUT of SmartIO is used to buffer the signal.
I tested this project on CY8CKIT-145-40XX development kit which has PSoC 4000S micro-controller on it. The LUT is configured in Registered output mode. SmartIO input is Synchronous. I have used a PWM to generate input signal. I have configured the PWM to generate a square wave of 10kHz frequency so that clock frequency of SmartIO is considerably higher compared to input frequency (SmartIO clock frequency is 5MHz). One important parameter we should know for this implementation is the maximum frequency of input signal. We can not buffer an input signal with higher frequency than the clock given to SmartIO.
I have attached PSoC Creator project. Also, I have attached a screenshot of testing on Oscilloscope. In the image, blue line indicates input of SmartIO and yellow line indicates the output signal. It can be observed that output is delayed by 500ns compared to input signal.
Question - The delay observed between input signal and output signal is 500ns. As per LUT configuration, signal is buffered by one clock cycle. Input clock for SmartIO component is 5MHz. So, I expect a delay of (200ns + some small additional delay due to signal propagation) between input and output signal. Why do I see 500ns delay between input and output signal in this case, which is more than double of one clock period? Can anyone help me understand this?
Show LessHi,
This is announcement of the new custom component, Pins Annotation v0.0, which facilitates PSoC pins configuration. It identifies terminals with direct access to PSoC internal hardware and graphically displays pin configuration.
Pins Annotation component for PSoC5 and PSoC4
odissey1
Show Less
Hello,
I can't program a Psoc4 microcontroller (CY8C4014LQI-422) with a different MCU (different from Cypress). I followed the Application notes AN84858 but I can't "Acquire the device": I receive 0x07 value on "swd_PacketAck" in about 3msec after start (I mean, the program fails on "Read_IO (TEST_MODE, &status);" but, for example, if I use a slower clock (12MHz) I receive the same error in a previous step.. always after about 3 msec from reset.
I wrote same code with same clock using a board with Psoc4-BLE as a programmer and everithing is working fine, I can re-progam my microcontroller.. this is a mistery for me.. I wanted to know if samething happens on Psoc4 after 3 msec since reset pin go high?
Thanks in advance,
Fabri
Show LessHi,
I have a simple project that just uses a UART and Timer and several IO pins but I cannot compile as it has run out of UDB resources.
The timer just needs to prove a 1ms interrupt but I am having trouble getting it to run.
I have attached my project.
Would be good if there was a method to generate 1ms timer int with less resources.
Any help much appreciated.
Show Less