How to standby mode, SAM D boards

Thread Starter

Smoooth

Joined Jan 2, 2017
34
Hi,
In short: Where can I learn how to put SAM D21controller into the standby mode? I'm trying to find examples/manuals/anything.

I'm struggling to get SAM D21 microprocessor in and out of a standby mode using hardware interrupts. (SAM D21 is that microcontroller from MKR1000/Arduino Zero; I'm using a custom SAM15x15 breakout board though)

I've been reading the data sheet, but it's over my head..
As I was searching different forums I found some folks trying to get MKR1000 into standby. But they were solving different problems, their code doesn't work for me, and I don't understand most of it anyway. Where can I actually learn how to put that thing into standby?

I could really appreciate some help here!
 

Andrei Suditu

Joined Jul 27, 2016
52
Look interesting datasheet .Usually a combination of interrupts and power save register settings set this.Just have patience and read the datasheet section on 'sleep'.On 32bit micros I don't have a lot of experience but on 8 bit ones there was a 'Power Reduction register'. Try looking for the similar counterpart for your part.
 

Uilnaydar

Joined Jan 30, 2008
118
Chapter 16 in the Complete datasheet is your go-to for this. You need to shutdown enough peripherals so that the regulator isn't overloaded when STANDBY is selected in the sleep controller.
 
Top