PSoC™ Creator & Designer Forum Discussions
Hi Community,
I'm working on Touch Switch Application using CY8C4245-AXI Microcontroller. I already Created the Application for Single Touch Algorithm. It didn't created an Issue. Moving Ahead, I actually wants to Perform different task when Double Tapped on particular Touch Sensor.
On a conclusion, I'm about to use a Timer/Counter to actually implement a timeout for Double Tap.
I've a pseudo code for the same that I'll be sharing it Here. Please assist me with the best I can do to implement this on my Project.
Tons of Thanks to Beautiful & Active Community and Their Support
Show Less
I would like to hire someone to complete a client program to connect with a
server program I have working now. I am using PSoc4 and a CY8CKIT-042 pioneer kit.
Is this possible to get help with this project thru this platform? Should not take a long time for the right person.
David Hoffman
Hagenhoff LLC 330-477-3019
Show LessHello People helper
I have a problem with Update manager not appearing in "C:\Program Files (x86)\Cypress\PSoC Creator\4.4\" or in sub files Updater, at the same time i cannot find a Target in Debug->Select a Target function in the program. I have attached two pic to show also.
I have tried to follow another question but dindt help: https://community.infineon.com/t5/PSoC-Creator-Designer/Creator-4-4-Problem-with-update-manager-and-debug-target-Error-fmk-M0027/td-p/267022
Pls Help 🙂
Thomas
Ps
I can build a program though, but i have reinstalled the program 7-10 times allready due to other problems:(
Show LessHello im new to the PsoC Creator program, since summerbreak is over i have to learn how to use the UART with CY8CKIT-059, and when i create a new project and add UART to cysch file, i get the following errors when building (see attached pic), i dont if these erros come if i remove the UART from the cysch file, but if someone knows anything pls help
Show LessHi Community,
Recently I had an issue with my CY8C4245-AXI Controller on which I had Implemented a Project for CapSense(Basically Touch Switch). The problem is Switch gets turn on and off automatically(False Triggering) after some time. I referred to the CapSense Datasheet from CapSense Component. I want to know How can I use Calibartion API according to my Algorithm built.
PS: I have put Touch Threshold less sensitive according to the need of the Client.
Show Less
There is a recurring problem in customer base, need for a unique silicon die
ID for each chip. This is not a Device ID, as currently implemented. Something
akin to this
Would it be possible to implement thru programmer ? All PSOC Families ? Auto generated, say off a tax number, GPS
coordinates, or IP group number, something unique to the customer. Even a Cypress seed for those who are consultants,
the generated serial # stored in FLASH or EEPROM, and then protected as read only during programming.
Regards, Dana.
Show LessHello all,
as in my previous post, I am currently trying to refactor my source code.
For example, I have two apps in my main function that do two different tasks and each access the same headers, variables, etc. I'm trying to rewrite my source code.
In the main function, one app or the other is started on the basis of a #defines NORMAL_MODE.
#include "main.h"
/* Function Prototypes */
void SysTickISRCallback(void);
CY_ISR_PROTO(Timer_Int_Handler);
CY_ISR_PROTO(uart_int_Handler);
void app_main(void);
//void app_kalbirierfahrt(void);
int main()
{
/* Start SCB (UART mode) operation 3*/
UART_Start();
Timer_Int_StartEx(Timer_Int_Handler);
Timer_Start();
uart_int_StartEx(uart_int_Handler);
while(1){
#ifdef NORMAL_MODE
app_main();
#else
app_kalibrierfahrt();
#endif
}
}
If I now try to compile the project, then logically errors occurs, as some variables have multiple definitions etc.
.\CortexM0p\ARM_GCC_541\Debug\app_calibration_drive.o:(.bss+0x4): multiple definition of `command_receive'
.\CortexM0p\ARM_GCC_541\Debug\main.o:(.bss+0x4): first defined here
.\CortexM0p\ARM_GCC_541\Debug\app_calibration_drive.o:(.bss+0x5): multiple definition of 'runflag'
.\CortexM0p\ARM_GCC_541\Debug\main.o:(.bss+0x5): first defined here
etc.
What is the best way to handle this? I would like to pass a hardware argument when compiling that it should compile either the App_a or the App_b and exclude the other source file. But I don't know how to do that. Is it possible to add user commands in the "Build Settings" under the ARM GCC option to exclude one source file, when I am building the project?
Best Regards
Michael
Show Less
Hi, I'm beggineer in psoc.
I've been trying to make sure the ultrasonic sensor works, without using CyDelay and using interrupts, but it doesn't work correctly, any help? I'm using Cy8ckit-050.
#include "project.h"
uint16 cuenta,i;
float distancia=0.0;
CY_ISR(ISR_ECHO){ //
echo_ClearInterrupt();
if(echo_Read()==1){
Timer_Start();
}
else if(echo_Read()==0){
i=Timer_ReadCounter();//
cuenta=65535-i;//
distancia=cuenta/58.0;//Calculate Distance
Timer_Stop();//Stop Timer
Timer_ReadStatusRegister();//Reset Timer
}
}
int main(void)
{
ISR_echo_StartEx(ISR_ECHO);
CyGlobalIntEnable;
PWM_Start();
Salida_Write(0);// Off LED
for(;;)
{
if(distancia<10.0){
Salida_Write(1);// On LED
}
else{
Salida_Write(0);// Off LED
}
}
}
Hi,
I'm debugging a project using PSoC Creator 4.4 and Mini prog4 and something is wrong.
for example:
if (buffer [0] == 0x0A && buffer [1] == 0x0B)
{
// Inserting a breakpoint here and adding to watch the buffer the data is different from 0x0A and 0x0B
}
Any idea?
Thanks
Show Less
Hi Community, I'm actually facing an issue where my Flash memory gets Corrupted and the Functions stops even working. I've a CapSense application where The LED Powers up and functions according to the touch. But after sometime This completely gets Off. Even after powering it, The LED Doesn't even glow and in result "I flash it again" which in result works for a short time. Is it Really a Flash Memory issue ?
:: I'm using Cypress CY8C4245AXI-483 Chip
Show Less