Low power sleep function

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi guys,

 

Are there low power sleep functions in the UC3 framework? I need a delay in the 1-10ms range.

 

I am aware of the Busy-Wait functions but it is not obvious if they are low in power. The purpose is basically to have the CPU do very little while it powers on parts of the circuit and waits for power-good.

 

Thanks,

Børge

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You can disable the clock to modules that are not required.


Sleep-mode is only useful if an interrupt can wake the processor.
The sleep modes that have low power consumption also have a lengthy wake-up time.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I was just hoping a low-power sleep would be available in standard code.

 

It shouldn't be too hard to make it from scratch with a timer. The delay is only used during startup, not after the RTOS kicks in.

 

The device is powered from USB, and the less current drawn by the MCU, the quicker I can recharge large capacitors. VBUS feeds into a current limiter which cuts off the CPU when the analog circuitry draws too much.

 

 

Thanks,

Børge