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:
// Entry SLEEP i.e lowest power mode
// Restore clock tree configuration
please guide me
Have you had a chance to look at this -
In the TRM there are some notes in this section "15. Power Supply and Monitoring"
that may be applicable.
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.
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?
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 ?
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.
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
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
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).
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.