Page 1 of 1

avrusb and sleeping

Posted: Fri Feb 20, 2009 3:27 am
by geckosenator1
Hello.

I would like the ability to consume less power when not communicating via usb.

There are 2 ways, sleeping, or reducing the oscillator. Which one can do safely and be able to switch back if usb traffic resumes?

I found in the Readme:

Code: Select all

Implementing suspend mode AVR-USB does not implement suspend mode. This means that the device does not reduce power consumption when the host goes into sleep mode. Device firmware is free to implement suspend mode, though. See USB2LPT for an example. 


I could not find the USB2LPT example, does anyone know of it?

Posted: Fri Feb 20, 2009 10:44 am
by horo

Re: avrusb and sleeping

Posted: Sat Apr 11, 2009 7:14 pm
by christian
These are two different issues. USB2LPT is about drawing less power when the host is in sleep mode. What you want to do is consume less (battery?) power if not connected to USB or if there is no USB traffic. It should be safe to put the AVR into sleep mode as long as the hardware interrupt can wake it.