PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
I wonder how big a design one can make with the UDB in the PSOC5 LP. I use Xilinx Spartan/Virtex parts often but PSOC5 is very interesting to study. How big can one make with a single UDB in terms of ASIC gates? Can 24 UDB be combined to make a bigger design?
Show Lessso, I have a schematic design that I want to turn to verilog, and interface the verilog to the microcontroller. right now, the MCU is not involved, it's just a simple sequential logic design. I found the verilog file that gets created upon "build" and pasted it into a newly created source in the design. however, I don't think the design is working now. I also want to expand it to communicate with the microcontroller, and I have no idea how to do that.
does anyone have a simple example of this?
Show LessI'm a beginner using PSOC 3 to complete a project for my masters. I've been trying to use to the Uart_PutArray function to transmit an Array to the PC using Uart.
here's some code I've used to simulate an application segment
#include <project.h>
#include <stdio.h>
#include <stdlib.h>
uint8 count[256];
uint8 channel;
int i,x,j;
int main()
{
CyGlobalIntEnable; /* Enable global interrupts. */
init();
for(j=0;J<10000;j++)
{
channel=rand()%255;
//UART_1_PutChar(channel);
x=count[channel]+1;
if(x>=0&&x<255)
{
//x=count[channel]+1;
count[channel]++;
//UART_1_PutChar(x);
//UART_1_PutChar(0x0A);
//CyDelay(200);
}
else
break;
}
UART_1_PutArray(const uint8 count[],uint8 256);
}
void init()
{
UART_1_Start();
for(i=0;i<=255;i++)
{
count=0;
}
}
/* [] END OF FILE */
Hello everyone,
I have the following issue,
I am using a mixer in order to rectify the sine signal. But, the output is not rectified. In fact, it is just flipping (or just changing polarity).
I have the following configuration:
Mixer Input frequency: 50Khz
Mixer local oscillator input (LO): 50Khz coming from PWM.
Reference : Vdda/2
Both signals are in phase, components are started correctly.
I don't really understand where the error lies.
Looking forward for your suggestions.
Regards
Awais
Show LessAn awaited and awesome appnote is here!
Link : http://www.cypress.com/?rID=57561
Enjoy the power of the PSoC! 🙂
Show LessHello.
I am attempting to utilize the PSoC 5LP device family in a series of projects, one of which requires operation near a magnetic field (there's a reed switch nearby) and I was wondering if Cypress offered any design review services for this as well as for a few other projects. I have experience designing PCBs, but nothing that requires a significant level of detail (fine pitch parts and mixed signal designs), and instead of trying and failing a few times as I like to do, I'd rather invest the time and money upfront to get some experience.
Please note that I utilize both KiCAD and Eagle as the company I work for does not manufacture many electronics products and therefore the purchase of more elaborate, feature rich softwares such as PADS, Altium, or Allegro are not accessible to myself. Also, I have already developed the firmware for almost all of these projects I have, utilizing the CY8CKIT-059.
Thanks in advance,
Adam
Show LessHi all,
At a test stand we have 40 analog signals coming from voltage dividers.
The problem is that the resistances are very high. The variable resistor, connected to 24VDC, is about 10MOhm, the resistor over that the voltage is measured is 1MOhm.
I have verified by using PSoC Creator that I can configure a CY8C5868AXI-LP035 so that its ADC_SAR has 40 single ended inputs.
The signals change very slowly (temperatures). The measurement may be slow, 100ms or less per channel are ok.
However, I am not sure about the input resistance of the ADC_SAR. There is a very low current flowing through the voltage divider, about 2µA. If the input resistance of ADC_SAR is not extremely high, the input resistance will introduce an error and reduce the measured voltage significantly.
1) What is the input resistance? Can it considered to be constant so that the error introduced by this resistance can be calculated?
We could use OpAmps as impedance converter / voltage follower (I am German and am not sure if this is correct in English; in German it is "Impedanzwandler" and "Spannungsfolger"), but then we would need 40 of them (I know there are ICs with 8 OpAmps).
2) The PSoC5 has 4 OpAmps on board. Can they be used as impedance converters / voltage followers between the multiplexer part of the ADC_SAR and the ADC part?
Thanks for input,
Turtle
Hi.
I had similar problems a number of times already with different projects.
Right now my problem is:
I have a design for a BLDC motor controller, which works without problems. Now I'm trying to add UART component. Actually, I'm not even adding it, I'm re-enabling it, because I've already used it before in this design.
There is no physical connection between this UART and any other component in the design (it's only connected to TX pin, RX pin, and an ISR), but after I add it, something happens and the design becomes unusable. Either state machine of the motor controller is altered, or the PWMs are somehow changed, but it just doesn't work anymore.
What does "help" is disconnecting the TX pin from the component, but then I can't use the UART... Tried to use a different pin for TX - didn't help.
The stupid thing is that I've already used this UART before in the design. Same UART, same pins. Just disabled it at some point and now try to use it again.
As I've already said, it's not the first time I have a similar problem with various designs. But in this design I don't know how to work this around, because the UART is stand alone and is not connected to anything else.
Please help!
Show LessHi
I wanted know,
1. Is there is a way to read the PSOC Programm Flash (which is upto 256K in PSOC-5 devices) in which the compiled program is stored. Also how to know the end of programm.
2. Can I assign any ISR a fixed location in Flash.
3. Can an ISR or function be loaded for the main program as a separately compiled PSoC project.
Regards
Ajay
Show LessGood day to you all,
I am fairly new to psoc and am currently working on a precursor to another project. The system is meant to work as follows;
Two pwm's are to generate a single short pulse "start" and "stop" respectively and these are to be sent to a coarse counter (I used a timer in this case) and the timer is meant to count the period between the start and stop signal (hence I used a logic 'xor' for the enable) and generate an interrupt which prints the output through the uart. But for some reason I get nothing at the output.
I have already tested the uart to confirm it works separately. And I have also confirmed the appropriate pulses are being generated by the pwm's with an oscilloscope so I am at a loss as to why the enable condition is not being met. I have attached the project to this post in hopes that someone can give me clarity as to what the problem could be.
p.s. In case you wonder where the interrupt definition is, it is in the isr_1.c page under the CY_ISR function.
Show Less