Please tell me how to calculate the step count, distance,speed,calories. On the basis of X,Y,Z Values..
It is not so easy, but as start you should use our Pedometer (MotionPM) or Pedometer for wrist devices (MotionPW) libraries which are available in X-CUBE-MEMS1 package.
These libraries are able to count steps based on accleration data, then you can multiply the step count by average step lenght and get disctance, similarly the speed.
Retrieving data ...