PSoC™ 5, 3 & 1 Forum Discussions
Hi Guys,
I have need to latch an event, I thought this would be very simple but it is putting up quite a fight! Firstly I tried to make an RS type flip flop from two NOR gates, this refused to latch at all for some reason. I am guessing the async logic is synthesized by use of sync-subcomponents? Anyhow, it really didn't want to play.
So, I tried to hook up a D type flip flop and turn the clock off by means of an AND gate and the negated output of the d-type. (As attached) This seemed to work, right up to the point where I connected the D-type output to the clock input so again it looks like some kinda race condition.
I need a fast acting latch, that I can reset. any ideas? It seemed such a simple bit of the circuit...
Rob
Show LessAs the subject name says , How can i use the function "sprintf()" in PSoC Designer ,thanx!
Hello:
I'm working on a project and I'm a little new with PSoCs. I would like to know how to set up a timer to hold a signal ON for 30 seconds. In my application, I would like to push an activation button and provide a 5V signal for 30 seconds and then turn it off. Also, I would like to have an Override button that will turn OFF the process at any time. Any help would be greatly appreciated!! I've provided the code I'm working with so far.
while
(1) // Run the loop forever
{
{
if ((PRT1DR & 0x01) == 0x01) // Is Bit 0 high? (Manual Override)
{
PRT2DR =
0x01 ; // Output this value}
else if ((PRT1DR & 0x02 ) == 0x02 ) // Is Bit 1 high? (Activation Button)
{
PRT2DR =
0x02 ; // Output this value}
else
{
PRT2DR =
0x00 ; // Output this value}
}
Show LessHi all,
I am a complete noob when it comes to PSoC.
How can I dynamically set a GPIO pin as input or output, as and when needed (as in the 1-wire protocol) on the PSoC 5?
In the 1-wire protocol, I have to pull the line low for a certain amount of time, and then "release" the line by setting the pin as an input, and then read the value on the line.
Can anyone please help me with this?
Show LessHello there,
I just want to know what the development kit will delivered for this PSoC5 contest?
I need to start to looking for it possibilities of hardware and the build components on the PCB of this KIT.
Kind Regards,
electronix79
Show LessAnyone one tried implementing DMX512 on PSoC3/5?
I recently completed a DMX512 LED driver board with CY8LED16. The project is done within a week. Thanks to the available resources and flexible PSoC architecture. The is my first PSoC based project though I knew it eight years ago. I still have the first-generation PSoC ICE. I just received the CY8CKIT-001 kit.
Show LessHello,
i want to display a ADC result in decimal on the display. I have found something to display in float but not in decimal.
char *pResult; // Pointer used to store the result returned by ftoa function
int iStatus; // Status variable for the ftoa function
LCD_Position(1,5);
pResult = ftoa(ADC_value,&iStatus );
LCD_PrString(pResult);
regards Alex
Show Lesshey ,i'm trying to make a project on power-line telephony..i've read many articles on PLC but couldn't arrive at what all hardware is required alongwith the PowerPSoc to go about in this project...pls guide me
regards
Show Less