PSoC™ Creator & Designer Forum Discussions
Hello all,
I'm trying to turn the the ports of my psoc device by reading from an input from a raspberry pi 2 on port 3 , Ive configured all port drives to be in strong mode
if (PRT3DR & 0x0f ) // if high input from outside
{
PRT5DR=0xff;
PRT1DR=0xff;
}
else if (PRT3DR & 0x00 )// if low input
{
PRT5DR=0x00;
PRT1DR=0x00;
}
Is this correct ?
Show LessHello,
Building with PSoC Creator is painfully slow. I have disabled Windows Defender and such (no other antivirus stuff going on). When observing the Windows Task Manager during building, I can see that PSoC Creator seems to utilize only one core. Sure, the hardware mapping stuff is probably a NP-complete problem, but building with GCC is a standard thing to do in parallel (make -jX anyone?).
How can I make PSoC Creator to at least compile in parallel?
I'm using PSoC Creator 4.2 on Windows 7.
Thanks, Jacob
Show LessI'm italian freelance. I receved a to develop firmware for the cypress MCU. Being new, I need help to start. I have several question
1) As written in the title...what are the difference between the varius PSoC development tools?
2) How does the cypress PSoC work? and How can I program them.
3) How many different PSoC family exist and what the difference between them?
Show LessAre there old releases of the kitprog firmware and is there an easy way to load them into a kitprog adapter?
New CY8CKIT-059 boards are shipping with version 4.19, the GUI tool will only write 4.18; but, I can only get version 4.11 working under Linux with openocd. I may be able to use something between 4.11 and 4.18, I just know that 4.11 works and 4.18/4.19 don't.
Thanks
Mike
Show LessHi,
I'm using printf with a variable of type uint32_t. Variables of this type have a fixed with of 32 bits, so this equals to long int in C. Is this true?
So, for printf, the correct format string is:
printf("%lu", Var); //%lu => long unsigned
Now, it's getting strange: If I use %lu, I get no error in the notice list after a build, but a error indicator in the corresponding line of the source editor window, saying "format specifies type 'unsigned long', but the argument has type 'uint32_t' (aka 'unsigned int')".
If I use %u, the error indicator in the source editor window wents away, but after a build a warning is shown in the notice list: "format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint32_t {aka long unsigned int}"
This is confusing. I know I can use
printf("%lu", (long int)Var);
which eliminates both error indicators, but I wonder why there are errors different positions (source code window vs. notice list), and why %lu gives an error - %lu should be right IMHO.
Is the behaviour regarding the error messages a bug of PSoC Creator? Should I file a case about it?
Regards,
Ralf
Show LessHello,
I would just like to report a network error for the CY8CKIT-149 kit (other appear to be checked for an update fine). This appears in the newest production PSoC Creator, but I think it was also in the previous 4.1 version.
David
Show LessIs there a way to prevent the Emulated EEPROM component API from generating a Doxygen mainpage? This page, while interesting, is not the first thing I want readers of my documentation to see. Here is the offending code, from the generated file cy_em_eeprom.h:
/*******************************************************************************
* \file cy_em_eeprom.h
* \version 2.0
*
* \brief
* This file provides the function prototypes and constants for the Emulated
* EEPROM middleware library.
*
********************************************************************************
* Copyright 2017, Cypress Semiconductor Corporation. All rights reserved.
* You may use this file only in accordance with the license, terms, conditions,
* disclaimers, and limitations in the end user license agreement accompanying
* the software package with which this file was provided.
*******************************************************************************/
/**
* \mainpage Cypress Em_EEPROM Middleware Library
*
* The Emulated EEPROM provides an API that allows creating an emulated
* EEPROM in flash that has the ability to do wear leveling and restore
* corrupted data from a redundant copy. The Emulated EEPROM library is designed
* to be used with the Em_EEPROM component.
...
Show LessI need to make a custom build of Capsense_P4Library_GCC.a library. Where can i download the source code that builds to create this library? I did not find it in the PSoC Creator 4.2 installation. I need to do this for CY8C4147-S455 part.
Show Less