PSoC™ Creator & Designer Forum Discussions
An LED driver component for matrix and 7 segment displays. some of the feautres are:
1.) The component supports 1 to 8 commons.
2.) The segments and common signals can be inverted for use with driver transistors or for common anode / common cathode displays
3.) The brightness of each common can be controlled with an optional PWM built into the component.
4.) A macro is included that breaks out all the signals to make it much easire to get started
5.) API are included that make it very easy to display numbers (signed decimal and hex) as well as strings for use with 7 segment displays.
6.) All hardware based solution, no interrupts or CPU time required. "set it and forget it" operation.
My first component submitted to the community!
Show LessI have an irritating issue with PSoC Creator version 2.2 and PSoC5 running under Windows 7. When I am in one of the editors and want to proceed to debugging I click on the debug icon (looks like an ant) and the software does its own thing (compiling when necessary etc.) and then moves into the debug environment. The problem is that maybe 60% of the time, it doesn't set the pointer/ProgramCounter to the first instruction in the main procedure, it simply opens a Disassembly tab and seems not to place the ProgramCounter anywhere, or maybe above the first line in the window (I can't tell- there is no yellow arrow). Although I am sure it is irrelevant, the first line in the debugger is:
0x00000000 <__cs3_interrupt_vector>:
Trying to run results in indeterminate results. The only way is to click on the Reset icon (double rewind arrow) and sometimes you even need to do that twice. If you are in the disassembly window it will take you to the correct point, but still in the Disassembly tab.
I have tried to find any pattern as to when I invoke the debugger (like completely build before I start) but I can find no pattern to it.
Is anyone esle seeing this problem?
Show Less
It's the first time I use creator. I copy a project from my colleague computor. It can build successfully in his computor, but turns out to be a lot of errors in my computor. Might it be some setting problem in my creator?
Show LessHi All.
Is there a plug-in / Gui available for PSC Creator to help with the graphics design on say a 128X64 graphic display?
Regards
Mattheus
Show Less Hello PSoC 1 Enthusiasts
I'm pleased announce that the new version of PSoC Designer is available for immediate download!
We've added new SmartSense user modules that are especially useful in home appliance products, as well as a host of new features to make PSoC Designer easier to use than ever. For example, you've often asked us for the same type of auto-complete capability that you have in Visual Studio and other IDEs. Well, we got it done! The PSoC Designer code editor now supplies auto-complete suggestions when typing reserved words, variables, functions and even user module API calls. Is there a user module you'd really like to have, but isn't in our catalog? Well, now you can design your own! PSoC Designer 5.4 gives you full control of your user module's configurable hardware and firmware, as well as any kind of graphical interface you want to put on the front end. You can easily share these new user modules with other members of your team via the import/export capabilities of the tool. We've also included a new example code browser along with 15 new example projects. The new ScanSAR user module allows you to measure any number of voltages (at the pins and internally) without having to manually configure the ADC or analog muxes. Finally, the IDAC user module provides the first programmable current source for PSoC 1 devices. All these new features, higher performance and a number of fixed bugs - this is an upgrade you don't want to miss. To get PSoC Designer 5.4, please go to www.cypress.com/go/psocdesigner and download the installer. Alternatively, if you already have PSoC Designer 5.1 or later installed on your machine, you can invoke the Cypress Update Manager, and you will see a download option there. Enjoy! And please let us know what you think. Paul Clark Product Manager - PSoC 1 Software |
A couple of issues that need addressing -
1) Global properties, the OpAmp Bias and Ananlog Buffer properties both were set to low power,
so sine wave distorted. Those should be set to high power.
2) Because the A Buffer is not R-R, its exacerbates the distortion of the DAC output when close to either
rail. Maybe a note should be added to ap note covering this.
3) As an exercise, to eliminate the distortion in 2), I added a PGA, set its G < 1, to get waveform away
from rails, and woulnd up with a highly distorted waveform, ? Not sure why.
Note A Buffer was only loaded with 10M scope probe in all observations, maybe in case of 2) high load
might actually improve output distortion.....?
PSOC Designer 5.4
Regards, Dana.
Show LessWhile editing a PGA's properties I noticed a small error, that when setting Analog
Ground, Reference, the text display below discusses the Reference as a comparator, rather
than the PGA that it is. Could be confusing.
Regards, Dana.
Show Less
Hi,
When using PSoC Creator, it is generally assumed that if a particular component feature can't be used with the current options (e.g. it's using a fixed-implementation), it will be greyed out. However, this is not the case for the "One-shot" and "One-shot (Halt on Interrupt)" run modes when using a fixed-implementation Timer with a PSoC 5.
This is annoying, as you can continue about building your design, and only discover it's useless when it comes to building the project hours later.
It also makes no mention of this under the section "PWM Component As A Pulse Generator" in the PWM datasheet (in the second bit, where it introduces a timer and says it's less resource intensive than using a PWM component). I think you should mention that this is only applicable to PSoC 3.
Show LessI am relatively new to Psoc5 and Creator and am re-acquainting myself with C++. I am having difficulties getting a particular program to build. I know that Creator is C based but that one can also "force" it to recognize and compile C++ code. The program is extremely simple:
#include <iostream>
using namespace std;
int GetFibNumber(int FibIndex)
{
if (FibIndex < 2)
return FibIndex;
else
return GetFibNumber(FibIndex - 1) + GetFibNumber(FibIndex - 2);
}
int main()
{
cout << "Enter 0-based index of desired Fibonacci Number: ";
int Index = 0;
cin >> Index;
cout << "Fibonacci number is: " << GetFibNumber(Index) << endl;
return 0;
}
In the Build Settings associated with all .c files I have added "-x c++" as a custom flag in the command line. The errors I get when I build this is:
prj.M0120: undefined symbol `Reset' referenced in expression
prj.M0120: The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
Any ideas what I'm missing? Thanks.
Show Less