PSoC™ 5, 3 & 1 Forum Discussions
Hi,
I am using the I2C bootloader which works great.
Until now I did setup the slave adress (0x08) in the I2C component settings because I always used the same adress
But now I want to setup the I2C Bootloader Slave adress from code (in this example 0x09) to be able to use a slave adress which depends of e.g. a dipswitch setting.
I did the following in the main.c but the I2C adress stays the adress given in the component settings :
#include <project.h>
int main()
{
I2C_Init();
I2C_SlaveSetAddress(0x09);
CyGlobalIntEnable;
Bootloader_Start(); /* Does not return */
for(;;){};
}
Probably the Bootloader_Start re-initializes I2C using the component's I2C adress. Is there any way to do what I want ?
Thanks
Patrick
Show LessThis may be a stupid question but as I am good at stupid here goes.
If I have a design in which I have embedded a PSoC5 device, is there any way that I can program the embeddid chip using the PSoC development kit (CY8CKIT-050) that I already have or do I need a dedicated programmer?
I would like to use the kit if possible as I am looking at a small project but don't have the budget to buy a programmer.
Any help would be very much appreciated.
Thanks
Show LessHello everybody,
I have a little problem with a PSoC1 device I am using, CY8C23433-PVXI. The documentation states that it has 256 bytes of SRAM. I have a small application that uses 19 bytes and the compiler reports that 8% of RAM is used. However, when I compile the same project on a CY8C21345-SXI (documentation says 512 bytes of SRAM), I get the same report: RAM 8% full. 19 bytes used (does not include stack usage).
Shouldn't be the reports different?
Thank you!
Hi everyone,
I am using Cy8C27443. I'm trying to write an array of int type (ADC values) to E2PROM then read back using button polling. However, I am facing problem writing values to E2PROM. I test the writing by iniitializing a RAM buffer as in this app note (http://www.cypress.com/?id=4&rID=60878). However it didn't work, I have read the E2PROM datasheet and technical reference manual, checked the size of my buffer, modified flash security.txt but it's not working.
I attached my prj below. Could you please give it a look and tell me what I did wrong, thank you very much!
Show LessThe interrupt on capture box is disabled for the fixed function timer.
I assume this function is not available on fixed function timers but the documentation says differently. Timer_v2_70.pdf page 2 shows:
Am I doing something wrong or is this just wishful thinking in the documentation?
Show LessHi,
I trying to get a SPISlave to tranfer data to an array via DMA.
It should be 2 byte per burst, with transfer count =2.Every burst need new request
Unfortunately only the first data is transfer , the second data is left in SPIS Rxbuffer.
The SPIMaster seem to be working .Tested with an ocsi, and the the RxBuffer not empty interupt seem to be working
Anyone have any idea what going on?
Attached is the Workspace bundle
Hadi
Show LessHi,
I am considering the design of an interface device (board) that essentially will make multiple USB devices appear as one USB device.
Just a bit of back ground. I am an amateur radio operator and use a radio called the Peaberry V2. I own multiple of these radios. Currently each radio attaches to a PC via USB. Each radio appears as a separate device on the PC. Each radio has a operates on a unique band of frequencies. Currently the PC host application needs to be stopped, reconfigured and restarted to switch between radios. The idea is to use a PSoC 3 and configure multiple USBFS components (one for each radio) and then select a given USBFS component and route the data to a common USBFS component that is attached to the PC.
The interface device will do more than USB interfacing but I would like to know what folks think about this aspect first.
I need to stay with the PSoC 3 as this is the only chip that is available in a 48 pin configuration. The board will be offered as kit and the 48 pin version is the only chip that can be reasonably be soldered into place by a kit builder
Thanks for taking a look,
Ron
Show LessI'm new to PSoC microcontrollers, and just started using the PSoC 5LP.
I'm wondering how to interpret the timer interval values captured from a timer block, for instance with Timer_ReadCapture().
Is the value based on the clock signal given to Timer Block, or is it scaled to seconds, microseconds, etc?
- thank you
Show Less