Hi,
For my design based on the sensor, I do not need to have the Bluetooth connection permanently. I need to login on demand only.
On the other hand to save the battery, I would like to place the MPU in Low Power mode, and it wakes only when it detects an acceleration. I thought using the sensorMpuSleep function (void) in order to be awakened by the interruption of activity. If I understand everything, I must use the bool SensorMpu9250_enableWom (uint8_t threshold) function to implement the activity detection. In what order should I proceed?
bool SensorMpu9250_enableWom (uint8_t threshold sensorMpuSleep function (void) But how configured interrupt to wake up RTOS? Any idea, advise, sample code or example? Best regards