2018-02-18 09:16 PM
Hey,
I am running a sample code for STM32L476RG-SensorTile. In the MotionFX_Manager.h library I found : #define SAMPLE_PERIOD ((uint8_t)10) /* [ms] */.
Can any one please tell me what is this about? Is it the about the number data packets that we are sending?
Please see the image attached below.
2018-02-20 05:25 AM
The define is used in function related to magnetometer calibration which is part of the MotionFX library.
But basically, the data are read from the sensor and passed to the sensor fusion library each 10ms, which means 100Hz update rate.