PSoC™ Creator & Designer Forum Discussions
text.format{('custom.tabs.no.results')}
I install a new version og Psoc creator 3.1 and when try to view or modify the main code of my project and when arrive near to the 1500 line of code , the code it is 5000 line , it is not possible view the code in corretct way because the last line it is too long and it is a single line.
The problem it is present on any file that have a 1200.1500 line.
Incredible but the compilation work fine but it is impossible modify the file over the line 1500.
The previus version 3,0 not have this problem.
I try to install the the Psoc creator 3.1 on my portable computer e this problem not appair but on my portable computer it is not present other version of the Psoc Creator.
I working from two years with Psoc creator and not have never one problem and i developped 6 board using the Psoc5 and the Psoc4 with glad.
I think that this problem would to be caused because i have the all version , 2,2 to 3.1 installed on my computer.
The OS it is Microsot Windows XP service pack 3 italian version.
I attach the project for your analisis
Thank for your help
Giorgio T.
I experience a strange problem with PSoC Creator 3.1:
starting from a certain line in my main.c file, the editor displays all the remainder of the file on one single line.
Line breaks (CR+LF) in the .c source file are ignored and instead, the editor displays empty squares (see items marked in red in the following screenshot).
Nevertheless, the file compiles without errors.
How can I fix this erratic behavior of the editor?
And another question:
is it possible to permanently disable "Automatic Outlining" in source files?
Whenever I open a code source file, I find this option turned on.
Thanks for any help!
Show LessHi all,
Is there any way to use the CY7C65211 with the Capsense tuner application?
It would be really useful to connect the CY8CKIT-049 directly to tuner application using the onboard I2C to USB bridge.
I find it strange that the Cypress I2C Bridge software can't be used with the Cypress I2C to USB bridge chip...
Thank you,
Errol
A few words, just before the Aussies start the show:
I whish you all a happy and healthy new 2018!!!
We (here in Germany) celebrate this day usually with a "Feuerzangenbowle" although it is not too cold this year. At midnight we are allowed (only this day) to burn some fireworks and firecrackers, but due to our cats and dogs we don't do that. Tomorrow we have a day off (tribute to the Feuerzangenbowle) and we will start breakfast with a self-made "New Year's Bread" (sorry, no translation).
Again:
Happy new year
and may your code never fail!
Bob
Show LessHere is my experience with PSoC Creator 4.1
I was mostly encouraged to switch by release notes that promised "improved single step debugging" and updated components
My project has a custom board with peripherals ( magnetometer, accelerometer, etc) and a 224110-00 BLE
-Install and back up existing project went without issues.
-Same for updating the components that were out of date.
-Got multiple compile errors in the code that uses the I2C component. The API signatures changed. A timeout_ms value was added to all calls and the read byte call now takes a pointer to the byte and returns the status code
While somewhat annoying to fix - I understand that this is an improvement that makes the code more robust and prevents deadlock situations (which I actually saw myself with my peripherals)
However the next hurdle proved to be a show stopper.
The debugger cannot detect my board in the MiniProg3
PSoC creator 4.0 and PSoC Programmer detect it just fine.
Tried multiple computers (all Windows 7) and multiple USB ports.
Unfortunately I don't have much time to experiment with the tools and had to roll back to 4.0 update 1 so I can continue with my work.
I would appreciate some suggestions/feedback
Thanks
Andy
Show LessHello everyone;
I am writing smartcard using i2c communication in PSoC 3. when debugging code i got the following error . such as syntax error near uint8. Actually uint8 is a valid data types in psoc compiler.other error is ``buffer" undefined identifier .but buffer is already defined. why it show like this. I searched internet about this error but i can't get answer.. Please help me .
main.c
#include "project.h"
#include "I2C.h"
uint8 a,zone;
int main(void)
{
for( zone=0;zone<5;zone++)
{
uint8 set(uint8 address, uint8 *Data,uint8 Num);
}
CyGlobalIntEnable;
}
uint8 set(uint8 address, uint8 *Data, uint8 Num)
{
Num=3;
address=0xB0;
if(zone==0)
{
uint8 buffer[]={03,00,00};
Data=buffer;
}
else if(zone==1)
{
for(a=0;a<3;a++)
{
Data=0;
}
uint8 buffer[]={03,01,00};//syntax error near 'uint8'
Data=buffer;
}
else if(zone==2)
{
for(a=0;a<3;a++)
{
Data=0;
}
uint8 buffer[]={03,02,00};//syntax error near 'uint8'
Data=buffer;//undefined identifier
}
else if (zone==3)
{
for(a=0;a<3;a++)
{
Data=0;
}
uint8 buffer[]={03,03,00};//syntax error near 'uint8'
Data=buffer;//undefined identifier
}
else
{
}
return 0;
uint8 I2C_Send(uint8 address,uint8 *Data,uint8 Num);//syntax error near 'uint8'
uint8 writezone(uint8 address,uint8 *Data,uint8 Num);
}
uint8 writezone(uint8 address ,uint8 *Data,uint8 Num)
{
address=0xB4;
if(zone==0)
{
Num=8;
for(a=0;a<3;a++)
{
Data=0;
}
uint8 buffer[]={00,00,05,00,07,03,04,03};
Data=buffer;
}
else if(zone==1)
{
Num=0;
Num=7;
for(a=0;a<8;a++)
{
Data=0;
}
uint8 buffer[]={00,00,04,00,07,03,05};
Data=buffer;
}
else if(zone==2)
{
Num=0;
Num=6;
for(a=0;a<7;a++)
{
Data=0;
}
uint8 buffer[]={00,00,03,00,65,73};
Data=buffer;
}
else if(zone==3)
{
Num=0;
Num=5;
for(a=0;a<6;a++)
{
Data=0;
}
uint8 buffer[]={00,00,02,74,76};
Data=buffer;
}
else
{
}
return 0;
uint8 I2C_Send(uint8 address,uint8 *Data,uint8 Num);
uint8 Readzone(uint8 address,uint8 *Data,uint8 Num);
}
uint8 Readzone(uint8 address,uint8 *Data , uint8 Num)
{
address=0xB2;
Num=3;
if(zone==0)
{
for(a=0;a<8;a++)
{
Data=0;
}
uint8 buffer[]={00,00,05};
Data=buffer;
}
else if(zone==1)
{
for(a=0;a<7;a++)
{
Data=0;
}
uint8 buffer[]={00,00,04};
Data=buffer;
}
else if(zone==2)
{
for(a=0;a<6;a++)
{
Data=0;
}
uint8 buffer[]={00,00,03};
Data=buffer;
}
else if(zone==3)
{
for(a=0;a<5;a++)
{
Data=0;
}
uint8 buffer[]={00,00,02};
Data=buffer;
}
else
{
}
return 0;
uint8 I2C_Read(uint8 address,uint8 *Data, uint8 Num);
}
Show LessHi every one
Is cypress has the PsoC IDE for Linux system?
I2C_LCD component V1.20
I have been trying to get this to work for ages until I put an I2C analyzer on the clock & data lines and got the following results
Write to address 0X26 writes to 0x26
Write to address 0X27 writes to 0x26 <-- this is why I have been beating my head against a wall for hours
Write to address 0X28 writes to 0X28
Has anyone else experienced this?
Show LessI have observed different behavior of the Cypress SPI modules on CY8C4247-LQI-483.
I have use Master mode and submode Motorola, with SCLK mode CPHA=0 and CPOL=0, Oversampling=8,
RX/TX data bits=8, MSB First, Number of SS:1, Active Low, with a FIFO Buffer size of 8 bytes. The datarate is 1MHz
and the SPI component has no rx/tx interrupt.
I have written function to read/write data into adesto flash IC , while using UDB SPI module it worked properly , but in case of SCB SPI module it is not working .
after debugging , I found that is error in sending sequence of data though SCB SPI component .i just sent the data 0x55 from UDB SPI and observed the waveforms .(for debug I have just use simple library function to write single byte on SPI )
similarly waveforms observed for SCB SPI .
I have attached the images which contain the difference in waveforms .
Has anyone an idea how to fix this issue ?
Show Less