boost converter and sleep mode

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

cross mob
Anonymous
Not applicable

Hello all,

   

I am doing one project which has controller of cy8c3244pvi-133

   

I am doing one application where I am using boost converter and sleep mode.

   

my boost converter works fine if I dont put it in standby mode while entering controller into sleep mode. It works for for Vbat of 1V

   

but when I put boost converter to sleep mode then I doesnt work for input battery voltage of 2.5V

   

I am writing following sequence:

   

            BoostConv_Stop();
            CyDelay(1);
            CyPmSaveClocks();        
            CyDelay(1);
            BoostConv_SetMode(BoostConv_BOOSTMODE_STANDBY);

        // Entry SLEEP i.e lowest power mode     
            CyPmSleep(PM_SLEEP_TIME_NONE, PM_SLEEP_SRC_PICU);
            CyDelayUs(30);

            BoostConv_SetMode(BoostConv_BOOSTMODE_ACTIVE);
            CyDelay(1);
            BoostConv_Start();
            CyDelay(1);
            BoostConv_SelExtClk(BoostConv__EXTCLK_ILO);
            CyDelay(1);
           
         // Restore clock tree configuration
            CyPmRestoreClocks();
            CyDelay(1);

   

please guide me

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

Have you had a chance to look at this -

   

http://www.cypress.com/?rID=64554     AN77900

   

 

   

 

   

In the TRM there are some notes in this section "15.   Power Supply and Monitoring"

   

that may be applicable.

   

 

   

Regards, Dana.

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

What do you mean by "does not work"? Does the PSoC switch off, or what happens?

   

The API description for Boost_SetMode(STANDBY / SLEEP) explains that in these modes only bandgap and comparator circuitry is active. Maybe this is not what you are expecting? Certainly the code you posted seems to expect that the CPU core runs continously, which doesn't happen in sleep mode.

0 Likes
Anonymous
Not applicable

hi,

   

thanks for  reply.

   

I have read the appnote and using that only I have written the code.

   

if I dont use standby then My booster is generating 3.3v from 1V. but I will not be able to save the power in sleep mode as some amount of current is consumed by booster.

   

If I use standby then my booster doesnt work i.e it doesnt generate 3.3V from 1V. but I am able to save the power in sleep mode.

   

while waking up I use wakeup staement for booster but still it is not working.

   

In data sheet, it is mentioned that to work booster with standby and auto thump mode properly we require external crystal oscillator of 32KHZ. what does that mean? do I have to place ECO externally? is it necessary?

   

Please guide.

   

regards

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

On restart the boost converter goes to 1.8 V, don't you have to re-issue a

   

BoostConv_SelVoltage() , otherwise there is no boost required ?

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

hi,

   

thanks for reply.

   

I set voltage of boostconverter.

   

but still it is not working for lesser voltage.

   

please guide

   

regards

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

Will you please upload your complete (reduced) project here, so that we all can have a look at your settings and your actual code. To do so, use Creator -> File -> Create Workspace Bundle (minimal) and then upload the resulting archive here.

   

 

   

Bob

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

Maybe have a look at the PSoC5 (or PSoC3) TRM (technical reference manual). There the operation of the boost converter is described in more detail.

   

Especially it explains that the boost converter is normall not active in sleep / standby mode (it could be set to be, but its not recommened). It can provide some power to the MCU core, but for that the 32kHz crystal is needed

0 Likes
Anonymous
Not applicable

Hi,

   

I connected crystal externally but still no luck.

   

I am attaching controller.c which has power save function.

   

and settings for booster

0 Likes
Anonymous
Not applicable
0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable
0 Likes
Anonymous
Not applicable

I have connected crystal of 32.768KHZ at pin 45 and 44 of CY8C3244pvi-133

   

is it correct?

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

Forgot the C?

   

 

   

Bob

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

This will help with the ECO oscillator -

   

 

   

    

   

          http://www.cypress.com/?docID=41149     AN54439

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

still no luck.

   

If I dont put boost converter to sleep then it works fine i.e at 1V also it can generate voltage = 3.3V

   

but if I put to sleep mode, boost converter is not able to work at even 2V i.e it cannot generate 3.3V from 2V

   

please guide

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

Did you have a look at the TRM? It explains that the boost converter is switched off in standby mode. When "Automatic Thump Mode" is switched on, the 32kHz crystal is used to generat 1µs pulses when the output voltage is less than the configured value. Please look also in the register TRM. You probably need to configure BOOST_CR0 and BOOST_CR4 (but this should be available in the API as AutoThump - AN77900 and the BoostConv module data sheet explain more about this).

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

Regarding the 32kHz crystal oscillator: I had a nice email conversation with Cypress and learned that there is a whole AppNote about that: AN54439. Maybe that helps a little bit. Max from Cypress also promised to extend the sleep-mode-AppNote to extend the part about using the boost converter in sleep mode.

0 Likes