PSoC 5LP Consumption in Hibernate

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MuKa_284621
Level 3
Level 3

 Hello (again),

   

 

   

I'm trying to measure the consumption for the PSoC 5LP (to be precise, CY8C5868LTI-LP039) device.

   

 

   

Currently I'm just measuring power consumption with nothing in the schematics, but I change the operating modes (I cover all the modes possible).

   

 

   

All other modes seems fine (even Sleep mode comes close to what the datasheets say, ~2 µA), except for the Hibernate mode, which somehow consumes ~45µA (well, that's what came up on the DMM screen).

   

 

   

My current setup is using a DMM set to DC ammeter connected in series with the PSoC VDD (Digital, Analog and IO pins are tied together). The wirings and connections all follow the guidelines given by the documentations.

   

 

   

Could this be a problem with wakeup? Currently all IO pins are not connected to anything. I didn't restore the clocks either after CyPmHibernate() since I thought that the device would hibernate forever. Maybe that isn't the case.

   

 

   

Any ideas?

0 Likes
9 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

"(Digital, Analog and IO pins are tied together)"

   

 

   

What do you mean by this ?

   

 

   

Are you doing this in a DVK board ? If so which one.

   

 

   

Regards, Dana.

0 Likes
MuKa_284621
Level 3
Level 3

 Hello,

   

 

   

Nope, it's on a custom circuit board.

   

 

   

Tied together means, in this case, that they all share the same voltage source. On the board, the pins VDDD, VDDA and VDDIOx are all connected to a single terminal.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

You've seen this and followed the recommendations ?

   

 

   

    

   

          

   

http://www.cypress.com/?docID=44199     AN77900

   

 

   

 

   

Regards, Dana.

0 Likes
MuKa_284621
Level 3
Level 3

 Yep, seen it already, although I haven't actually applied any of the recommendations since I'm just trying to measure the static consumption.

   

 

   

Actually, I'm just trying to assess the best method to measure power consumption. I therefore need to know a configuration whose consumption is known (e.g. ~2µA in Sleep).

   

 

   

The only problem is that when I get to Hibernate, the measurements are not following the trend.

0 Likes
MuKa_284621
Level 3
Level 3

 Hello,

   

 

   

I haven't been working with the device lately (been working on something else),

   

 

   

But today I have finally solved the problem.

   

 

   

In the DWR file, I changed the Programming/Debugging mode to GPIO and for the sake of it, I enabled Device Protection. I don't think it's necessary, but what the heck.

   

 

   

And voila, it worked neatly. I got a baseline consumption of about 140 nA (kinda worrying if you ask me, it should be a bit higher).

   

 

   

I'm not sure why it didn't work before, but my guess is that since I had the Programming/Debugging option set to SWD/SWV beforehand, the PSoC might be trying to stream debug data thru the debug port and maybe that consumes current (not sure how, since the MiniProg is disconnected) or it woke the PSoC up (again, the pins are not connected to each other, so how is that even possible).

   

 

   

Oh, I also changed the Temp Range to 0 - 85/125 C. Could it be possible that that parameter causes the consumption to drop as well?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

As you can see the temp range defines the limits within the announced power consumption will be fulfilled. Since you are not working at 85°C (presumably) your device consumes less than the specified rating.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

I'm at the same issue today (low energy) and I read the AN Dana linked, and on page 12 there is a chapter "Is Your Debug Interface Running? " where this is described. This could help you to understand what happened (although you described it).

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Power consumption in CMOS a tad complicated. As T rises Rdson rises,

   

dues to Vth rising, so switched R load based Pdiss drops. But then leakage

   

rises dramatically with T, increasing that componet of Pdiss.

   

 

   

Switching based Pdiss laregly just a f( f,C, V ).

   

 

   

If you look at datasheet you will see Idd largely flat over T -

   

 

   

0 Likes
Anonymous
Not applicable

HI There

Is your Hibernate mode or sleep mode working.. Im trying to do but unsuccessful every time. I saw the code examples for both. I am doing it in my Psoc 5 lp CY8CKIT-059. It would me great if u could share some of ur information with me so that I can also solve it.

Abhishek

0 Likes