TinyWATCH-S3 / Official-firmware

Official firmware for Unexpected Maker's TinyWATCH S3
GNU General Public License v3.0
16 stars 7 forks source link

Implement a way to track steps when sleeping #4

Closed UnexpectedMaker closed 9 months ago

UnexpectedMaker commented 10 months ago

When TinyWATCH is deep sleeping it misses the step counter interrupt so doesn't get to add the steps being done.

Let's find a way to either have them stored in IMU memory if possible, and retrieved on wake, or see if we can get the ULP going in deep sleep to bit bang the data from the IMU.

Who is going to take on this challenge?

disq commented 10 months ago

Looking at the BMI270 application note could a possible solution be:

I don't think I have a BMI270 here but can't do a quick test, but could be a solution if SC_OUT can be read on-demand (and no counts are lost in between)