PSoC™ 5, 3 & 1 Forum Discussions
Hi,
I'm using Psoc 5LP with EMFile component.
I record 400 bytes every 36mSec.
We're measuring the record time from the begining till the record ends.
Most of the times the record time is 10mSec, but some times the record time is between 1sec -3.5 sec.
That means we're losing data to record.
2 questions:
1. why does it happen?
2. How can we make the record time to be constant about 10-20 mSec and not in sec ?
Thanks
Shmuel
Show LessHello,
I am trying to read data from ADC. If I probe signal lines with a logic analyzer, I can see actual samples (with their respective headers). If I look at data read by SPI slave peripheral using a debugger, I just see some meaningless numbers. Do I have a mismatch on CPOL/CPHA?
CY_ISR_PROTO(RxC1);
CY_ISR_PROTO(RxC2);
void SendData();
uint8_t Data1[32] = {0};
uint8_t Data2[32] = {0};
uint8_t Ptr1 = 0;
uint8_t Ptr2 = 0;
volatile uint8_t Ready1 = 0;
volatile uint8_t Ready2 = 0;
uint32_t Channels[10] = {0};
uint8_t Usb[40] = {0};
void ADCData_Init()
{
Data1_RxC_StartEx(RxC1);
Data2_RxC_StartEx(RxC2);
SpiData1_Start();
SpiData2_Start();
}
CY_ISR(RxC1)
{
while(SpiData1_ReadRxStatus() & SpiData1_STS_RX_FIFO_NOT_EMPTY)
{
uint8_t dummy;
if(Ptr1 < 32)
{
Data1[Ptr1++] = SpiData1_ReadByte();
}
else
{
dummy = SpiData1_ReadByte();
if(dummy < 0xFF)
{
Data1[0] = dummy;
Ptr1 = 1;
}
}
if(Ptr1 == 32)
{
Ptr1++;
Ready1 = 1;
if(Ready2)
{
Ready1 = 0;
Ready2 = 0;
SendData();
}
}
}
}
CY_ISR(RxC2)
{
while(SpiData2_ReadRxStatus() & SpiData2_STS_RX_FIFO_NOT_EMPTY)
{
uint8_t dummy;
if(Ptr2 < 32)
{
Data2[Ptr2++] = SpiData2_ReadByte();
}
else
{
dummy = SpiData2_ReadByte();
if(dummy < 0xFF)
{
Data2[0] = dummy;
Ptr2 = 1;
}
}
if(Ptr2 == 32)
{
Ptr2++;
Ready2 = 1;
if(Ready1)
{
Ready1 = 0;
Ready2 = 0;
SendData();
}
}
}
}
Show Less
I have psoc 059 kit and I want to send data using modbus(rs485)
How to make this code and interfacing what should be the components used in top design?
Please give example.
Thanks & regards
Rathang s
Show LessDear all,
We are using DMA for our project. The DMA works well after the power up of the board. We have the expected behavior.
Currently we are not able to stop and restart correctly the DMAs.
We have a start / stop functions, it seems works. However all "restart" of the DMA seems don't begin with the TD0. The DMA seems starts with another TD (may be the latest used).
How we can force to use the TD0 when we restart DMA?
regards,
Robin.
Show LessMy customer, Christie Digital, uses an old PSOC1 in their KVM project. However, they copied and pasted this design into a newer design and now they want to update the FW in the PSOC1 and do debug. But, I don't think they have the old PSOC1 ICE-cube and the cable to do the work :-(. I think they wanted this old Eval board: CY3215A-DK In-Circuit Emulation Lite Development Kit. But, I don't think this is made anymore. This from the customer:
CY3215A-DK In-Circuit Emulation Lite Development Kit has an ICE-cube that could be directly plugged into our CY8C28 Processor Module that comes with CY8CKIT-001. Even though the processor numbers do not match, CY8C28 is still a member of PSOC1 family, so we could utilize it to do checks with CY8CKIT-001 (then there is no need to soldering a pod on the PCB of our product). Someone at Cypress probably has them in some dusty boxes somewhere. We also need the flat cable (from the CY8CKIT-001 User Manual)
Show Less
Hello
I am building a project based on another, working one (just a new, smaller PCB basically).
I assembled the prototype, but I notice over 200mA is drawn when power is applied, and the LP051 gets warm - I am afraid I have probably damaged the IC.
Kitprog doesn't detect the LP051. Cannot acquire port.
Before I replace the IC, I need to find the problem. I have removed almost every other part from the board, and the problem remains, so I must have missed something in the schematic.
I thought it was odd that the original schematic had the NC pins connected to GND, but I left that in since it worked. Could this be the problem and I've interpreted something wrong?
Here is what's left of the schematic after removing parts.
Note that the LED glows at a different brightness most times power is applied.
On a side note, that 5-pin header is suitable for programming the blank chip via KitProg USB included with CY8KIT059 ?
Thanks!
JD
Show LessHi,
Can we use other components IBIS Model into PSoC5LP IBIS. Let's say PSoC5 is having it's own MUX I have IBS Model of other MUX
We have been using CyUSB.DLL with our VC# program that interfaces with our product using a PSoC5. We are using Generic HID. Now the Cyber Cops are telling us we need a signed DLL. Considering CyUSB is so old, is there another option that is already signed?
Mike.
Show LessDear Sir,
I want to know about these two things listed below:
1). for UART Communication, are we can be able to select pins in different ports?
2). For SAR ADC, which pin we can use as a input (For Eg : Pin Number 44 for SAR ADC1 , like that)
Show Lesshello,
I have a couple of CY8CKIT-059 boards. I broke the kitprog off of one of them and have been using it to program things. I want to use its virtual com port uart capability with 12.6 and 12.7 on J9 of the kitprog. however, it never enumerates as a virtual com port. I plugged in a non-separated cy8ckit-059 and the virtual com port appears in my device manager and terminal program. then, I went to the PSOC Programmer program (version 3.27.1) and the broken-off kitprog shows up in there as "KitProg (CMSIS-DAP/251530)" with a version of "CMSIS-DAP VERSION 1.0" while the non-broken-off one shows up as "KitProg/0f20183201324400" and says it is using kitprog version 2.20.
why is this separated kitprog acting different/weird? how can I get it back to a regular kitprog?
Show Less