PSoC™ Creator & Designer Forum Discussions
When installing PSOC creator 3.0_SP1 It goes OK until I'm asked to agree to the terms of service. A few minutes later I get a window that says "PSOC Creator Installer has stopped working" and it terminates. I got the registry cleaner from support, that did nothing. I'm running Windows 7 Home premium on an Intel Core I-5-2320 with 8 GB of ram. I have seen some development systems that can't handle multiple processors, but there's usually an option to lock them to one CPU.
PSoCCreatorSetup_3.0_SP1.exe is the file name as downloaded? Could that extra dot in the 3.0 be making it barf?
Show LessIf I have a pin connected to a schematic symbol (say a SPI Master block, for example), can I force the pin to a given state (high, low, tri-state) through software alone, or do I have to add a control register and mux to the schematic to do this?
My use case is a SPI Master talking to an external component, and the component has some very specific setup requirements that are not SPI. I'd like to wiggle the SPI MOSI pin and then "give the pin back" to the SPI module for normal SPI communications once my external component has been initialized.
I took a look through the pin datasheet and the resultant code generated, but I didn't see a way to do this. Adding a MUX and control register seems to be an awfully "heavy" way to do this.
Show LessIs there a fix or setting adjustment for the main.c main loop code created?
Every new project I create sets up main loop "void main()" which results in warning that main does not return "int".
So far I change the line to "int main()" and it is fine.
Thanks
Show LessI am learning about creating new libraries for custom components.
The lessons seem to add a project with Tab in the component catalog to existing projects.
Will these tabs be persistat in Creator (ie, available to all new projects). I'm not sure whether the library tabs will only show in the project which they wre created or will become part of the workspace for newly create projects (I want to have my components available for all new projects just like the Cypress components).
Hope this makes sense. I am new to PSOC and may not be using the correct terminology yet.
Show LessI am having trouble figuring out how to set up the UART Receive interrupt. I managed to get gthe example TX and RX code and modified for TX and RX ok but I need to do the following and not sure how to set this up and how to access variables in the interrupt.
I have 2 applications. The first is as follows:
State Machine within RX interrupt as each Byte is received.
The RX pin is continuously toggling. A leading and sequence of bytes marks start of packet so I need to discard unwanted bytes until the lead-in sequence is detected and then gather bytes into a buffer until the correct number of bytes is received.
Do I just set the RX buffer to minimum so the program generates interrupt on each RX byte and then put my state machine into UART_RX.C ?
The second application is simpler in that it can receive the entire packet bvefore I need to process anything. But this one I want a timer to be reset every time a byte arrives and then 20ms after last byte the timer will expire and I set a flag to indicate DatainBuf. Alternately I can change packet structure if the PSOC has some sort of standard component tha can use XON/XOFF for packet reception.
The packet lengty is dynamic.
Thanks
Show LessAttempting to become familiar wthe the PSOG, I have run up the example UART programs and they all run ok for RS232.
I also tried the USBUART and though it ran the driver did not install correctly. When I look in the Devices Manager (Windows 8.1 64 bit OS), I see the "USBUART" component and the yellow error icon showing it was not installed correctly.
The example program steps shown on the main page in Creator just shows to set the power to 3.3V and plug the USB into PC and identify assigned port in Device Manager, but not what to do if it does not install the driver correctly.
Thanks again for your help
Show LessHi all,
Is there a way to calculate the execution time of a routine or part of a program (between two breakpoints)? Such as a stopwatch or so?
I hope anyone can help!
Rob
Show LessSuggestion for input pin options, both analog and digital,
offer a setting that biases the input to Vdd/2. This is to
facilitate AC coupling of either digital or analog signals.
Of course this has impact on power, eg under certain situations,
pin left floating, input structure would draw current, both the divider
and the N-P CMOS input transistors.
Regards, Dana.
Show LessGood evening,
I have a PSoC5LP design that I'm failing timing on and I've traced it down to the ADC_SAR_SEQ component macro. The component allows me to select an external clock, but the bSAR_SEQ component inside is always using BUS_CLK, and this is where I believe the timing violation is occuring. My BUS_CLK is 64MHz and rather than reduce the speed of the entire bus, I'd like to slow down just this component.
I can hack around it by copying and pasting this component and creating my own, but I was hoping there is an official or at least condoned method to taking an existing macro, modifying it and using it for my designs.
Show Less