PSoC™ 5, 3 & 1 Forum Discussions
I've been struggleing with how to add a timer to a loop that will exit after a discrete amount of time (say 10 seconds).
What I have going on is I'm collecting input from an RS232 interface to fill up a string (that includes a checksum at the end).
The loop exits when the checksum is received. I also want to exit if I don't receive it after a discrete amount of time (that 10 second value above).
I tried to implement it using a 8 bit counter that was clocked by a 1 seconds clock with the result that I could get the counter value to 10, exit, but never able to reset the counter back to 0 for the next pass (kept exiting every 10 seconds
How do folks that do this type of thing implement implement a time so your not stuck forever in the serial processing loop forever with garbage in the string buffer?
Show LessHai,
i am tring to communicate from PC hyperterminal to PSOC 3. I configured the UART in interrupt mode. I am printing the received character on the LCD screen. when i type '1' on the hyperterminal, i could receive the '1' (49 ascii) at the UART. But when type '1' repeatedly, it receives a meaningless character('177') alternatively. i attached the code also. Let me know whats my mistake (UART without interrupt mode works OK).
From an old conversation i downloaded the bob's following example code and i tried with my hyperterminal but iam getting the simillar error.
regards
kavin
Show LessHi Ppl, here is an interesting blog on creating components by Brad Budlong . The links to the videos are mentioned there also. Many people might already know it, for people who does not know this, please take a look at this blog.
Regards,
Rahul ram
Show LessThis app note should take you to the next level in PSoC
http://www.cypress.com/?docID=39790
Show LessIn the DVK CDROM, schematic, and user manual, one cannot find what pins
on PSOC 3 UART is connected to. There is no table of pin assignments in user
manual, and schematic does not show relationship of pins on RS232 translator
to PSOC pins.
Via a painful open up an example project, one for Rx, another one for Tx, I can find
those pin assignments (assuming example project is correct), but not the other
UART pins, CTS......
So, the 4 pins for UART usage, what pins are they tied to on PSOC 3 DVK ?
Regards, Dana.
Show LessHi
can I use the Cy8C55 Processor Module wich is inkludet in the CY8YKIT-001 witout the dev-Board.
On the Module is a pin called VBAT and there are 2 GND pins.
If its possible how many Volts can i connect there.
Show LessThe Registers TRM makes mention of USB clock-locking, but does not specify the location of the USB_LOCK bit. Is there clock-locking in the PSoC 5 architecture? It's not mentioned in the Architecture TRM, but then that wouldn't be the first omission there. 🙂
Show Lesshi ...
i am not understanding what's the use of DSI user clocks in psoc 3......
In the following document,
www.cypress.com/?docID=38964..... In page 5 it is mentioned that, "to use digital signals as clock sources in the DSI, they should be named in the PSOC creator schematic interface".....
my doubt is what's the input we should give at this Digital Input pin.....to generate the required frequency signal.....
my requirement is to generate 4MHz signal with /- 0% accuracy without using XTAL.....however, this accuracy may not be possible with IMO....thats why iam looking at this DSI.... so, can any one please help me what is its usage and how to configure it...
Show LessFor my application, I need to take note of any level transition in the GPIO port. The program within my ISR currently exceeds the time of the next transition. To solve the problem, I cleared the interrupt right at the start to allow the GPIO port to react to another level transition. As an example with the code below, switching the clear_interrupt from the first line and last line allows me to obtain a delay of 10 seconds when I press and release a push button. What I want to know is if this method has reacted to what I had expected?
cyisr_gpio(example){
clear_interrupt();
Delay(500);
}
Show Less