2020-11-24 07:17 PM
Hello,
In my test board, data from accelerometer and magnetometer are stable.
But gyro data has many spikes even though it is put in desk and not moving.
Do you have any idea for what cause this and how to fix it?
lsm6dsox and lis3mdl are used for test.
Solved! Go to Solution.
2020-11-26 05:00 AM
Hi @Community member ,
glad that you solved your issue!
>> I guess that Power down and ODR OFF might be same. Is there a difference?
Yes, you are right. ODR = 000bin and Power down are the same condition.
For completeness, the gyroscope is capable of a mode intermediate between the low power and the power down, i.e. the Sleep mode. As explained in the app note AN5272, p.18 : "While the gyroscope is in Sleep mode the circuitry that drives the oscillation of the gyroscope mass is kept active. Compared to gyroscope Power-Down, turn-on time from Sleep mode to Low-Power/Normal/High-Performance mode is drastically reduced. If the gyroscope is not configured in Power-Down mode, it enters in Sleep mode when the Sleep mode enable (SLEEP_G) bit of CTRL4_C register is set to 1, regardless of the selected gyroscope ODR".
-Eleon
2020-11-25 12:52 AM
Hi @Community member ,
which is, first, the unit of measure of the Gyroscope (on the graph y axis)? And which is the Gyro configuration (Mode, ODR, FS...)
If the it were milli-dps, it's a good result, since the sensitivity is 4.375 mdsp/LSB for FS = 250dps, from the datasheet, p9.
If it were dps, these could be a little high values considering that the typ ZRL is ±1dps. Are you sure you are not picking the table on which your device is, for any reason? The gyroscope is very sensible to little shocks, that may not be perceived by the human being.
-Eleon
2020-11-25 04:21 PM
Hi,
Gyroscope Y axis means mdps.
Gyro is configured like below
Time to time, Spikes get bigger(more than +-100mdps).
In my SW, sleep mode is configured too.
After replacing one function, problem is fixed.
I guess that Power down and ODR OFF might be same. Is there a difference?
2020-11-26 05:00 AM
Hi @Community member ,
glad that you solved your issue!
>> I guess that Power down and ODR OFF might be same. Is there a difference?
Yes, you are right. ODR = 000bin and Power down are the same condition.
For completeness, the gyroscope is capable of a mode intermediate between the low power and the power down, i.e. the Sleep mode. As explained in the app note AN5272, p.18 : "While the gyroscope is in Sleep mode the circuitry that drives the oscillation of the gyroscope mass is kept active. Compared to gyroscope Power-Down, turn-on time from Sleep mode to Low-Power/Normal/High-Performance mode is drastically reduced. If the gyroscope is not configured in Power-Down mode, it enters in Sleep mode when the Sleep mode enable (SLEEP_G) bit of CTRL4_C register is set to 1, regardless of the selected gyroscope ODR".
-Eleon