PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
I'm looking for some sample code or good documentation for unloading a USB endpoint to SRAM with DMA. The App note "getting started with DMA" is good but doesn't cover USB endpoints, the component data sheets also pretty much leave out this topic or just gloss over it with little explanation. The DMA Wizard doesn't support USB. Any suggestions on where else to look? Thanks
Show LessDear all,
Now, there are two sine waves,their frequency are 20Hz and 2000Hz.They can generated by WaveDAC8.Then,I want to modulate them in AM.It is easy to realize that in MATLAB/SIMULINK just by multiplying them.But how to reach it in the CY8CKIT-050? Mixer can only support the modulation about sine wave and square wave,isn't it ?
Show LessHello,
I'm testing UART RX interrupt in PSoC3.
I set UART configuration as attatched files.
After this, I don't unserstand why UART_1_RX_INTERRUPT_ENABLED is not changed to (1u).
----------------------------------------------------------------------------
#define UART_1_RX_ENABLED (1u)
#define UART_1_TX_ENABLED (0u)
#define UART_1_HD_ENABLED (0u)
#define UART_1_RX_INTERRUPT_ENABLED (0u)
#define UART_1_TX_INTERRUPT_ENABLED (0u)
----------------------------------------------------------------------------
So, I changed UART_1_RX_INTERRUPT_ENABLED to (0u) and get the error message as below.
- ERROR: .\Generated_Source\PSoC3\UART_1.c:342: 'UART_1_RXInternalInterrupt__INTC_NUMBER': undefined identifier
- ERROR: .\Generated_Source\PSoC3\UART_1.c:365: 'UART_1_RXInternalInterrupt__INTC_NUMBER': undefined identifier
Sure, I know UART_1_RXInternalInterrupt__INTC_NUMBER is not defined.
How can I use UART RX interrupt?
I don't know.
thnaks.
Show LessHi all!
This project is supposed to count all pulses lying in an amplitude window in two parallel channels C1 and C2 for 10 seconds. Both C1 and C2 are supposed to report counts independently in their programmed window and keep updating and displaying on PC through a USBUART interface.
One problem that has been persistent is that quite often one of the channels C1 or C2 measures 65535-n counts instead of n counts. It settles in some time but appears randomly. Default amplitude window for channel 1 is 1to 1.5V and for channel 2 is 2 to 2.5V. The data is attached as a text file as well as the project.
Please see
thanks
Neha
Show LessHello Guys,
I want to use the Conversion Ready Interrupt of the ADCINC Modul.
I write this small code (see Attachnment) to test this Function. I think the ADC should increase the Counter-Variable each Conversion and every Second the Counter should be displayed on my LCD.
But it doesn´t work 😞
Can you please tell me my misstake?
Thank you very much!
Greetings
Daniel
I'm developing a USB-CAN bridge using the PSoC5LP. I can see from http://www.cypress.com/?app=forum&id=2233&rID=87297 and also from http://www.cypress.com/?id=4&rID=58952 that the PSoC5LP does not require an external crystal for USB communications, unlike the PSoC5.
The TRM states that when using USB with the 5LP the IMO clock frequency spec is +/- 0.25%. This is up from the (best case) +/- 1% for IMO at 3MHz and +/- 4% at 24MHz when not using USB.
My question is whether the +/- 0.25% frequency accuracy is good enough for reliable CAN communications, or if I still require an external crystal to reliably communicate with CAN.
Show LessCY8CKIT-001.I try the example:AN62582 - AM Modulation and Demodulation,I can't get correct modulation result. The clock_carrier'Vpp is 5V,i can't set it to 1V.The Mixer'output is truncated down.Please help.Thanks
Show LessHello all,
I'm designing an remote PSoC 5LP programmer (like the MiniProg 3, except taking in data from a network), using the Serial Wire Debug interface, and I'm having a hard time getting the PSoC5LP chip to respond to any commands.
I first decided to port the document project AN73054 to a language understandable by the host microcontroller using a bottom-up development method (lowest level functions first). I failed to get any acknowledgments back from the SWDIO signal early in development.
After that, I've decided to borrow another PSoC 5LP board, compile the AN73054 project on there, and program the the target PSOC 5LP board. I wired the signals directly from the host PSoC 5LP output (SWDIO, SUDCK, and XRES) to the target PSoC 5LP board, and I kept getting errors. I soon discovered that all of the SWD signals from the target board were floating without any kind of response to any signal (it was floating between 2.5 and 3.1 volts), so I figured that a circuit is needed for programming the PSOC 5LP, even though the document said nothing about setting up a proper circuit (or any floating signals or pullup/pulldown resistors).
I then followed this guide, which revealed that I should pull down SWDCK to ground and pull up SWDIO to VCC. I tested this with both 3.3 voltage and 5 voltage sources from the host PSoC, with no avail.
To clear things up, both the PSoC 5LPs are intefaced with the CY8CKIT-050 development board. Both of the chip models are the same (CYC5868AXI-LP35). I read the development kit guide, the device programming specs, and obviously the AN73054 document. I don't think any of these documents gave any PSoC programming circuit examples (except for the last page in the programming specs, but that just showed how to wire up the PSoC power sources, which I think the development kit already covered). I also wired both boards properly (VDDA to VDDD, and VSSA to VSSD). I tried looking up any example PSoC 5LP programming circuit examples, but the schematics for any third-party programmers along with the Miniprog3 were unavailable, and any searches came up with nothing. I don't know what I'm doing wrong. Could you please help me with coming up with a circuit? Sorry for the long message and any percieved rudeness, I'm new here.
Hi all,
I tried to automate my PSoC3 chip using miniprog3 Programmer. I used perl script that avail with the installer in that im getting interrupted with an error that
"Please, connect two PSoC3 devices or one PSoC5LP on JTAG chain. This example supports such default configuratuins.\r\n".
"If above statement is correct, then please check:\r\n".
"1) For PSoC3 chain ensure that DEBUG_PORT = JTAG (or SWD) in Custom NVLs.\r\n".
"2) For PSoC5 LP chain ensure that DEBUG_PORT = JTAG (or SWD) and DEBUG_EN = ON in Custom NVLs.\r\n".
"These options can be set in PSoC Creator project and reprogrammed by PSoC Programmer.\r\n".
"\r\nIf all above is correct but you need to support different number of device on JTAG chain, \r\n".
"then please update this example correspondingly.";
So hope this program cant help me anymore to automate my device coz i have only one PSoC3 devices. So anybody share me a perl scipt to program my one one PSoC chip
I have attached the program along with that.
Show Less