Tifenn Rault
2013-08-26 14:57:44 UTC
Hello,
I am using Shimmer2 and I would like to sample the accelerometer at a
different rate than the gyroscope (e.g.: Accelerometer at 100 Hz and
Gyroscope at 50Hz).
In order to do this, is it correct to reset the shimmerAnalogSetup
before every sample, then add the corresponding channels (using either
addAccelInputs or addGyroInputs) and finally trigger the conversion and
get the values in DMA0.transferDone.
The objective to sample at different rates is to save energy through
adaptive sampling and to be able to enable/disable the gyroscope
dynamically independently of the accelerometer. Is it still efficient to
reset the shimmerAnalogSetup configuration before every sample?
Thank you for your help.
Tifenn
I am using Shimmer2 and I would like to sample the accelerometer at a
different rate than the gyroscope (e.g.: Accelerometer at 100 Hz and
Gyroscope at 50Hz).
In order to do this, is it correct to reset the shimmerAnalogSetup
before every sample, then add the corresponding channels (using either
addAccelInputs or addGyroInputs) and finally trigger the conversion and
get the values in DMA0.transferDone.
The objective to sample at different rates is to save energy through
adaptive sampling and to be able to enable/disable the gyroscope
dynamically independently of the accelerometer. Is it still efficient to
reset the shimmerAnalogSetup configuration before every sample?
Thank you for your help.
Tifenn