Skip to content

Conversation

kaspar030
Copy link
Contributor

(depends on #3018)

Adds lpm modes to the SAM L21 port.

Idle power consumption goes down from 1.5mA to ~0.7mA. Sleep power consumption is <2uA.

@kaspar030 kaspar030 added State: waiting for other PR State: The PR requires another PR to be merged first Area: drivers Area: Device drivers labels May 18, 2015
@jonas-rem jonas-rem mentioned this pull request May 20, 2015
3 tasks
@kaspar030 kaspar030 added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed State: waiting for other PR State: The PR requires another PR to be merged first labels Aug 4, 2015
@PeterKietzmann
Copy link
Member

Sorry for the delay in here. I overlooked this one several times and currently don't find much time for that, even if I'm still really interested in spending more thoughts in low power modes. @kaspar030 is the lpm implementation similar to that in #2309 ? That we we could maybe kill two birds with one stone.
Other than that: I don't have the hardware to test that.
@bapclenet are you aware of this PR?

@biboc
Copy link
Member

biboc commented Aug 27, 2015

@PeterKietzmann, I'm aware of this PR, I work on something else for the moment and I wanted to come back on #2309 as soon as I have time to do it. You're right this PR will certainly help if it works correctly. And I don't have a SAML21 as well

@kaspar030 kaspar030 added this to the Release 2015.08 milestone Aug 27, 2015
@kaspar030
Copy link
Contributor Author

I think we should get this in the release. It is the world leader in low-power 32bit MCUs...

@OlegHahm
Copy link
Member

@kaspar030, are you sure? I thought that was rather energy micro?

@OlegHahm
Copy link
Member

OlegHahm commented Sep 2, 2015

needs a rebase to make Travis working

@kaspar030
Copy link
Contributor Author

  • rebased

@OlegHahm
Copy link
Member

OlegHahm commented Sep 2, 2015

ACK and go!

OlegHahm added a commit that referenced this pull request Sep 2, 2015
@OlegHahm OlegHahm merged commit 37e3197 into RIOT-OS:master Sep 2, 2015
@biboc
Copy link
Member

biboc commented Sep 3, 2015

@kaspar030, Could you share some results concerning energy consumption by comparing the different modes implemented?
And also the way you do your tests? I had a quick look at the SAML21 power mode and there are lot more option than those provided by RIOT to save energy.
As soon as I can, I will try to make the equivalent edit as you did on the SAMR21 and try to see if I obtain equivalent results.

@kaspar030 kaspar030 deleted the saml21_add_lpm branch September 3, 2015 12:23
@OlegHahm OlegHahm added the Area: pm Area: (Low) power management label Dec 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: drivers Area: Device drivers Area: pm Area: (Low) power management CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants