PSoC™ 5, 3 & 1 Forum Discussions
I EXECUTED ONE SAMPLE PROJECT
I GOT THE ERRORS AS
1) "INCORRECT LICENCE CODE(LIC) IN TOOL.INI"
2) "KEIL LICENCE EXPIRED"
TO AVOID THIS STATEMENTS WHAT I SHOULD DO???
Show LessI try to control PRS module, but it is to hard to control frequency range,
PRS module can grnerate random square frequency,
but, it has wide frequency range, and i want generate band range frequency,
so, does anyone know, how control PRS module to generate band range frequency,
please let me know.
Thank you.
Show LessHello!
I am using PSoC CY8C29466's DelSig and Triple input incremental ADC. Both ADC is set to data format as signed. The data input into ADCs is from sensor which the sensor itself have output value between 1V to 4.9 V.
Delsig is set to 3 MHz clock frequency and Pulse width is 10. Triple input ADC is set to ADC resolution of 13 bit, Calc time 400, 3 MHz clock frequency.
I want to know what is the C code to change the ADCs value into decimal value ( base number of 10).
Thank you!
Hi,
Yesterday I have updated PSoC Creator. When I load the project I have worked on, only cy_boot apears to be newer - from ver 2.2 to 2.21. I have updated it. I made some changes and since then there are only troubles with stuff, that worked before. I am not pasting any code here, because it is very long, but operators like:
char outputStr [3] [20];
float input [3];
...
sprintf (outputStr , "%.3f", input );
seemed to mess up the mem data.
I tryed:
sprintf (outputStr , "%.3f", 123.456);
and it was the same. Then I tryed:
char test [20];
...
sprintf (test, "%.3f", 123.456);
same story.
It is working fine with %d, but with %f is not. I debug it several times wondering what's wrong with the code, and I found nothing. Then I get the backed up project (before the update). I started it up, it asked for an update and I choose no. The project runs smooth. The very same project - I loaded it again, and it asked again for update (I didn't mark it previous time as up to date). I made update. I check explicitly what exactly is going to e updated. Compile it, run it - data was messy.
I spent almost a day chasing gosts. Can you please advise waht's going on.
Thanks,
Stoyan Karanfilov
Show LessHi,
I am preesntly using PSoC creator 2, and the chip CY8C5568AXI-060.
When I clicked the program button of the PSoC creator, a message box pop out (as per attached file).
Can anyone please advise how to proceed?
Show LessHello! I'm new to PSOC programming, but when I tried to upload the following code
#include <device.h>
Hey all,
For the senior design project at my university, my group was assigned a robot that would serve as a wandering information kiosk for the campus. I was placed in charge of sensor integration. The sonars that our group decided to use can output an analog voltage level that corresponds to detected range or a pulse whose width corresponds to the detected range. To get a handle on the PSoC 3 I created a quick proof of concept program that would take in the analog votlage level and convert it to a digital value. To test it out I breadboarded the PSoC 3 and hooked it up to a power supply so I could easily and precisely change the voltage. The problem is that no matter what I change the voltage level to, GetResult always returns a value that is approx 22,000 or 0x5850 in hex.
So far in my troubleshooting efforts I have assumed, from talking to friends on similar projects, that the ADC returns a value that is scaled so that the resolution matches the acceptable input voltage range IE 0-6.14 volt range divided by 2^16 (16 bits of resolution).
Attached is my simple project so far,
Show Less