Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accelerometer does not continuously output data #13

Closed
jps2000 opened this issue Nov 8, 2018 · 2 comments
Closed

Accelerometer does not continuously output data #13

jps2000 opened this issue Nov 8, 2018 · 2 comments

Comments

@jps2000
Copy link

jps2000 commented Nov 8, 2018

LIS2DH_write(CTRL_REG4, 0x08); // 0x10 = +/- 4G, 0x00 = +/- 2G axis data continuous update
According to data sheet chapter 8.9 bit 4 should be zero. Hence 0x08 should not be allowed
behaviour is such that sometimes data output is stopped. when the device is shaked than it continues.
Behaviour looks like the device is going to sleep and wakes up again after being shaked. This would be defined in registers ACT_THS and ACT_DUR but I could not find those in the code to be set???
Observed with GUI 4.0.2

@jps2000
Copy link
Author

jps2000 commented Nov 11, 2018

There is difference in LIS2DH spec and LIS2DE spec at least in CTRL_REG4
According to schematic ganglion has a LIS2DE not 2DH as mentioned elsewhere. That is plausible because also pin count between these two devices is different. Note that there are different register settings!!!
This may or may not cause the problem

@jps2000
Copy link
Author

jps2000 commented Mar 15, 2019

see #16

@jps2000 jps2000 closed this as completed Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant