PSoC™ 5, 3 & 1 Forum Discussions
I have tried using Counter, Timer and PWM components of PSoC3 in my development project. I find there is a same problem:
Only a lower byte of the uint16 period works properly when I use XXX_WritePeriod(uint16 Period) for Counter, Timer or PWM. If the uint16 period's value is larger than 0xFF, the higher byte of uint16 period 'value is going to overflow to the lower byte( for example, XXX_WritePeriod(0x0100) is to work as exactly same as XXX_WritePeriod(0x01) ). However, the configuration values of the Period in these components without using XXX_WritePeriod(uint16 period) to change the period value, they work properly.
Is it possible that the components of Counter, Timer and PWM have some bugs in PSoC Creator 2.0?
Could you please advise me how to sort out this problem?
Qingshan
Show LessHello,
I purchased CY8CKIT-050 dev kit and when trying to use USBFS component I found missing crystal and 2 capacitors on my dev kit board. Here is the list of missing components:
Y3 - CRYSTAL 24.000MHZ 20PF SMD
C30,C31 - CAP, CER, 22 pF, 50V, 5%, COG, 0603, SMD
Is this how it should be? I checked the product photos and it is missing nowhere.
Please advise me what to do - I guess I have received unfinished board.
Tomas
Show LessRecently I had a discussion with a friend about PSOC, accuracy of ADCs and what has an impact on signla quality. PSOC allows routing of most signals to most pins, that is a great feature BUT I am sure there are pins that are better or others that are not as good to use for analog inputs.
Which pins should I use to get best results for the 20-bit ADC inputs?
Show LessWell, decide for yourself, I find it entertaining and educating at the same time.
Cypress has started PSoC Today and we are covering design challenges by expert contributors.
Check it out and have fun!
Robert
Show LessHello Everybody,
I found on Cypress website interesting article how to measure and monitor DC current:
Multiple channel current measurement technique through analog multiplexer
http://www.cypress.com/?docID=25372
I wonder if anybody has try out to do this in simmilar way or maybe another intresting way with PSoC 3?
What was your results?
Chris
Show LessAN73468 explains a single-cell Lithium-Ion (Li-ion) battery charger implementation using PSoC 3. Two types of implementations-linear and switching type are supported. An attached PSoC Creator project, which includes a charge display tool, demonstrates Li-ion battery charging.
Li-ion batteries are used in a wide range of systems such as cameras, cell phones, electric shavers, and toys. The charging circuit for the batteries can either be an integral part of the system (online charging) or an external plug-in circuit (offline charging). With its wide range of devices, PSoC 3 offers a cost-effective solution in both segments. And with its configurable digital and analog features, PSoC 3 enables implementation of other critical tasks required in the system.
Show LessAN74170 explains the analog structure of standard PSoC® 1 devices and how the global analog parameters affect many of the analog user modules.
When designing with the PSoC 1 family of microcontrollers, you use PSoC Designer and its highlevel interface to configure the PSoC, including the analog architecture. In addition to placing and configuring the individual user modules (building blocks), several global analog parameters also require configuration. Understanding these global parameters and the overall analog architecture is important, especially when a design consists of several analog user modules that are affected by these settings.
How to register the default Keil compiler in PSoC Creator if normal registration using "Keil License Registration" window fails?
Kindly go through the link http://www.cypress.com/?id=4&rID=38519 to register Keil compiler in PSoC Creator.
The above method may not work and gives any of the following errors:
a) Error-->prj.M0132: Unable to register your LIC number. Confirm if the number you entered is correct then try again.
b) 'Your Keil License has expired'
If you get any of these errors then check the version of the Operating system i.e. is it 32-bit or 64-bit, and then only use the following process to Register Keil:
1) Make sure to register Keil from within the copy of uVision that ships with PSoC Creator. It is installed by default at:
C:\Program Files (x86)\Cypress\PSoC Creator\1.0\PSoC Creator\import\keil\pk51\8.16\UV3\Uv3.exe
... on 64-bit versions of Windows and:
C:\Program Files\Cypress\PSoC Creator\1.0\PSoC Creator\import\keil\pk51\8.16\UV3\Uv3.exe
... on 32-bit flavors of Windows.
Then we can find the uVision registration dialog by selecting File -> License Management. We must run this as an administrator and this can be done by right-clicking the executable and selecting "Run as administrator" from the context menu.
2) Also we can manually edit the Keil tools.ini file (which is where it stores registration information). To do this:
- Open... C:\Program Files (x86)\Cypress\PSoC Creator\1.0\PSoC Creator\import\keil\pk51\8.16\TOOLS.INI
... for 64-bit Windows 7,
OR
C:\Program Files\Cypress\PSoC Creator\1.0\PSoC Creator\import\keil\pk51\8.16\TOOLS.INI
... for have 32-bit Windows 7.
This file must be edited as an administrator. This can be done by clicking the Start Menu, searching for Notepad, right clicking on the notepad search result and selecting "Run as administrator". Now use File->Open to open the tools.ini file listed above.
- Look for a line that starts with LIC:
LIC0=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
If the registration is expired after one year of usage then the line “LIC0=…” will already be present. In that case we have to write the license code as LIC1=XXXXX-XXXXX….
If even the above mentioned methods does not work then kindly contact our technical support and report the same.
Show LessOn my psoc 3 prototype I am currently using a 10 pin connector with the mini prog 3 for development. For production I would prefer to use a less expensive 5 pin connector to program the boards using the 5 pin connector on the mini prog 3 rather than the 10 pin one. Will this work ok or will there be problems?
Show LessAN77759 briefly introduces you to PSoC® 5; if you are looking at PSoC 5 for the first time, this is an excellent place to start.
In this Application Note you briefly learn about PSoC 5 and PSoC Creator™, an interactive integrated development environment (IDE) and graphical design tool that you use to develop your system-on-chip project.
In addition, this application note walks you through an example project for PSoC 5. Through this project example, PSoC Creator is introduced. The first part of the project guides you on how to blink an LED like a typical MCU. In the second part you develop a "breathing" LED using the Programmable-System-On-Chip concept.
An additional bonus project is included with this application note that takes a design example a little farther than simply blinking LEDs. The bonus project uses some of the mixed signal functionality of PSoC 5 to create an ambient light/dark detector using one of the LEDs on the CY8CKIT-050 demonstration board.