Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power use is unacceptably high #2

Open
trueserve opened this issue May 21, 2016 · 0 comments
Open

Power use is unacceptably high #2

trueserve opened this issue May 21, 2016 · 0 comments

Comments

@trueserve
Copy link
Owner

trueserve commented May 21, 2016

Right now the MCU hogs a ton of power in bootloader mode. While we don't need to be strictly low-power, the bootloader is always run at reset, and thus we want to stay as low power as possible whilst getting what we need to do done as quickly as possible. If not entering the bootloader, depending on how the application handles resets, this could be a significant power drain.

I propose:

  • When not using USB, run at the best speed/performance tradeoff possible. Test power consumption before determining this speed, particularly with flash waitstates disabled
  • When using USB, run the MCU at 48MHz instead of 72MHz
  • Implement the LED flashing as a low speed PWM instead of the CPU-heavy loop it currently is
  • Sleep whenever possible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant