PSoC™ Creator & Designer Forum Discussions
I'm trying to create a library project for source that will be reused across a few platforms (PSoC6 and PSoC4). But I haven't been able to find a way to include any Cypress specific header files. For normal application projects these files all get pulled in when the source is generated by PSoC Creator, is there a way to manually include necessary header files so I can at least use Cypress #defines in my library?
Show LessI'm unable to open the TopDesign.chsch from an older project I created in PSoC Creator 2.2. I get the following error:
Error: fmk.M0010: TopDesign.cysch: Unable to open file from disk: (Object reference not set to an instance of an object.)
Any ideas of how I can resolve this?
Thanks.
Show LessI have a header file in my component that defines some functions, this header only needs to be included in one file withing my component but it's automatically getting pulled into the project.h file and therefore included in everything. It's mostly generating a bunch of warnings but also probably needlessly bloating the actual code size with static function that aren't needed. Is there a way to explicitly exclude it from the project.h file?
Show LessHello !
I freshly start with Psoc.
I have 3 LED that I would like to make blink with a single function. For example:
void blink(... x)
{
x_Write(1);
Cydelay(500);
x_Write(0);
return;
}
And then somewhere in my loop, I'd have something like :
blink(LED2);
...
The problem is that I don't know what would be the type of the argument x in the function blink. I don't know how to refer a certain LED. With arduino I can use the number of the pin in the argument, is there something like this in psoc ?
Thank for your help
Show LessHello,
I am writing a MagSense program using PSoC Craetor 4.3.
My project requires 11 sensors, but when I build the project I get the following error:
"Maximum number of MagSense exceeded, (max = 8, needed = 11)"
The component datasheet states that up to 16 sensors are supported, how can I use more than 8 sensors?
Regards,
Shimamura
Show LessHi all,
It seems that I cannot compile an edge detect component. Compiler gets stuck on "Tech Mapping.." and I need to cancel the process.
I'm using a PSOC 4200M ECU, which supports UDB, as per datasheet.
I wish to use the edge detector on my project and can't understand why this is the case, but I'm failing to compile other UDB components as well.
Can anyone provide me guidance to compile this project?
I've attached a clean sample project with the noted issue.
ECU: Cy8C4247AZI-M485
Top Design:
Log:
Cheers,
Carlos
Show LessHi Team,
I am new to PSOC creator. I downloaded a project from github GitHub - KyleLopin/PSoC-Potentiostat: Potentiostat that works on a single PSoC 5LP, currently configured for the CY8CKIT… and I am not able to open it in creator. I get the following error.
Error: prj.M0143: The path 'D:\potentiostat\PSoC-Potentiostat-master\PSoC-Potentiostat-master\Amperometry_v059_2.cyprj' is not a valid project path. A project must reside in a directory with the same name.
Can you please tell how to correct this problem.
Alexander
Show LessI am going to be using PSoC for a fairly large project. I was thinking of using C++ since it would make my code easier to organise. However latency will be farily important for my project. I will also be implementing 2 PID controllers for the project. From what I understand using C++ would cause my PSoC to slow down and might also cause memory issues. How much of a drop in speed are we talking about. How likely are the memory issues. Are there any other problems I should be aware of.
Show LessI'm using PSoC Creator, and in Build Settings, Peripheral Driver Library, Graphics, emWin, I have selected Core, OSnTS, and LCD Driver, GraphicLCDCtrl. Unfortunately, the automatically generated code in Generated_Source\PSoC6\pdl\middleware\emWin\code\drivers\Control\GUIDRV_Control.c doesn't work for me; I need to implement my own _SetPixelIndex() and _GetPixelIndex(), as described in 33.7.26 GUIDRV_Template - Template for a new driver, "Adapting the template driver," in emWin User Guide & Reference Manual.
My question: how can I keep my version of GUIDRV_Control.c from being overwritten each time I Generate Application? Can I make my own protected copy and tell the compiler to use that instead of the one in Generated_Source when I build my application?
Show LessHi there.
I deleted all the relevant documents and reinstalled the software of psoc creator 4.2 . This leads to a problem.When I click the update manger,
it is unable to start it. It seems the update manger is uninstalled .So how can i solve it.
Thanks and regards!
Show Less