PSoC™ 5, 3 & 1 Forum Discussions
Hello everybody, I'm new to this community.
In our company we are using the CY8C5467AXI-LP108 processor to control the pendant of our cnc machines. It manages an LCD, a keyboard, 4 status leds and Modbus RTU communication.
The design, layout and the components of the pendant's board have been the same for the last 5 years, and about 200 of these pendants have been produced. Recently we started to have some issues with the latest produced. In particular in 4 pendants the inputs from keyboard stopped working periodically (5-6 times a day) and only a power cycle of the board seemed to solve the problem. Then we discovered that when this happens the processor is very hot at touch, I think about 60-70°C, when normally it is at 30°C. The strange thing is that after power cycling the pendants they starts to work correctly and the temperature of the chip decreases to normal until after some hours it rapidly becomes hot again and manifest function issues. No other components of the board are hot apart of the processor.
We already checked the boards for missing components, wrong resistances etc, but they are ok (they are pre-assembled by our supplier). Also the issue is sporadic and happens when the pendant is not in use but powered.
Could it be a chip issue?
Show LessGood to see all the source code examples for the various PSOCs.
Are the C source code examples which are based on Arm Cortex M-series
PSOC cores compatible with each other ?
I am reading through some of the SPI/DMA examples for a PSOC5 target
and was wondering how compatible the different PSOC examples are.
Show LessI have tried two samples, neither attached because they are no more than a single op-amp configured as a voltage follower and a PGA with a gain of 1.
Both are configured as High Power.
When I apply a sine wave signal from a Rigol DG832 waveform generator, configured at 1Vpp amplitude with a 500mVdc offset, the PSOC5LP is unable to maintain the voltage beyond 2kHz. At about this point, the signal drops to about 850mV and continues to with increased frequency.
I was under the impression from the datasheets that it should be able to maintain the voltage in this mode for a signal over 1MHz.
I would greatly appreciate any clarity in the behavior that is being seen. The same signal generator attached to a TI LMC6482 in an identical configuration shows no such issues.
Thanks,
Karl
Show LessIs it possible to send serial data using any BLE device and display on cysmart Android app? I want to send real time data from psoc 5 lp and plot it on smartphone app using general BLE module. Is it possible to do this with cysmart app?
Show Less#include "project.h"
#include <string.h>
char datorecibido;
CY_ISR(InterrupRX)
{
datorecibido=UART_1_GetChar();
}
int main(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
UART_1_Start();
isrRX_StartEx(InterrupRX);
for(;;)
{
if (datorecibido=='1')
{
LED_Write(1);
UART_1_PutString("LED encendido \n");
CyDelay(500);
}
if (datorecibido=='0')
{
LED_Write(0);
UART_1_PutString("LED apagado \n");
CyDelay(500);
}
}
}
Show LessHi all,
I am attempting to generate a sine wave using a lookup table. So far, I have been successful, so now i require to make it 60 Hz. How would I go about changing the frequency?
Show LessHi all,
I am currently trying to implement a PI controller with an output that will be multiplied with a 60 Hzsine wave.
I am currently using the WaveDAC8 component of the top design in the PSoC 5LP. My first idea was to feed the output of the WaveDAC into an ADC SAR, however, the results I was getting were a bit funky.
Would this operation be better if I used a lookup table? Or would it not make a difference?
Thanks
Show LessHi,
Im new to PSOC. I'm using CY8CKIT-050 Psoc 5lp development kit. Right now , i'm trying to send read an write on slave using i2c communication.
Show LessHi all,
For my senior capstone, my task is to design a feedback system for a DC-AC converter. My plan is implement a controller onto the PSoC 5LP. Right now, I am messing around to try to understand how multiplication works in code. I am generating a wave using the WaveDAC component in the top design. I am attempting to multiply the signal in order to change the amplitude of the sine wave based on the number I am multiplying it by, however, I am getting some pretty funky looking signals at the output. I am new to C programming so is there anything I may be doing wrong? below you can see part of the code I am using to multiply as well as the top design.
Thank you,
int main(void)
{
CyGlobalIntEnable;
double Vcontrol;
int Out;
double Peak_In;
double Mult;
WaveDAC8_1_Start();
WaveDAC8_2_Start();
VDAC8_1_Start();
VDAC8_2_Start();
ADC_SAR_0_Start();
ADC_SAR_1_Start();
Comp_1_Start();
Clock_1_Start();
ADC_SAR_0_StartConvert();
ADC_SAR_1_StartConvert();
for(;;)
{
Peak_In = ADC_SAR_1_GetResult8();;
Vcontrol = ADC_SAR_0_GetResult8() ;
Mult = Vcontrol*Peak_In;
Out = Mult;
VDAC8_1_SetValue(Out);
}
}
Show Less