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

Low Power Mode #47

Open
nunomiguelferreira opened this issue Aug 16, 2021 · 0 comments
Open

Low Power Mode #47

nunomiguelferreira opened this issue Aug 16, 2021 · 0 comments

Comments

@nunomiguelferreira
Copy link

Hello and first of all thank you for adding support to the G17 series in arduino!

I have been trying to port some code from the usual SAMD21G18A-AU to the SAMD21G17 and everything seems to be working fine (at least for now, we haven't gone deeper into porting some of the spi libraries and such).

All of this in a custom PCB.

The main issue is that sleep power consumption is way higher with this board definition (SAMD21G17) than with something like SAMD21G18A-AU using the Feather M0 bootloader.

Right now with your board definition I'm getting 270uA with the same code that in a SAMD21G18 using Feather M0 that would get me something like 8uA sleep.

The code to put the processor to sleep is using the sleepdeep mask, disabling the usb and disabling systick interrupt.

Is the power difference due to something being initialized in your board definition? I would like to be able to use the G17 in our designs, if we could get the same low power consumption.

Thank you for your time.

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