PSoC™ Creator & Designer Forum Discussions
With one 99% ready compiler and one outdated compiler, Cypress falls through the cracks.
I hope Cypress is possible to take over the development of the HI-TECH compiler... Show Less
I am using PSoC 3 Creator 1, and PSoC 1 Designer 5. I noted that Designer has no way to set tab settings in the IDE, nor does it have any way to control the cursor blink rate, (I want to set the blink rate to off). It does not follow the standard windows system settings. I see Creator 1 also has the same problem. Is there any way to change both the blink rate on both development tools, and the tab setting on Designer?
Show Less When I read the datasheet of I2C(I2CHW in PSoC Creator), I found when we use Slave mode, the function "uint8 I2C_SlaveStatus(void)" will be used to check the status for I2C Slave, and also, we can see the example code in the datasheet as below:
uint8 wrBuf[10];
uint8 userArray[10];
uint8 byteCnt;
I2C_SlaveInitWriteBuf((uint8 *) wrBuf, 10);
/* Wait for I2C master to complete a write */
for(;1 /* loop forever */
{
/* Wait for I2C master to complete a write */
if(I2C_SlaveStatus( ) & I2C_SSTAT_RD_CMPT )
{
byteCnt = I2C_SlaveGetWriteBufSize( );
I2C_SlaveClearReadStatus( );
For(i=0; I < byteCnt; i++)
{
userArray = wrBuf; /* Transfer data */
}
I2C_SlaveClearWriteBuf( );
}
}
Why we can use the I2C_SSTAT_RD_CMPT to indicate the I2C Master has complete a write?
And I don't know when the I2C_SSTAT_RD_CMPT will be set?(if the I2C_SSTAT_RD_CMPT is set when we finished read the buffer, and when the last byte is transmitted, we will also read the wrBuf[], but then, the content in the buffer is not written by the Master?)
I have about a lot of electronic experience and I've played a little with microprocessors, but the PSoC is new to me and the more I play with mine, the more questions I have.
FIRST QUESTION: Is it possible to save a Component Block? For example, in the CapSense Slider project that comes with the First Touch kit, the schematic shows an 8 bit control register connected to an 8 bit inverter through a bus and the inverters drive the 8 LEDs. All of these parts are inside a rectangle labeled Component Block for LED Control.
I'd sure love to copy that block, save it somewhere and just plunk it down into any future design that uses LEDs. Is this possible and if so, how do you do it? Show Less
I have a design which I have to update, the design uses the CY8C26443, this is obsolete now and the customer doesn't have the source code.
Is there a disassembler available for this part, I did think that I might be able import the .hex file into psoc designer but it doesn't seem to support this.
Can anyone help?
thanks
rob carter Show Less
I can program it using miniprog3, but I can't succeed to light a LED (using LED user module). Is there a problem in my code? Is there a common mistake I could have done?
You can look at my project too.
Thanks a lot.
Gabriel
//----------------------------------------------------------------------------
// C main line
//----------------------------------------------------------------------------
#include
#include "PSoCAPI.h" // PSoC API definitions for all User Modules
#include "PSoCGPioInt.h"
void main(void)
{
// Enable global interrupts
M8C_EnableGInt;
//LED initialisation
LED_0_Start();
LED_1_Start();
LED_0_On();
LED_1_On();
// Main operating loop
while (1)
{
LED_0_On();
LED_1_On();
}
}
Thanks Show Less
Please give me some idea regarding this project.
Best Regards,
Matiul Show Less
(See attached files)
My USBFS Configuration is the same as in AN56718 except for the fact that i am using an Isochronous IN EP of size 1023. Show Less