SAMD21 Mini Breakout - Sleep Mode - Help needed

I got an SparkFun SAMD21 Mini Breakout and was wondering how to put the unit inn to deep sleep mode to save Power usage.

Any one got this working??

No replies over a year later !

I have exact same issue - i run all kinds of Atmel examples and Arduino examples for sleep and end up with 12mA… where is that current going?

But strangely… if i configure pin 27 as OUTPUT (pinMode(27,OUTPUT)) it goes to 6.6 mA ?? WTH is going on ? anyone have suggestions?

I have read thru all the Atmel docs, tried examples from Atmel Studio 7, etc and never get below 6.6mA

Looking at the schematic.

It shows the Power LED enabled by default.

My calculations show it maybe between 5mA to 6mA to light the Power LED.

You may want to cut the SJ1 jumper to eliminate the Power LED current and see how low the current is then.

If needed you could always solder bridge the two SJ1 solder pads to enable the Power LED again.

Oh forgot to say… i removed all the LEDs on the board as first step.

I highly suspect its the USB interface even though I thought I had turned it OFF with

//Disable USB

USB->DEVICE.CTRLA.reg &= ~USB_CTRLA_ENABLE;