A question: How can I set up a 20602 so I can keep it on minimum power consumption?
Right now I'm doing this, but still far from the advertised 6uA
void accel_sleep() {
__IO uint8_t pwrMgmt; __i2cWrite(0x6B, 1);
__i2cWrite(MPUREG_PWR_MGMT_1, 1 << 7);
__i2cRead(MPUREG_PWR_MGMT_1, (uint8_t*) &pwrMgmt, 1);
pwrMgmt |= BIT_SLEEP;
__i2cWrite(MPUREG_PWR_MGMT_1, pwrMgmt);
HAL_Delay(100);
__i2cRead(MPUREG_PWR_MGMT_2, (uint8_t*) &pwrMgmt, 1);
pwrMgmt |= BIT_PWR_ALL_OFF;
__i2cWrite(MPUREG_PWR_MGMT_2, pwrMgmt);
}