PSoC™ 5, 3 & 1 Forum Discussions
Hello,
I use CY8C21534 for a project, how do I change the interrupt priority of CSD?
Hello everbody,
i hope you can help me a little bit.
At the moment I am trying to program a PSoC 5 (CY8C5268LTI-LP030) with the CommandLineInterface.
Unfortunatey it isn´t working properly 😞
What have I done...
At the moment I am using this commands in a script:
OpenPort KitProg/0720063201324400 C:\Program Files (x86)\Cypress\Programmer
HEX_ReadFile "C:/HexFile/Testfile.hex"
SetAcquireMode "Reset"
SetProtocol 8
SetProtocolClock 152
SetProtocolConnector 0
SetPowerVoltage 5.0
//PowerOn
DAP_AcquireChip
PSoC3_EraseAll
PSoC3_ProgramRowFromHex 0x03 0 0
DAP_ReleaseChip
ClosePort
quit
Till the command "PSoC3_ProgramRowFromHex 0x03 0 0 " everything looks good. But while using this command I get following error message:
"PSoC3_ProgramRowFromHex 0x03 0 0
E
Timeout of SPC polling. Lost communication with chip (Status = 0x00)
PSoC3_ProgramRowFromHex 0x03 0 0 returned 80004005
80004005 OK"
And I am not sure how to fix it. I don´t know the problem... Is there anybody with an idea how to fix it?
Question 2:
Is there a command to program the whole hexfile without the rowId and arrayId? For example the command Program(). Unfortunately the UserGuid tells me it is only for PsoC1 😞
And is the arrayId 0x03 the correct id?
Many thanks in advance. I hope somebody can help me! 🙂
Ando some more informationen.
I am using a KitProg2 and the programming with PsocCreator oder PscoCProgrammer is working without any problems. So I guess there is no hardwareproblem.
Hello, I am experiencing some trouble when trying to get some data from an I2C port on Cy8CKit-059, I am trying to read 8 bytes through the port, everything in the code works well but the retrieved data is always 0. I checked on the protocol analyzer, and it seems that the data stops transmitting because of master nak's after the first read, even though I2C_MasterReadBuf is called with an 8 on the cnt parameter.
the routine looks as follows (Ommiting the transmit part):
uint8_t ErrorCondition = I2C_MasterReadBuf(PortAdress, InputBuffer, BytesToRead, I2C_MODE_COMPLETE_XFER);
if(ErrorCondition){Return};
uint8_t status = I2C_MasterStatus();
while((status & (I2C_MSTAT_RD_CMPLT | I2C_MSTAT_ERR_XFER)) == 0u)
{
status = I2C_MasterStatus();
}
if(status&I2C_MSTAT_RD_CMPLT){return I2C_Bus::ErrorConditions::Success;}
else{return I2C_Bus::ErrorConditions::UnknownError;}
After the execution of the previous code, InputBuffer contains only zeros
Show Less
I was a bit surprised when trying to purchase the CY8Ckit-059, in that the lead time is 50 weeks and everyone is out of stock. Why is this?
What is even worse: the CY8C5888LTI chip itself has a similar lead time and its listed at $25-$30 USD ! What is happening here???
Is Cypress no longer supporting these devices?
Is this the same with the PSOC 6 devices?
Show LessI use SAR ADC and USBFS in CY8CKIT-059.I develope the PC software with libusb(not CyAPI, because I know nothing about C++).
But I find USBFS is too slow to send all data to PC. The actual rate of USBFS is only 0.1MByte/s.
Is there anything wrong about my project?
Show Less
Hello,
I am using UART component in PSoC5LP.
I am using it as Full UART with a clock of 20MHz.
It works properly for my project but since my product goes on an industrial enviroment, it be subjected to EFT and various pulses diturbances capacitive coupled on the cable form my product and a CNC.
I have filterd 99% of the potential failures could occured but there's still 1% of failures that are difficult to solve.
From Datasheet of UART component is not pretty clear, if I set as Interrupt RX source only "RX-On byte received" as I done, if the RX data contains corrupted data due to EFT, and in this case the Stop Bit are not well received, my interrupt is set or not? Or I have to activate also the "RX - On Stop Error" interrupt source?
Thank you
Show LessHello,
I have to develop tool for programming flash of CY8C27243 and have issue with erasing by block.
According to Table 38 of datasheet "38-12012 Rev. AC" typical tERASEB is 30ms, but actually erase of block takes about 120ms.
Is there mistake in the datasheet?
Thanks
Show LessHello all ,
I want to design a custom pcb with PSOC5LP on it , but I want to eliminate
The need for an external miniprog3 programmer to program that PSOC5LP (I want to program it through USB connector ) ,
I don't want the 10pin header on my board ,
I have looked how they did that in the evaluation board's (psoc5 059 , psoc4 pioneer kit ) ,
I can see they have another PSOC device that they are calling (kitprog) that is connected to usb data lines ,
And this kitprog PSOC is connected to a target PSOC device with the SWD lines (see attached block diagram ),
I have a couple of questions regarding that :
1.can Any psoc device be used as an KITPROG device ?(I want a small as possible psoc package , psoc5lp only ? )
2.How do you program that initial KITPROG device ? (if I don't have the 10pin header and the miniprog3 )
3.Where is the firmware for this KITPROG device ? ( I can't find anything on this subject, but I guess you must have some kind of firmware in that KITPROG psoc device )
Can you share your experience with implementing a kitprog device in your boards ?
any other lines that you must connect between KITPROG device and TARGET device except SWD lines ? (like reset ? )
Thanks
Eyal Lampel
Show Less
Which software should I install on PC if I want to send/recieve data to/from CY8CKIT-059 by USB?
Hello
Is CYC8Kit059 - PSoC 5LP Prototyping Kit still active?
According to Infineon's website, Infineon has none and neither do their distributors.
Is it still being made? If so, whn might it be availabel?
If it isn't being made, what might be a good substitute?
What documentation shows how to program a CY8C5888 component, so I might be able to use them instead?
thank you
Show Less