You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: