Product
Name
Version
Doc No
Date
Page
S76S/S78S SDK Manual
C
May 3, 2017
26 of 33
board.h header file.
Figure 5.6
Once this function, Demo_Enter_Stop_Mode(), is called, S76S/S78S
would enter power saving from normal mode, so SX1276/78 would enter
standby mode to avoid unnecessary energy lost; MCU STM32L073 would
enters stop-mode as well, MCU close its system clock and peripheral clock
but RTC clock still remains, to achieve the minimum consumption current
and waiting the pre-set wake-up time set. The pre-set time interval of
power saving mode is given by this parameter, POWER_SAVING_INTERVAL,
therefore, user can modify this MARCO value as well, to change the default
6 seconds to other value.
Changeable Parameters in SDK for Power Saving:
POWER_SAVING_DEMO: 1
Enable Power-Saving Mode
POWER_SAVING_DEMO: 0
Disable Power-Saving Modes
POWER_SAVING_INTERVAL: 6 (Seconds)
When S76S/S78S entered power saving stop-mode, the total power
consumption of these two main components,
STM32L073
&
SX1276/78
,
is around
2.7uA
. (The UART-To-USB IC and 5V-To-3V LDO IC are not
considered into.)
5.2 Flow Chart
5.2.1 Flow Chart of Main C Source Code
The below flow chart describes when S76S/S78S boots up, it goes
through several feature and loops in ping pong mode.