You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/05/21 00:20:46 UTC
[GitHub] jacobrosenthal commented on issue #1088: fix self test
jacobrosenthal commented on issue #1088: fix self test
URL: https://github.com/apache/mynewt-core/pull/1088#issuecomment-390524343
As I posted inline comments, this fails on my lis2ds12 (altered for my register set)
I cant find anything that does a rolling average across both positive and negative, and which doesnt take a static reading first as your code implements here. Do you have a link?
Some research from trawling ST support forums
This is probably the best indication of how its supposed to work. Note 2G not 4G, and I think we need to discard data and average both the static and self test data. This doesnt mention the positive vs negative, but it seems wed just do it once for each against the same static data set.
https://community.st.com/thread/45621-self-test-for-iis2dh-accelerometer-always-failing#comment-177225
Again Everything I can find says you should be testing in 2G
https://community.st.com/thread/46017-lis12dh12tr-self-test-values#comment-178877
A fairly clear formula, abs value the average of the difference of the static and self test readings.
https://community.st.com/thread/45171-lsm6ds33-problem-with-self-test#comment-175266
More chatter about discarding self test samples.
https://community.st.com/thread/39822-lis2dh-minimum-delay-between-commands-during-self-test#comment-152736
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services