PSoC™ Creator & Designer Forum Discussions
I have several variations of builds within the same project. I want to build to a file with a name other than the standard <project>.hex. Can this be done using the Project Settings menu? If so, how?
Show LessHi,
I am trying to use a Sample and hold component to hold constant a voltage in a circuit at certain times. The time period to hold the voltage isn't repetitive and is controlled from the API C code.
I tried doing this by setting the Sample and hold block "Sample clock edge" to "Negative" and the 'Sample mode" to "Sample and Hold".
I can't use use a clock entrance for "sclk" because I don't want to sample in a repetitive interval. For the sclk input I created a logical control signal that is logical high before I need to hold the signal and is changed to logical low when I need to to Hold constant a new Value from the Vin input.
This process repeats itself using a code loop that set the logical control signal to '1' in the beginning of each loop iteration
Unfortunately this doesn't seem to work and the Sample and Hold output seems to be stuck at a voltage close to 0V.
Do you have Any Idea how should I use the Sample and hold Component so that it would work properly?
Thanks
Show LessHi, does anyone know how to pass a pin to a function? For example, i've created a function called PulseIn() which will behave similar to the arduino function PulseIn() which measures the amount of time for which a pin is high. However, right now I'm only limited to use it with a single pin. I want to expand it to be more flexible where I can pass the pin to the function and it will do its thing based on the desired pin.
Ex: int duration = PulseIn(pinName);
The duration of the pulse for the pin "pinName" will be saved to the int variable duration.
thanks!
Show LessI'm trying to resolve a timing violation reported by Creator 3.2 SP1 (3.2.0.6175) with the CY8C5868AXI-LP035. Please refer to the attached schematic page.
I'm driving all of the counters an the SRFF from the same SampleClk (32MHz, derived from the 64MHz PLL output). I'm getting a timing violation from the "TC" output of B3Counter to the Q output of the SRFF. The violation is an async path. The source clock is "CySampleClk(fixed-function)" and the destination clock is "CySampleClk".
Aren't these the same clock? Is there something goofy going on internally when using a fixed-function timer implementation? If I remove the SRFF and connect the "TC" output directly to the MUX selector input I get no timing violation which is also confusing. I am using a fixed-function timer implementation as I'm out of UDBs.
Also please ignore the implementation bug where I'm using B2Counter's TC pulse output to drive the enable signal of B3Counter. The issue at hand is the async path that I can't rationalize nor figure out how to correct.
Show LessHi,
I am trying to use a Sample and hold component to hold constant a voltage in a circuit at certain times. The time period to hold the voltage isn't repetitive and is controlled from the API C code.
I tried doing this by setting the Sample and hold block "Sample clock edge" to "Negative" and the 'Sample mode" to "Sample and Hold".
I can't use use a clock entrance for "sclk" because I don't want to sample in a repeatative interval. For the sclk input I created a logical control signal that is logical high before I need to hold the signal and is changed to logical low when I need to to Hold constant a new Value from the Vin input.
This process repeats itself using a code loop that set the logical control signal to '1' in the beginning of each loop iteration
Unfortunately this doesn't seem to work and the Sample and Hold output seems to be stuck at a voltage close to 0V.
Do you have Any Idea how should I use the Sample and hold Component so that it would work properly?
Thanks
Show LessHello,
Got a "DEL: pft.M0028: warning: Clock Warning: (No elaborated design information exists for the project 'MME2_V0-3'. Not all DRCs could be run on 'Clock2MHz'.)."
What these esoteric acronyms stand for?
-DEL?
-pft?
-DRC?
Michel
Show LessHi,
I have installed Cypress SDK linux version recently.
I am getting a warning if add a sample project to the sdk.
Invalid project path: Include path not found (/fw_lib/1_3_3/inc). Cx3UvcOV5640 pathentry Path Entry Problem
If i try to build here is the error
fatal error: cyu3system.h: No such file or directory cycx3_uvc.c /Cx3UvcOV5640 line 33 C/C++ Problem
make: *** [cycx3_uvc.o] Error 1 Cx3UvcOV5640 C/C++ Problem
You can find the screen shot attached..
Help to clear this...
Show LessHello, I am new to embedded code and PSoC Creator as well. I am embarrassed to ask such a basic question but I must as I am just not sure how to proceed. I am using the SPIM component from the library and I want to communicate over the SPI to a MPL115A Barometer.
The format of the write is address then data, such as (0x20, 0x00). Now the description for the SPIM write function is as follows:
SPIM_WriteTxData() Places a byte/word in the transmit buffer which will be sent at the next available bus time. So how do I perform an address then data write, would it be 2 writes such as, void SPIM_WriteTxData (uint8, 0x20) then void SPIM_WriteTxData (uint8, 0x00)? this seems like the long way to do something. I have some sample code for the adruino that shows: write (0x20, 0x00).
So I am sorta confused. Any suggestions/help would be appreciated. I hope my question made sense. Also one more question, do I have to declare a function prototype for each SPIM function I use?
Thanks
Show LessI'm using Touch Tuning Host Emulator(TTHE) and usually program using the touch Programmer which is implemented in the TTHE tools.
Just wonder is there any difference by using this way versus using PSoC Programmer?
Tran.
Show LessHello Community,
I am working PSoC 5LP and I am still a beginner so I hope my problem is a simple one for you. I managed to let my attached lcd display show me the results of a simple resistance measurement. I want to collect the values of my measurements for further studies. Therefore I am also using a hyperterminal to watch my output data. So far this is no problem. But unfortunately the display only knows hex-code. So by using hex-code for the lcd display for a degree sign I totally mess up the output data which is shown on the hyperterminal. So my collected data is not usable anymore.
Now my question: How do I manage I get my measured data correctly shown both on my display and in the hyperterminal.
Basically I think the output data is coming first, just the values the PSoC is throwing out. And secondly the lcd display is taking the data and is showing them. Is this simple line of thought right or am I totally wrong?
Thank you very much in advance for your answers!
Show Less