Replies: 1 comment
-
In ultra-low power applications, I think the best strategy is for the task that uses a device to disable it when finished. When a task wants to use SPI2, it would:
This repo uses ulp.c/.h as the power manager. In your case, you would add With this strategy, power consumption will automatically be ultra low whenever possible. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It works great! However, my application uses SPI2 and as soon as I turn it on in CubeMX consumption jumps up to 660 uA in test 1.
Is there a place in the code to turn off peripherals like SPI2 before entering idle to keep consumption low?
Beta Was this translation helpful? Give feedback.
All reactions