From 5dcf249a22c2752646384016df369455b32475bf Mon Sep 17 00:00:00 2001 From: Cristian Paul Dragomir Date: Thu, 6 Jun 2024 13:40:12 +0300 Subject: [PATCH 1/3] added example sketch documentation --- examples/Standby_WakeFromRTC_H7/Standby_WakeFromRTC_H7.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/Standby_WakeFromRTC_H7/Standby_WakeFromRTC_H7.ino b/examples/Standby_WakeFromRTC_H7/Standby_WakeFromRTC_H7.ino index 0043259..66b9469 100644 --- a/examples/Standby_WakeFromRTC_H7/Standby_WakeFromRTC_H7.ino +++ b/examples/Standby_WakeFromRTC_H7/Standby_WakeFromRTC_H7.ino @@ -59,6 +59,7 @@ void setup() { board.shutDownFuelGauge(); + // The LED should go off when the board goes to sleep board.setAllPeripheralsPower(false); From 650e2aa0394e7361850edd5e46e22f7a9c53050e Mon Sep 17 00:00:00 2001 From: Sebastian Romero Date: Tue, 20 Aug 2024 10:34:39 +0200 Subject: [PATCH 2/3] Update sleep duration note --- examples/Standby_WakeFromRTC_C33/Standby_WakeFromRTC_C33.ino | 2 +- examples/Standby_WakeFromRTC_H7/Standby_WakeFromRTC_H7.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Standby_WakeFromRTC_C33/Standby_WakeFromRTC_C33.ino b/examples/Standby_WakeFromRTC_C33/Standby_WakeFromRTC_C33.ino index 6926365..a691ca1 100644 --- a/examples/Standby_WakeFromRTC_C33/Standby_WakeFromRTC_C33.ino +++ b/examples/Standby_WakeFromRTC_C33/Standby_WakeFromRTC_C33.ino @@ -62,7 +62,7 @@ void setup() { board.enableWakeupFromRTC(0, 0, 10); // Sleep for 10 seconds - delay(10000); // Keep the board awake for 1 second, so we can se it working + delay(10000); // Keep the board awake for 10 seconds, so we can se it working board.shutDownFuelGauge(); board.setAllPeripheralsPower(false); diff --git a/examples/Standby_WakeFromRTC_H7/Standby_WakeFromRTC_H7.ino b/examples/Standby_WakeFromRTC_H7/Standby_WakeFromRTC_H7.ino index 66b9469..edd61aa 100644 --- a/examples/Standby_WakeFromRTC_H7/Standby_WakeFromRTC_H7.ino +++ b/examples/Standby_WakeFromRTC_H7/Standby_WakeFromRTC_H7.ino @@ -55,7 +55,7 @@ void setup() { } } - delay(10000); // keep the board awake for 5 seconds, so we can se it working + delay(10000); // keep the board awake for 10 seconds, so we can se it working board.shutDownFuelGauge(); From db0fd591b3ce260edf460807dd6bfc5a8e0689c1 Mon Sep 17 00:00:00 2001 From: Sebastian Romero Date: Tue, 20 Aug 2024 12:09:13 +0200 Subject: [PATCH 3/3] Fix typos --- examples/Standby_WakeFromPin/Standby_WakeFromPin.ino | 2 +- examples/Standby_WakeFromRTC_C33/Standby_WakeFromRTC_C33.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Standby_WakeFromPin/Standby_WakeFromPin.ino b/examples/Standby_WakeFromPin/Standby_WakeFromPin.ino index 2603ce1..298094b 100644 --- a/examples/Standby_WakeFromPin/Standby_WakeFromPin.ino +++ b/examples/Standby_WakeFromPin/Standby_WakeFromPin.ino @@ -5,7 +5,7 @@ This sketch is universal and worksn on both Portenta C33 and H7. On the the Portenta C33 you can select any of the supported pins (A0, A1, A2, A3, A4, A5, D4, D7) to wake up the board from standby mode, - but on the Portenta H7 only GPIO0 can be used to wake up the board from standby mode. GPIO0 is available trough the High Density Connectors and you need a breakout board to access it. + but on the Portenta H7 only GPIO0 can be used to wake up the board from standby mode. GPIO0 is available through the High Density Connectors and you need a breakout board to access it. Requirements: - Arduino Portenta C33, Arduino Portenta H7 diff --git a/examples/Standby_WakeFromRTC_C33/Standby_WakeFromRTC_C33.ino b/examples/Standby_WakeFromRTC_C33/Standby_WakeFromRTC_C33.ino index a691ca1..bab22d5 100644 --- a/examples/Standby_WakeFromRTC_C33/Standby_WakeFromRTC_C33.ino +++ b/examples/Standby_WakeFromRTC_C33/Standby_WakeFromRTC_C33.ino @@ -3,7 +3,7 @@ This example demonstrates how to wake up the Portenta C33 from standby mode using the included RTC (Real Time Clock). The device will go to sleep for 1 second and then wake up. When the device is awake you will see the board's blue LED turned on. - Effectivelly, you will get the same effect as with blink. + Effectively, you will get the same effect as with blink. On the Portenta C33 with the peripherals turned off you can expect around 60uA of current consumption in standby mode. The example also turns off the peripherals before going to sleep and turns them back on after waking up.