PSoC™ Creator & Designer Forum Discussions
I deleted the Programmer directory without uninstalling and now I can't
install PSoC Creator 3.0. It tells me Programmer is already installed.
So, I have to go to the registry and try to find all of the entries I need to delete.
Does Cypress have a tool that performs a full uninstall of all of the components?
Thanks,
-Ryan
Show LessHi,
Quadrature Decoder function SetCounter() does not accept negative values (positive values are fine).
Example:
QuadDec_SetCounter(-1); //can't set counter to a negative value
sprintf(strMsg1,"counter_val=%d \r\n", QuadDec_GetCounter() );
SW_Tx_UART_PutString(strMsg1);
reading counter value in the above example returns -32767.
What I want is to limit counter values to some bounds, e.g. -100...+100.
Regards,
odissey1
QuadDec_v2_30 (16bit)
Show LessA suggested addition to component, an output that is the clock used
to generate the waveform, and an equivalent for wc1/wc2 for the
start of the waveform.
Regards, Dana.
Show LessIn the API description the following appears -
cystatus Em_EEPROM_Write (const uint8 srcBuf[], const uint8 eepromPtr[], uint16/uint32 byteCount)
This indicates the source buffer must be in code memory, which would not be generally useful.
In fact if the srcBuf[] is declared as a RAM location, not as const, the module works fine. So
this appears to be a datasheet error.
I have not checked the other datasheets, probably typed with same error.
Note this is also compounded by GCC after 2.5 (I gather) requiring the _attribute modifier be used
for placing stuff in code memory/FLASH. Which would make the const uint8 eepromPtr[] also typed wrong ?
Even though typed that way it does work. The open source compiler curse in action ?
Regards, Dana.
Show LessCan I change UART Component's baud rate at runtime by Application Programming Interface?
a number of times there was a problem:
I'm creating a project for CY8C5868AXI-LP035 - project works without errors.
Then I do: Project-> Device Selector ... CY8C3866AXI-040
after compilation:
Build error: unprintable character 0xEF skipped main.c line1
Build error: unprintable character 0xBB skipped main.c line1
Build error: unprintable character 0xBF skipped main.c line1
I had to create main.txt, copy the text from main.c and rename .txt to main.c
Why???
Hi,
I have upgraded to PSoC Creator 3.0 SP1 and have set about clearing up warnings.
I'm using an ISR to do millisecond timing. The prototype is CY_ISR_PROTO(MyInterrupt) ;
The function is CY_ISR(MyInterrupt) { ... }. There is red circle in the margin that displays the message "expected function body after function declarator". I've tried several things and have gotten the error to go away but it breaks my USBUART. It must have something to do with the CyGlobal interrupt because the ISR itself stops working.
The program works with the error message but I would, as a matter of course, like to resolve the error.
Nick
Show Less