PSoC™ 5, 3 & 1 Forum Discussions
I am working on a board that uses a PSOC5 and a PSOC3 (48 Pin TSSOP) in combination in order to provide additional FPGA/FPAA resources. (field programmable gate array/field programmable analog array).
I plan on running the PSOC3 at a very low speed, hopefully burning less than 5 or 10 milliamps when up and running.
On the 48 pin TSSOP, the data sheet says the P1[2]_XRES line defaults to XRES functionality. Ok. check.
However, I read differing items about programming the PSOC3. First item I read is it requires JTAG for the first time program. (You can program the NVL's so it can be SWD from that point on.)
Afterwards, in documents and forums, I read in several spots that you can just program it using SWD from the beginning.
So, are the PSOC3's being sent out of the factory with SWD enabled? (Sounds good to me, if so)
Or do I need to create a carrier and program the part to allow SWD, then put it on my board?
Based on several hours of digging, HSSP is needed. (AN73054). Infineon has removed that code, but I found it. (I*n also nuked cypress DNS presence. Cypress was a good company. I will miss them.)
Finally, any suggestions for doing this? I'm laying out the board now. I am cramped for space 4" by 0.7" double sided, so only room for one 5 pin socketized connector. (I have not yet found a small connector 0.05 or 1.27mm that can take infrared reflow and then 350F heat repeatedly.)
Recommendations?
Thanks!
Show Less
Hello,
I'm interested in using the USBFS-CDC for communication in place of UART from kitprog port, I saw some simple examples with forever loop in main to read and write back the same input, and I tried it on the dev kit, it works fine, can be configed by the PuTTy for different baud rate, but for part of a big implementation, how do I utilize interrupt to read the USB-UART? Right now I tried to putChar to the USB-UART port and it hang the program.
TIA
Show LessPlease let me know how to obtain the source code version of the code that's pre-installed on PSoC 5s.
I want to understand specific features such as:
What specific features are included in the Bootloader that is pre-installed on PSoC 5 components?
Are all possible Bootloadable interfaces supported including: I2C, USB, UART, SPI...
What is the default Bootloader timeout set to?
How much space does the Bootloader take?
Is there an option to add passwords or keywords before bootloading?
...
Greg
Show LessI want to monitor an EEPROM address(es) when they modify by write. I set a memory breakpoint correctly and set the BREAK ON option to WRITE, the debugger does not break on there although after pausing the address value changes, on READ, it works fine but not on WRITE, Does anyone know what might be the option?
MCU: CY8C3866LTI-068
Debugger: MiniProg 3 version 2.05
WDT OFF, I am on 86% of FLASH and 66% of RAM.
PSOC model used: CY8C5868AXI-LP035
The relevant parameters of the crystal oscillator need to be set within the program Human attachment Picture:
Question: ① Should the settings of the red circle in the picture be set according to C0 and CL in the selected crystal oscillator data sheet?
② How much impact do the C0 and CL parameters set here (if not set according to the crystal data sheet parameters) have on the normal operation of the entiree
Hello everyone,
I am working on designing a 1A Voltage-Controlled Current Sink monitor (picture attached). In my design, I've used an opamp in PSoC Creator as a substitute for the LT1492, and I'm generating a sine wave from the WaveDAC for the input voltage (vin). However, the circuit is not producing the expected results as shown in the picture. I'm feeling a bit confused. Do I need to use the LT1492 externally, or is there another component within PSoC creator , like the Delta Sigma ADC, that I can utilize for this purpose? My main objective is to monitor the shunt voltage and compare it with a sine wave. If the shunt voltage exceeds the peak-to-peak value of the sine wave, I want a comparator or opamp (which is connected to gate of mosfet) to lower their output, which in result maintain/control voltage at shunt. The shunt resistor is attached at the source of the MOSFET.
I have attached a picture to illustrate what I am trying to say. If anyone has any insights or ideas, please feel free to share them.
i am using psoc 5lp
Thank you.
Show LessHi there !
I would need some help trying to get working this function .
I made a simple code that intent tokenize a char string with comma char as delimiter.
I tried to emulate the following code for PC and adapt it for PSoC5LP:
int main()
{
char string[] = “102*103;K1.2;K0.5”;
char *token;
token = strtok(string, “;”);
if (token == NULL) {
puts(“empty string!”);
return 1;
}
while (token) {
// print the token
puts(token);
// parse the same string again
token = strtok(NULL, “;”);
I can’t get the pointer point to the first char of each token.
I was wondering if there is some setting in PSOC Creator 4.4 that prevent from strtok operation.
Thanks for any help.
Show Less
I'm using readings from a Sigma Delta ADC as the control variable for a PID loop. It's reading across the sense resistor in a FET based current source. The gate voltage on the FET is process variable.
When I just feed a voltage into the ADC, I get accurate readings. However, as soon as I include the FET and current sense resistor in the circuit, I get bogus readings. The output of the system is stable, it's just at the wrong current. The ADC reads the control variable's value as equal to, or close to, the setpoint, but my actual output is off by as much as 200%.
I've been playing with this for a couple of days and I can't figure it out. The project is attached...If anyone can give me any insight into this, I'd be much obliged.
Mike
Show LessHi,
On a CY8C5888LTI, a large buffer (32768 bytes, shared by application and bootloader, marked as CY_NOINIT), crosses the 0x20000000 boundary.
The application clears all the buffer content (using a simple loop), then resets the device. At startup, the bootloader shows garbage in the buffer, starting from 0x20000000.
The application does not use DMA.
Could someone help me on this?
Show LessHi Everyone,
What happened to the "Find Code Examples"? In the past there was a LONG list of examples to browse, which would download on demand. Now there is a list of 14 examples, only, no option to download. For instance, there is zero examples for USB UART module. How do I get the examples back?
Thank you,
Errol
Show Less