Open isots-code opened 3 years ago
Hi Xavier (@xavasxxv ), If I recall correctly, the DMP code is missing some critical configuration steps which are required for step counting. I was so relieved when I finally got the ‘standard’ DMP modes working that I never went back to revisit the step counter. Let’s leave this issue open but unfortunately I won’t be able to revisit this any time soon. It will be a few weeks at least. Sorry! Best wishes, Paul
Hey, 1st of all thanks for the quick reply and thanks for your work keeping this library...
Figures that there would be missing something if the code base is as convoluted as you say it is xD No harm no fowl, I unfortunately can't help much it since the project that this depends is already behind schedule enough... but I'll take a peek every now and then and see if there's any progress...
Best of luck, Xavier
Subject of the issue
Enabling either step counter or step detection features on the DMP appear non funcional
Your workbench
Steps to reproduce
Using example 10, enable the step counter or step detection feature as below
How i'm processing the data on my loop
Expected behaviour
I should be able to extract step data ou have an interrupt generated from the IC
Actual behaviour
Very sporadically, i get garbage on the data read from the FIFO relative to the steps, but i can't pinpoint times or movements to trigger it
I know that these features aren't guaranteed to be working as said on the DMP.md, but either a few pointer to something i might be doing that's dumb or a bit of help would be much appreciated...
Also, idk if it's of interest, but, i found this git that claims it has support for the step counting feature, but unfortunately i can't test it cause i don't have any breakout boards with an ICM-20948...
Best regards. Xavier