PSoC™ Creator & Designer Forum Discussions
Hi everyone,
I am using CY8CKIT-062-BLE kit, PSoC Creator 4.2 (4.2.0.641)
My idea is using CM4 core to capture GPIO interrupt (SW2 button), set a flag variable then using CM0 to do something (such LED toggling...) when this flag variable is set.
GPIO Int is handled by CM4 core, so that I MUST place "User_GPIO.c" file in CM4 folder (otherwise i got error with variable &SysInt_Switch_cfg).
In this "User_GPIO.c" I created 2 functions: User_SetVal_Pin_SW2_Int_Flag(), and User_GetVal_Pin_SW2_Int_Flag() to clear and get value of that interrupt flag, respectively. Their prototypes are also declared in "User_GPIO.h" under folder "Shared Files" .
Core CM0 processes general system events by calling function Get_Event() which calls to User_GetVal_Pin_SW2_Int_Flag() to check the Int_flag continuously.
Function Get_Event() located in "User_Event_Interface.c", and this c file already got this line #include "User_GPIO.h" .
However, i got build error with msg PSoC6_IoT.cydsn/User_Event_Interface.c:49: undefined reference to `User_GetVal_Pin_SW2_Int_Flag'
Can anyone please help me to fix this?
Show Less
Will the shift register component become available for the PSOC6?
Thanks.
Giri
I created a port that uses 16 pins on the processor. These are simply feeding LEDs that I want to update at the same time every time. This spans across multiple ports: P0[0..6], P1[0..3], P1[7], and P2[0..3]. I see that I'm able to map them as spanning but how to I reference the whole port in code?
Show LessI have recently upgraded my psoc creator from 3.1 to latest psoc creator 4.2. I tried writing new codes in it. It works fine. I then tried to reload the old psoc programs which i developed using psoc creator 3.1. I followed the procedure to update the component and made an archive file. But the scene is the code updated doesnt work, while if I program it with psoc creator 3.1 it works. Please Help me what I am doing wrong. I am using PSOC3.
Show LessI am new to this kit. I tried to connect a character LCD and I couldn't make it work only if I connect it to port 2. I read on some places that other ports such as 3 have analog pins and therefore it could introduce some noise. I connect it to port 12 which should be suitable for digital connection. However, it didn't work neither.
It is a little bit disturbing because the LED is connected to 2.1 pin.
Is this behavior is normal ??
Show LessHello, I was looking at past products - CY7C425 versus CY7C425A and wanted to know what the "A" product was ?
The Datasheet I found on IHS only showed the "A" as Preliminary, so maybe this option was not released.
But If anyone can highlight want the "A" revision products are versus standard part ??
Thank you
Show LessPlease answer below.
The same question is written in English and Japanese.
・English
I think the horizontal axis of CapSense _ Tuner is the number of samples.
I would like to sample as soon as possible. Which parameter should I change?
・Japanese
CapSense_Tunerの横軸はサンプリング回数かと思います。
なるべく早くサンプリングしたいのですが、どのパラメータを変更すればいいですか?
Regards
Show Less@ll FORTH programmers and those who want to become:
From 17. August to 18. August 2019 is the Maker Faire in Hannover. In this Time will the German FORTH-Gesellschaft show all implementations of Mecrisp-Stellaris-FORTH on PSoC4 and PSoC5*. FORTH is a compiler language with an interpreter and make interactive C possible. You can see the whole workflow to programming PSoC4/5 in FORTH combined with C-API's. For more Information search to 'FORTH' on this page or follow this link: https://sourceforge.net/projects/mecrisp/files/Cypress/
Klaus
*Mecrisp-Stellaris-FORTH is available for following Eva-Kits:
Board: PSoC:
CY8CKIT-043 -> cy8c4247azi
CY8CKIT-046 -> cy8c4248bzi
CY8CKIT-049 -> cy8c4245axi
CY8CKIT-050 -> cy8c5868axi
CY8CKIT-059 -> cy8c5888lti
FreeSoC2 -> cy8c5888axi
Show Less