Go Down

Topic: sleep mode to mkr Wan 1300 (Read 1 time) previous topic - next topic

vyse

Hi everyone, is it possible to activate a sleep mode on mkr wan 1300 ? or it's not possible ?

but it's possible, have you an sketch example for sleep mode for this board ?

thank you


lucdes

Hi,

It works for the MKR1000, so I think it should work for the MKRWAN 1300.

Have a look here: https://forum.arduino.cc/index.php?topic=447561.0

Luc

Halflifo

Hello!

If you want deep sleep, or standby sleep mode:

Code: [Select]

  SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk;          // Setting sleep mode to Standby
  __WFI();                                    // sleep


Otherwise read in the samd21 datasheet, or search for how to sleep the arduino zero, it is the same.

Go Up