PSoC™ 5, 3 & 1 Forum Discussions
Hi,
I have a design based on a CY8C3865LTI-014.
I noticed that in reality the sleep current was much too high than anticipated (more than 25µA higher).
The steps I took to debug this were:
- remove all components but the PSOC and the surrounding caps from the PCB
- build a fresh project without components, and only this code:
```
int main(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
// set 32kHz crystal to operate in low power mode when in sleep
CyXTAL_32KHZ_SetPowerMode(1);
//start WDT
CyWdtStart(CYWDT_1024_TICKS,CYWDT_LPMODE_DISABLED);
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
CyPmSaveClocks();
for(;;)
{
/* Place your application code here. */
// clear wdt
CyWdtClear();
// sleep 1 s
CyPmSleep(PM_SLEEP_TIME_ONE_PPS,PM_SLEEP_SRC_NONE);
CyPmReadStatus(CY_PM_ONEPPS_INT);
}
CyPmRestoreClocks();
}
```
As one can see, after initialisation, the PSOC goes in sleep mode forever.
When measuring the current, I still measure ~28µA, which is much more than the specified 1µA in the datasheet.
What could be the cause of this high sleep current?
I attached the project for you reference.
Hello everyone, in my project I use cy8cmbr3110. I'm having problems with the sensitivity of the guard, I need to decrease the sensitivity of the guard. My settings for the guard are:
Hardware:
Guard sensor thickness: 2mm.
Overlay = 4mm glass.
EZ-Click:
Sensitivity (fF) = 400.
Automatic threshold = Enabled.
IIR filter = Enabled.
Median Filter = Enabled.
Debounce: 3.
Enable EMC noise immunity: Disabled.
With these settings it is still possible to decrease the sensitivity of the guard without changing the hardware?
Show LessI 'am working Psoc 5lp 059 kit.Lcdgives an error.Unable to locate and customize component 'CyControlReg_v1_70' used in schematic .how can i solve this problem?
Show LessHi,
Have recently upgraded from Creator 3.3 to 4.2 for a new project and none of my floating point formatting methods work. The options configuration looks a little different, so not sure what I'm missing. I'd like to be able to use sprintf if possible but even more basic, I can't store numbers cast as float in memory.
Thoughts?
Nick
Show LessHi There!
I'm using CY8CKIT-059 I'm codding this on PSOC Creator 4.2 So I need some help
My problem is;
I have 32bit anolog input from potantiometer. IT is around 0-65930 So I want to see this around 0-5,000V
I made it 0-5000 mV but I couldn't do 0-5,000V
So how can I do it?
Show LessHi everone!
I have same problem as a lot of body but every solves are for old program (such as ARM GCC 4.7)
float ex1 = 1.232;
int ex2= 123;
char exchar[30];
sprintf(exchar,"Testing: %f",ex1);
this printing on LCD Testing:
but
sprintf(exchar,"Testing: %d",ex2);
this printing on LCD Testing: 123
How can I fix this
Show LessHow Can I Setup in Between These Two Boards?
How Can i communicate to the Arduino and Psoc Boards via the Uart And I2c Communications?
Thanks in Advance
Show LessHi there all,
I'm working on a project that is expandable via daisy chaining include a number of possible PSoC 5 MCUs (CY8C5467LTI-LP003) in the design (anywhere from 2 to a potential maximum of 8). I'm considering options for updating firmware in the field, and an I2C bootloader seems the best choice as I can implement it right into my existing I2C bus connecting the PSoC 5 devices.
My question comes about as I was reading the http://www.cypress.com/documentation/application-notes/an60317-psoc-3-and-psoc-5lp-i2c-bootloader Application note and the only USB to I2C part shown to be supported in this document is the miniprog3. This is an okay solution if we don't mind shipping out a miniprog3 to any customer that would need to field-upgrade their system, but I was hoping for something a little more integrated into the design. I'd prefer to just put a USB to I2C IC on the PCB.
My question is: is there a "supported" list of USB to I2C parts that would be supported by the bootloader host other than the Miniprog3 that I could integrate onto the PCB? Would something like http://www.cypress.com/part/cy7c65211-24ltxi be recognized by the bootloader host? Or is support limited to the miniprog3?
Thanks in advance for any info.
Show LessI have a trouble using PSoC 5lp with the sensor AS7262. I am trying to interface it with I2C protocol but I am stuck both in reading and in writing register to the AS7262 slave.
The HW seems ok, the sensor is working because i have tested with an arduino. I am getting this error from status = I2C_MasterStatus();
status = I2C_MSTAT_ERR_ADDR_NAK
What exactly does it mean ?
I can upload the project ( just the function to read and write register to / from the sensor) and the specification of the sensor.
Thank you !!
Lodovico
Show LessHello ,
I need to use rtc component for event driven logic. I am able to run the component and getting proper results on lcd. I am not able to use rtc pre-defined interrupts function like sec,hour etc..
I just placed the desired code to be executed inside inside static void rtc_EverySecondHandler(void); this funtion but nothing happens.
My question is how to make use of these funtions and use rtc capability for time based event handling.Please help as i am stuck from 2 days.
My another question is this rtc component hardware or software componet?
Show Less