oresat / oresat-olaf

A pythonic CANopen application framework for all OreSat Linux boards
https://oresat-olaf.readthedocs.io/en/latest/
GNU General Public License v3.0
3 stars 2 forks source link

Reducing power consumption #14

Closed andrewgreenberg closed 1 year ago

andrewgreenberg commented 1 year ago

Since the C3 is now an Octavo, we need a way to reduce power consumption for "always on" power. When booting, we should use All the Powers in order to boot fast. But once all services have loaded, and we're in a steady state, we should work on reducing power consumption.

Most likely by controlling clocks is my guess, and by powering down peripherlas we're not using.

In this discussion, Shannon_Mackey says "I’ve effectively reduced power consumption to ~80 milliamps by slowing the cpu down to 300 MHz." 80 mA would be a fantastic power draw.

ryanpdx commented 1 year ago

By default CPU frequency mode is performance (1GHz), so we are good there.

Moving this issue to oresat-olaf repo, so the OLAF app can deal with CPU frequency adjustment post-boot.

ryanpdx commented 1 year ago

Closing this.

OLAF has the API to adjust the CPU frequency, it is up to an app's state machine to use it.

All peripherals controls are up to the app