Skip to content

Low Power Mode #47

@nunomiguelferreira

Description

@nunomiguelferreira

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions