In order to reduce standby power during DeepSleep, we would like to do the following:
After searching, I found the following statement:
By setting the CPU clock to RCOSC mode (HV mode, unlock LV mode) and board_xtal_power_control(false) before transitioning to Deep-Sleep, power consumption during Deep-Sleep can be greatly reduced.
How do I do this in Arduino?
Thank you for your cooperation.
From Arduino, you can also run with the following code:
#include<LowPower.h>
# include <arch/board/board.h>// Add
void setup() {
// LowPower Library Initialization
LowPower.begin();
// Change CPU Clock to RCOSC Mode
LowPower.clockMode (CLOCK_MODE_8MHz);
// Power Off TCXO
board_xtal_power_control(false);
}
void loop() {
}
Limited to apps that can run at 8 MHz, but can reduce power considerably.
© 2024 OneMinuteCode. All rights reserved.