-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Description
Subject of the issue
Hey @oclyke, I'm trying to place the ICM-20948 into its full-chip sleep mode (8 μA draw), but the lowPower
function doesn't appear to have any effect on current consumption.
Your workbench
- What platform are you using?
- SparkFun Qwiic Micro & ICM-20948
- How is the device wired to your platform?
- Qwiic connector
- How is everything being powered?
- USB. Current measured between 3.3 V
- Are there any additional details that may help us help you?
- LED and AUX PU jumpers cut
Steps to reproduce
- I modified the "Example1_Basics" code to add the
myICM.sleep(true)
andmyICM.lowPower(true)
commands. - I can observe the
myICM.sleep(true)
command reducing the ICM-20948 current consumption from 7.4 mA to 3.4 mA. - However,
myICM.lowPower(true)
has no effect on current draw, either on its own, or when paired with the sleep command.
void loop() {
myICM.sleep(false);
//myICM.lowPower(false);
if ( myICM.dataReady() ) {
myICM.getAGMT(); // The values are only updated when you call 'getAGMT'
//printRawAGMT( myICM.agmt ); // Uncomment this to see the raw values, taken directly from the agmt structure
printScaledAGMT( myICM.agmt); // This function takes into account the sclae settings from when the measurement was made to calculate the values with units
delay(2000);
} else {
Serial.println("Waiting for data");
delay(500);
}
myICM.sleep(true);
//myICM.lowPower(true);
delay(2000);
}
Expected behaviour
- I realize there's going to be some overhead from the level shifting circuity, but I would expect that current consumption should be able to drop significantly lower than 3.4 mA when placed into full-chip sleep/low power mode.
Actual behaviour
- Current consumption remains excessively high.
Curious if you have any thoughts! In the meantime, I'll delve into the registers to see what could be up.
Cheers,
Adam
Metadata
Metadata
Assignees
Labels
No labels