SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By mennamorato
#199305
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
By BLH
#199317
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.
By mennamorato
#199325
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;