PSoC™ 5, 3 & 1 Forum Discussions
I am working on creating firmware for an existing project that does not have the LCD wired to the "standard" pins defined by the LCD User Module. Is there any easy way to change the LCD user module to reconfigure the pins or is there another user module I can use?
Show LessI set up the example PGA and was encouraged to find that my audio signal (~25mv p-p) was passing through cleanly with no noise. I need to set the gain higher before going onto the next step, but found that changing main.c to set any other gain than PGA_1_GAIIN_01 would cause the audio to stop completely. Am I doing something wrong or is PGA unable to handle low amplitiude imput signal?
Show LessHello,
I just wanted to know, since I looked at the docs and I didn't find much info :
Why do we need to use an analog clock, and what is the difference between that and the digital clock?
And if I'm not mistaken, we can also use digital clocks with analog components, can't we?
Show LessCould someone remove the post and if possible ban the IP address.
Hi,
Iam trying to interface a temperature sensor to the CY8CKIT-050. however, there is a problem with the software below.
#include <project.h>
#include "stdio.h"
int main()
{
float T;
int32 voltcount;
float volt;
char str[16];
LCD_Start();
ADC_Start();
ADC_StartConvert();
for(;;)
{
ADC_IsEndConversion(ADC_WAIT_FOR_RESULT);
voltcount=ADC_GetResult16();
volt=ADC_CountsTo_Volts(voltcount);
T=85.543*(1.8641-volt);
sprintf(str, "%+1.4f", T); //pretty sure the problem lies here 🙂
LCD_Position(0u,0u);
LCD_PrintString(str);
}
}
the project consists of a LCD and a temperature sensor. the PSOC5 reads the output from the sensor and displays it on the LCD.
I did some debugging, triple checked the connections, checked the LCD and it's working. but I am quite sure that the problem lies in the sprintf function.
Show Lessrecently i used to program cy8c5588axi with miniprog3? and that was ok.
but then i had to reinstall the system and now i have errors
1) FAILED! PSoC device is not acquired! Check connection of the chip to the programmer
or
2) the chip id isn't in database
i tried psoc programmers 3.11, 3.15.1, 3.18, 3.19 and both they didn`t work
Show Less