PSoC™ 5, 3 & 1 Forum Discussions
Hello
I want to communicate between CY8C5888LT-LP097 and PC using USBUART.
3V power is input to the CPU power supply.
●Does the CY8C5888LT-LP097 step down to 3V internally for 5V input?
(Can I connect directly to the connector without the need for an external regulator?)
●What are the required settings in PSoC Creator?
Best Regards
Hayato
Show LessI am using an external Xtal Oscillator of 20MHz +/- 0.01% as BUSCLK. I'd like to use a Counter component (32-bit UDB up counter) to count at the 20Mhz rate. This example works if I derive a CNTR_CLOCK of 5MHz (or lower) from BUSCLK:
If I use a derived clock of 10MHz it doesn't work. I think that is because I'm sampling 10MHz at a 20MHz rate.
I'd like to just pass the 20MHz BUSCLK into something like the Counter component to get the precision and dynamic range for the interrupt I need.
I have attached the entire project.
Curtis
Show LessI just installed PD 5.4 SP1 on Win10. The installer for Adobe SVG failed. Ok, I googled and found the following posts:
Install PSoC Designer 5.4 fail - svg viewer
These point back to Adobe, but the link to download the file is broken. Apparently Adobe has deleted that file. How am I supposed to use Psoc Designer??? The chip view/edit function doesn't work without SVG.
Show LessHi all,
I am attempting to read the speed of a dc motor using a disk encoder which causes an opto coupler to generate a square wave based on the slits on the disk. My question is this:
How do I read the frequency of the pulse train generated by the device?
Show LessHi all,
I am planning on using the following MCU:
I want to be able to lay it our on a PCB along with other peripherals. I had a question regarding the programming:
Would I be able to use the breakout programmer from a PSoC kit?
Show LessHi everyone!
I'm experiencing issues with SPI communication. The objective of my project is to display the temperature on the LCD screen, using PSoC as SPI Master, and a TC72 as SPI Slave. My project is joined to this message, and so are the datasheets of SPIM component and TC72.
Starting data tranfert.
I do not understand how to initiate the data tranfer from the SPIS to the SPIM. According to the TC72 datasheet I think SPIS will send data if it receives a high level on « CE », but I don’t know how to send it. I’ve trying to send not(SS) as SS seems to be Low when MISO data are received, but it’s not a good solution apparently. I didn’t find code example.
When I observe the signals, SCLK is always low, SS is always high so CE is always low. Well, you can imagine that nothing else happens!
Receiving data
Once I’ll be able to receive data from TC72 (hopefully), I guess I’ll just have to read the SPIM Rx buffer and to translate it from Hexadecimal to temperature following the TC072 datasheet.
Material:
PSoC5LP CY8KIT-050
PSoC Creator 4.2
Component : SPIM v2.50
Pins connection:
SPIM SCLK --> TC072 SCLK
SPIM MOSI --> TC072 SDI
TC072 SDO --> SPIM MISO
Not(SPIM SS) -->TC072 CE
5V --> TC072 VDD
GND --> TC072 GND
Thanks a lot for your help,
Best regards,
Emma.
Show LessI'm trying to acquire the voltage from a potentiometer so I can use it as a rotary switch. I'm using the CY8CKIT--059 PSoC 5LP Prototyping Kit. The pot is connected to 5VDC and the wiper is connected to P1.7. I can see the voltage go from 0 to 5VDC at P1.7 as seen with an o'scope. I've dropped an analog pin and ADC_SAR into the design and connected them.
Here is my main():
int main(void)
{
volatile int8 pot_in;
CyGlobalIntEnable; /* Enable global interrupts. */
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
ADC_SAR_1_Start();
for(;;)
{
/* Place your application code here. */
if (ADC_SAR_1_IsEndConversion(ADC_SAR_1_RETURN_STATUS) != 0)
{
pot_in = ADC_SAR_1_GetResult8();
(void) pot_in;
}
}
}
It never seems to end the conversion and get to ADC_SAR_1_GetResult8(). I know I'm missing something simple.
The project is attached.
Curtis
Show LessAs you can see above the #define does not become active as I run the Build command.
The error prj.M0120 Build error: is generated instead,
I am using PSoC Creator 4.2 (4.2.0.641) in a PSoC5LP connecting the Character LCD (multi-Port) [v1.4] to a 2x8 LCD display and interact with and ADC.
Please help with information on what is preventing this directive for executing. Attached is my project.
I am not sure what Community to direct this to for a hopeful prompt reply/comment.
Thanks!
Show Lessi want to measure frequency of AC signal.
the problem is showed below.the blue waveform is from comparator output.the yellow one is cennected to output of sensor.
how to eliminate the bounces?
the blue one of upper picture is 'comV' which drive mode is set to Resistive Pull Up & Down.
the underneath one is set to Strong Drive.why are they different?
Show Less
Hi
I'm wondering if any else is finding a problem with the CY8C29866 flash.
We are using it as a control processor on card, that is used to monitors a larger system.
Intermittently, we find the internal flash is becoming corrupt. To a certain degree the processor continues to run, but acts odd or unstable. Using the programmer we sometimes find the actual checksum has changed but not always.
We haven't identified a particular cause or event prior to the corruption, but the only way to fix the problem it is to reprogram the flash. Then it works for a while, but can become corrupt again.
There is an Errata about ensuing the device is programmed above a certain voltage, because the flash will become corrupt. We do ensure the voltage is correct, and we are still having problems. There is no writing to the flash in the code.
Thanks
Show Less