PSoC™ 5, 3 & 1 Forum Discussions
Hello,
I need to use pins 11 and 12 as GPIO in the CY8C5868LTI-LP039 MCU. So I disabled SWD debug pins by selecting GPIO as debug in Psoc Creator.
Now I cant reflash the device using Psoc Creator (Port Acquire Failed), and the only way to reprogram the device is by using Psoc Programmer, both Reset and Power Cycle work.
If I re-select "Debug Select SWD", I can reprogram the device with Psoc Creator.
Is this a known issue or is it possible there is some other hardware problem ?
Show Less
I can upload a hex file to my Psoc5 using a MiniPog4 with ppcli with the following command:
ppcli.exe "--runfile script.cli"
(script.cli I got from your example in https://community.infineon.com/t5/Knowledge-Base-Articles/Programming-PSoC-3-PSoC-4-and-PSoC-5LP-MCUs-using-PPCLI-KBA232937/ta-p/288563)
However the upload process takes approximately 1 minute but with PSoc Programmer it takes 10 seconds.
How can I achieve the same time performance as PSoc Programmer with ppcli.exe ? I tried deleting some PSoC3_ProgramRowFromHex in commands.cli and it reduces the time, but still, not even close to the programming time that we get with PSoc Programmer.
If it is not possible to achieve the same time as PSoc Programmer, how can I interpret the .hex file to modify the commands.cli file to write only the rows with actual information (and not waste time writing 0s). If there is any other way to reduce the firmware upload time, I would appreciate it.
Show LessHello everybody,
I am trying to implement a control algorithm for a dc-dc-converter that is working at a maximum frequency of 100kHz. The inductor current (-100A to 100A) of the converter is measured via a lemm-converter which outputs 0-5V according to the input current. The first control method I want to implement is a hysteresis control, and after that, a more complex cascaded control should be implemented.
At first, I just configured a simple ADC with the standard settings in continuous mode and started the conversion. An interrupt was called after each conversion to compare the conversion value with the hysteresis values. Here I realized that the ADC is not fast enough to respond to the 100kHz signal. A phase shift of up to 360° could be observed.
Now i solved the hysteresis control with just comparators (see attached file). I am happy with the solution.
The real probleme comes now with the cascaded control (or maybe there is an even better control method for bidirectional dc-dc-converter, stil looking into it). Now I am in need of an ADC to process the data.
Can someone provide me with information on how to configure the PSoC 5 ADCs to work fast enough for this kind of application?
Or if somebody did somethign similar before, I would be happy to get some inside on their project.
Kind Regards
David
Show LessHi, I need to programm de PSoC 1 family, CY8C24894-24LTXI and I can't set the PSoC1 device family at the PSoC Programmer.
Could any anyone help in this issue, please?
Thanks!
Show Less
Hello everybody,
Does someone have a solution to using the same output pin for signals on different TopDesigns?
When I try to give a Pin the same name as on an other page I get the following Error:
Invalid Parameter: The name 'Pin_Comparator_0_7' is already in use as an instance name.
The only solution I can see right now is to build everything on one page, which would be kinda messy.
Kind Regards
David
Show LessHello,
I'm trying to stream data with usbart in my project. Since I'm new, there were mistakes in some places that I couldn't understand.
When I try to send data directly from the main while coding, I can see the data from the termite program properly. However, when I ask the PC to enter and send a data, I cannot receive any data from the termite. (Also, while the program I am trying to get data from by selecting mode is installed on the card, I get the USB corrupted warning in windows.)
If I tell about the data selection with the mode, I am sending data in the form of "T:0,S:100,V0:-0.1,V1:0.1" over the computer. The variable "T:0" here is set to be used to select the mode. When you use it in this way, the data does not come and the termite freezes. Where could I have made a mistake?
Also, I'm not sure about the driver, because I have arduino installed on my computer, when I connect the card to the computer, it shows up as "USB Serial Device" in the device manager. and as i said it works when i try to print data inside without getting data. I leave the project file below.
Hello everybody,
Is there some way or Add-On that allows programming of the PSoC 5 with MatLab Simulink.
I want to create a control algorithm and want to use control blocks implemented in Simulink.
Kind Regards
David
Show LessHello,
I have a fairly complex design that the PSoC creator is struggling to place into the Universal Data Blocks.
I did some reading on how to address the issue but the solutions were too general.
What do you suggest for my project? I attached the entire project.
Thanks
Show LessI'm looking for some help/direction for a project that needs a simple display.
My project requires 2 alphanumeric character display (for status/error display). I'm using a CY8C24423 PSoC1 part and it's plenty busy controlling a pump and a stepper motor utilizing a PIR detector, a water level sensor and a reflective sensor for the stepper's indexer as well as control inputs.
I have considered most everything, from, using several individual LED's of various colors as indicators, using a pair of 7-seg display characters to using a pair of individual LED matrix 5x7's that I have on hand. The simpler that this display is to understand for the user, the better... hence the 5x7 characters that I'm leaning toward.
I'm down to five I/O channels left for the display output and would likely need to utilize another IC. Thoughts include a second smaller PSoC with a I2C interface to communicate with the main PSoC and let the second one drive the display... Or perhaps a discrete(ish) solution using a shift register w FET drivers in a somewhat complex multiplexing scheme... Or a ready-made IC display driver.
I've thought of buying a simple display module but having these $4 - 5x7 displays on-hand is driving the decision somewhat (you know... $$$). Where I'd like some help is on making a decision on which way to go with the hardware while putting together which PSoC user modules would work and are available just to display a couple of characters. Thoughts?
Show Less