Hi mgchoi,
Please note that the product BMA455 is in PDN (Product Discontinuation Notice) period and check with your corresponding distributers regarding the product availability. We recommend you use BMA456 in your project.
For BMA456, there was any motion example code on github for your reference. https://github.com/BoschSensortec/BMA456-Sensor-API/blob/master/bma456_examples/motion/motion.c
Any motion is one of the features in BMA456, you can see how any motion is configured from the function bma456_feature_enable().
... View more