PSoC™ Creator & Designer Forum Discussions
In a design with combinatorial logic on an PSoc 4 device I run into a placement problem which boils down to the following issue:
An combinatorial enable signal, which is used in several places, like here, p7:
is inserted into another term during synthesis and optimization:
Note: Expanding virtual equation for '\FOO_1:enable\' (cost = 2):
\FOO_1:enable\ <= ((not Net_48 and Net_49 and Net_47));
Note: Expanding virtual equation for '\FOO_1:p7\' (cost = 60):
\FOO_1:p7\ <= ((not Net_48 and not Net_38 and not Net_37 and Net_49 and Net_47 and Net_31));
The the digital placement fails with:
W2555: UDB : UDB_0 (PLD : 1) contains 14 data inputs. Maximum allowed 12.
I know that it would fit if the enable signal would go to another PLD and p7 would use enable instead of (not Net_48 and Net_49 and Net_47).
I tried to play with opt_level and placement_force, but these don't seem to help here even though I see they are recognized in the rpt file. However the expansion during synthesis is still done.
Is there a way to avoid this? Something like optimizer settings or explicitly saying that enable must be kept and not expanded into other terms?
Show LessSince the previous topic titled "ISR build errors" was closed, I am opening the new thread. DatasheI tried most of the solution on that post but still seeing peculiar behavior of the debugger.
Following is the code
From the watch window we could see that the value of flag is false but still it will not go into the if condition.
if(flag == FALSE || flag == false)
{
flag = TRUE;//Message begins
//Valid starting sequences
}
else if(flag && rx_i == rx_len)
flag = FALSE;//message ends
else
rx_i=0;flag=FALSE;//garbage received ignore the message
continue;
}
Kindly let me know how to resolve the ISR issue.
Show LessPSOC Designer 5.4 SP1 How to work on Windows 10- Adobe SVG.
I need to run PSOC Designer 5.4 on my Win 10.
Help- display of router is not working.
Show LessHello
I see what may be a conflict in the Fan Controller datasheet where manual mode seems to suggest only the ability to use the PWM Duty cycle API and there is no response to fan speed, but a graphic further down in the sheet seems to imply that the desired fan speed API can be used in manual mode.
So I really need a clarification, before I start writing code.
Thanks
Show Less
Is there a way to go through the whole workspace and find these types of errors/warnings that appear on the left side?
Or just list them in the same way the Notice List does, where I can double-click to go to the location in the code?
The project builds and doesn't show anything about these in the Notice List, but I'd like to be able to get them all sorted out, to make sure there are no subtle bugs, etc.
Show Less
Customer application where he is relying on ARM when power off GPIO will be in HiZ state.
Two cases to this to consider, Power disconnected (switch opens to PSOC Vdd) or power collapses,
such as in a transformer fed simple bridge > regulator PSOC, where PSOC power pin is always "in circuit,
connected".
Ap notes do not discuss this. I stated to customer than when Vdd drops below its min datasheet spec value
all bets are off as to what a GPIO pin looks like. That there is possible charge trapping inside device driving gate
that would have to bleed off to make sure a device, in this case the NMOS side of totem pole, and that could take a
long time.
Question, what is the state of a GPIO pin, and can it be controlled, pre destined, when Vdd drops below operating
datasheet spec value ? I think answer is NO !
Regards, Dana.
Show LessI'm using the WFlash of a PSoC 6 for emulated EEPROM in a current project. I've noticed a problem in that every time I program the processor, it overwrites the WFlash sector. I seem to be able to avoid writing this section when I load the code through the PSoC Programmer software, but cannot find the means to do the same when programming through PSoC Creator 4.4. Is this option hidden somewhere that I haven't seen or is it just not possible? I'd rather not have to switch over to PSoC Programmer every time I want to flash a new build in order to maintain EEPROM values.
Show LessDear SIr/madam,
doubts regards program loading using JTAG Protocol.
using PsoC5LP family mc CY8C5868AXP-035 , program through miniprog4. but in miniprog4 we cant choose JTAG protocol, default SWD protocol only coming. by using the setup, i want to load .hex file using JTAG protocol. give some suggestions.
Show LessI got this after updating a project to the latest PSoC Creator.
It is caused by Application.cyprj containing two entries with different capitalization of the names ("PSoC" vs "PSOC"), and it can't fix the capitalization difference. Manually editing the cyprj file to make them consistent fixes it, or deleting the folder from Generated Source PSoC3 and letting it regenerate.
Hello,
I am working on Legacy Code of the organization.
Code was compiled using : PSoC Creator 1.0 Service Pack 2. For some important tasks in the organisation I need to re-compile the code using the same IDE version. Though I searched your website, didn't get this IDE version even in Archive.
Please do help me here at your earliest
Show Less