PSoC™ 5, 3 & 1 Forum Discussions
Hi everyone.
A design I am working on just now uses PSoC5 as the main processor.
The client would like to add basic ethernet functionality to the system. In other words, they would like to be able to connect to a server socket on the system and have a basic command and control interface. An embedded webserver is NOT required.
So, what methods have you all used for adding ethernet functionality to PSoC designs?
Should I use something like a PIC18F and connect it to the PSoC with something like I2C?
Any other suggestions / ideas?
Show LessHi evetyone! I´m new here!
I have to build a PCB with cy8c5888lti-lp097 .I use kicad , someone knows where could I find cypress libraries to work with?
thanks
Show LessHello,
the situation gets weirder and weirder. TRM (page 398, chapter 38.2.1) says:
The input selection, both positive and negative, is made through the
input selection mux, which can be controlled through either
the SAR routing registers in the analog interface or through
the UDB. Setting the SARx_CSR[4] bit takes the positive
input through UDB and clearing the bit takes the positive
input through registers. Similarly, setting the SARx_CSR[3]
bit takes the negative input through UDB and clearing the bit
takes the negative input through registers.
So there is the attached project which attempts to do exactly that. It compiles with a bunch of warnings, e.g.
Warning: Can't find signal in jack map: Net_39_3
or:
Warning: Signal Net_39_0: No path found from Net_39_0:macrocell.q to SAR_1.vn_ctl_udb_0
I don't see anything obviously wrong with the (not very sensible) project, so what's going on?
Show LessThe manual says that the input sources of a SAR ADC can be set via registers or via the dedicated hardware signals. I can barely find the meaning of the register settings in the documentation (e.g. in SAR1_SW1 there is vp_ag7 Connect positive voltage input to analog global of same side), but how does it work in the case of UDB?
In SAR1_CSR1 there is swvp_src SAR positive input routing control source:
Value Name Description
1'b0 SAR_SWVP_SRC_REG ANAIF SAR routing registers
1'b1 SAR_SWVP_SRC_UDB UDB
Say I set it to SAR_SWVP_SRC_UDB. Then the cy_primitive SAR provides a 4-bit vp_ctl_udb input port and also a 4-bit vn_ctl_udb. But what is the meaning of the values encoded there? Let's say I want to connect vminus to VSSA by specifying a 4-bit value generated by UDB. What should the value be and how do you know it? I see nothing about it in the documentation.
Show LessHello everyone,
I've developed a new project with PSoC 5LP. The power supply of the SoC is 5V, but now I'm reviewing the project introducing a LDO set to 4.5V.
I would to know if I have to set in the project (in the system property -> Operation Conditions) all the row to 4.5 or I can keep 5V also working to 4.5V.
Which is the difference setting or not this parameters?
Thanks and regards
Show LessHello,
I have a particular question about CYCKIT-059 prototyping kit. How should a MHz XTAL be connected physically to the board, are there any designated pins like there are for 32kHz XTAL? Is there any info on load and shunt capacitance that fits this particular kit (due to the pcb trace capacitance and similar)?
Show LessHas anybody tried to null the offset voltage of PGA in PSoC5 LP? I am working with very small signal and need to take care of PGA offset voltage. I tried to check offset voltage,.. which comes in the range of 9-12 mV for PGA (Attached project )
Please share the compensation circuit if anybody is having tried it.
Thanks in Advance!!
Show LessHi guys. I am doing a project for the University that deals with PSoC 1, specifically CY8C27443-24 PXI. Here is the thing, I'm trying to print a float value on a 16x2 LCD with LCD_PrString() function, this function accepts as parameter a char *. Here is an example of how I print in the LCD.
float var_float=1.235456829; // this is the result of a mathematical operation, I do not know the exact value, this is an example.
char* var=ftoa(var_float, &status); // this function converts from float to char* in order to show the number on the LCD
LCD_1_PrString(var); // this is the function for printing on the LCD.
The problem is that the number displayed on the LCD has several decimals and I want to round it only in 2 or 3 decimals. The result I have in the LCD is, for example: 15,12399999999 (always with a lot of 9s at the end of the number). How Can I solved this, I've tried with several examples from internet and it does not work.
Thanks in advanced and sorry for my English, I am from Cuba.
Show LessHi all,
I do have a (most likely) trivial question for you guys :
I need to catch data from a microprocessor bus and hence I want to utilize DMA transfers in order to address the latency requirements.
The input for the microprocessor bus is realized with 8 digital pins (with contiguous setup) and the question is how to supply the source address (pointer) to CyDmaTdSetAddress ?
We have :
DMA1_DmaInitialize(DMA_BYTES_PER_BURST, DMA_REQUEST_PER_BURST,
HI16(DMA_SRC_BASE), HI16(DMA_DST_BASE));
In there DMA_SRC_BASE is defined as CYDEV_PERIPH_BASE and DMA_DST_BASE as CYDEV_SRAM_BASE
What I am missing is the correct source address setup for :
CyDmaTdSetAddress(DMA_TD[0], LO16((uint32)DTA__PS), LO16((uint32)da));
( da is the receiving char array ... no problem with that)
DTA is the group of digital input pins and the the header file suggest that DTA__PS will give me the address of the pin state register
/* Main Port Registers */
/* Pin State */
#define DTA_PS (* (reg8 *) DTA__PS)
But this doesn't seem to work.
Any suggestions ?
Thanks in advance, regards Achim
Show Less